Closed thunderquiet closed 3 years ago
hi,
I'm not sure if I understood you correctly... please explain.
According to the documentation: https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
The stream supports depth
and update frequency
parameters. ex: <symbol>@5@100ms
. If I try appending those to the symbol string in my code, I get back nothing, so presumably those need to be passed in some other way?
Thank you for helping out.
Thanks for the tips. Created PR - https://github.com/niXman/binapi/pull/27
Not sure if it makes sense to make the parameter enum instead of size_t to enforce valid values. For example if user provides 600
they will get back nothing.
great, thanks!
but two points.
1) have you checked which values are correct? 100/250/500/1000 ? 2) yes I think be better to add enum.
Hi,
How would I provide parameters to the WebSocket routes? For example, in the depth calls I would like to specify the depth and update speed.
Thank you.