dmikushin / binance-cxx-api

Binance Bincoin Exchange C++ API
MIT License
64 stars 42 forks source link

Added get MinNotional & possible fix for 24 hours wsi-timeout scheduling validity check #13

Closed mussonero closed 4 years ago

mussonero commented 4 years ago

Added get MinNotional and possible fix for 24 hours wsi-timeout scheduling validity check.

mussonero commented 4 years ago

But why should not we check ws for an empty response and restart automatically if it is the case? - This sounds to me like a more straight-forward logic.

I agree again with you regarding checking wsi for an empty response . But at the moment i set up in my program to restart automatically when websocket::enter_event_loop(24 hours) exiting the loop, and it seems works fine for now :), since we already knows it will be closed.

dmikushin commented 4 years ago

Thanks a lot, let's move on for now - we can adjust the event loop behavior later.