roq-trading / roq-issues

Issue tracker for Roq's software solutions.
https://roq-trading.com/
1 stars 0 forks source link

[roq-binance-futures] Support COIN-M #147

Closed thraneh closed 2 years ago

thraneh commented 2 years ago

API and end-points are different than USD-M.

This means that it's a different gateway, as a minimum, a different instance of a gateway.

Investigation is needed to understand the differences between the USD-M and COIN-M API's.

thraneh commented 2 years ago

The API's are sufficiently similar to make this (mostly) a configuration issue.

These are the flags to use for prod

USD-M (default)

--api=fapi                                                                                                          
--rest_uri=https://fapi.binance.com                                                                                 
--ws_uri=wss://fstream.binance.com/ws  

COIN-M

--api=dapi                                                                                                          
--rest_uri=https://dapi.binance.com                                                                                 
--ws_uri=wss://dstream.binance.com/ws      
thraneh commented 2 years ago

Basic account and order management APIs have also been tested with COIN-M.

We need live order placement to verify remaining functionality.

Will close this issue for now.

thraneh commented 2 years ago

This is also useful