bybit¶
roq-bybit
Warning
Work in progress. Please contact us, if you want to use this gateway.
Environments¶
Production¶
Connection |
URI |
Comment(s) |
---|---|---|
REST |
|
Akamai |
WebSocket |
|
Amazon Cloudfront |
- Data center
Singapore (to be confirmed)
Installation¶
Conda¶
Install
conda install -y roq-bybit
Configuration
cp $CONDA_PREFIX/share/roq-bybit/config.toml $CONFIG_FILE_PATH
# then modify $CONFIG_FILE_PATH to match your specific configuration
Using
roq-bybit \
--name "bybit" \
--config_file "$CONFIG_FILE_PATH" \
--client_listen_address "$UNIX_SOCKET_PATH" \
--metrics_listen_address "$TCP_LISTEN_PORT" \
--rest_uri "$REST_URI" \
--ws_uri "$WS_URI"
Flags¶
Only notable flags are mentioned here.
Please refer to roq-bybit --help
for all flags.
- --cancel_on_disconnect
The Logon FIX message can be used to instruct the exchange to automatically cancel all orders if a disconnect has been detected.
Implementation¶
Restrictions¶
Incoming Events¶
Event |
Connection |
Message(s) |
Comment(s) |
---|---|---|---|
ReferenceData |
|||
MarketStatus |
|||
TopOfBook |
|||
MarketByPrice |
|||
MarketByOrder |
|||
TradeSummary |
|||
SessionStatistics |
|||
DailyStatistics |
|||
OrderAck |
|||
OrderUpdate |
|||
TradeUpdate |
|||
PositionUpdate |
|||
FundsUpdate |
Outgoing Events¶
Event |
Connection |
Message(s) |
Comment(s) |
---|---|---|---|
CreateOrder |
|||
ModifyOrder |
|||
CancelOrder |