roq-bitcoke#
Important
PLACEHOLDER! This gateway is in early development.
Links#
Purpose#
Maintain network connectivity with the Bitcoke exchange
Route exchange updates to connected clients
Route client requests to the relevant exchange accounts
Stream all messages to an event-log
Overview#
Products
Spot |
✓ |
Futures |
✓ |
Options |
Market Data
Reference Data |
✓ |
Market Status |
|
Top of Book |
|
Market by Price (L2) |
✓ |
Market by Order (L3) |
|
Trade Summary |
✓ |
Statistics |
✓ |
Order Management
Create |
✓ |
Modify |
✓ |
Cancel |
✓ |
Cancel All |
|
Auto Cancellation |
Account Management
Positions |
✓ |
Funds |
Data center located in: TBD
Conda#
$ conda install \
--channel https://roq-trading.com/conda/stable \
roq-bitcoke
$ cp $CONDA_PREFIX/share/roq-bitcoke/config.toml $CONFIG_FILE_PATH
# Then modify $CONFIG_FILE_PATH to match your specific configuration
$ roq-bitcoke \
--name "bitcoke" \
--config_file "$CONFIG_FILE_PATH" \
--client_listen_address "$UNIX_SOCKET_PATH" \
--metrics_listen_address "$TCP_LISTEN_PORT" \
--flagfile "$FLAG_FILE"
Config#
Flags#
$ roq-bitcoke --help
Environments#
# flagfile
--rest_uri=https://api.bitcoke.cc
--ws_market_uri=wss://api.bitcoke.cc/ws/market
--ws_trade_uri=wss://api.bitcoke.cc/ws/trade
Market Data#
Event |
Stream |
Messages |
Comments |
---|---|---|---|
MarketData |
/api/depth/depth |
||
MarketData |
/api/depth/depth |
||
MarketData |
/api/kLine/tradeStatistics |
Event |
Stream |
Messages |
Comments |
---|---|---|---|
Rest |
/api/basic/refData |
||
Statistics#
TBD
Order Management#
Event |
Stream |
Messages |
Comments |
---|---|---|---|
Event |
Stream |
Messages |
Comments |
---|---|---|---|
Event |
Stream |
Messages |
Comments |
---|---|---|---|
Event |
Stream |
Messages |
Comments |
---|---|---|---|
Order Types#
TBD
Time in Force#
TBD
Position Effect#
TBD
Execution Instructions#
TBD
Account Management#
Event |
Stream |
Messages |
Comments |
---|---|---|---|
Event |
Stream |
Messages |
Comments |
---|---|---|---|
Streams#
Type |
Comments |
---|---|
REST |
Primary purpose
|
Type |
Comments |
---|---|
WebSocket |
Primary purpose
Each connection
|
Comments#
General
The API doesn’t look like it’s ready for full automation
Rest
No obvious end-point to ping
Market data
Some subscriptions do not differentiate by having an “event” field. (mark price, index price, …)
Depth update doesn’t include snapshot/incremental flag. This makes it difficult to resubscribe and latch updates.