ccxws
ccxws copied to clipboard
Simultaneous trades + L2 subscription doesn't work on Gemini
Exchange Gemini
Subscription type Simultaneous L2 and trades subscription.
Describe the bug Trades and order book data come from the same subscription on the Gemini API. When you try to subscribe to both using ccxws, it will only work for one and the second one will stop receiving updates.
To Reproduce Steps to reproduce the behavior:
- Create a new Gemini client.
- Subscribe to btcusd trades.
- Subscribe to btcusd L2 updates.
Expected behavior Both subscriptions receive updates. Only one of them actually does.
my workaround for this was to just create two separate Gemini clients, one for order book data and another for trades