burakoner / OKX.Api

Up-to-date, most-complete, well-organized, well-documented, easy-to-use, multi-task and multi-thread compatible OKX Cryptocurrency Exchange Rest and Websocket Api Wrapper
MIT License
39 stars 15 forks source link

参数与批量订阅的问题 #16

Closed lrlr90 closed 1 year ago

lrlr90 commented 1 year ago

SubscribeToOptionSummaryAsync中 参数 填反了,应该 var request = new OkxSocketRequest(OkxSocketOperation.Subscribe, "opt-summary", underlying, string.Empty);

然后每一个ordbook需要开一个新连接,没有批量订阅渠道。 在订阅期权的时候就不适用,因为有几百个品种。

burakoner commented 1 year ago

This is related with OKX policies. You may write this issue to OKX Support. I'll also write to team that I already connected with as well.

burakoner commented 1 year ago

Please check version 1.1.7. https://github.com/burakoner/OKX.Api/commit/e1725262f5a688fdf19b2a97585484f913aca23b https://www.nuget.org/packages/OKX.Api/1.1.7 It's possible now.