crypto-chassis / ccapi

A header-only C++ library for interacting with crypto exchanges. Bindings for Python, Java, C#, Go, and Javascript are provided.
https://discord.gg/b5EKcp9s8T
MIT License
582 stars 201 forks source link

bitget subscribes to the ORDER_UPDATE channel for question #414

Closed dongpuxiao closed 1 year ago

dongpuxiao commented 1 year ago

Hello, after testing, when the bitget market subscribes to the ORDER_UPDATE channel, if an order change event is triggered, the message will not be pushed and will be adjusted, but the gate and huobi do not have this problem. How to solve it?

cryptochassis commented 1 year ago

Thanks a lot for reporting. We've found the root cause and have verified that we can successfully subscribe to bitget spot for ORDER_UPDATE. The fix is in https://github.com/crypto-chassis/ccapi/pull/417 which will be merged once it passed all tests.

dongpuxiao commented 1 year ago

Hello, it seems that the subscription can return success for the first time, but when the order is completed and the event is triggered, the subscription order data will still not be actively pushed. Please confirm whether this problem exists, thank you

cryptochassis commented 1 year ago

Please make sure that the symbol that you used does exist on the exchange. If it doesn't, you might observe that issue.