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

GetInstrumentsAsync missing variables #7

Closed brightb1ue closed 1 year ago

brightb1ue commented 1 year ago

{"alias":"","baseCcy":"","category":"1","ctMult":"1","ctType":"inverse","ctVal":"100","ctValCcy":"USD","expTime":"","instFamily":"BTC-USD","instId":"BTC-USD-SWAP","instType":"SWAP","lever":"125","listTime":"1611916828000","lotSz":"1","maxIcebergSz":"100000000.0000000000000000","maxLmtSz":"100000000","maxMktSz":"10000","maxStopSz":"10000","maxTriggerSz":"100000000.0000000000000000","maxTwapSz":"100000000.0000000000000000","minSz":"1","optType":"","quoteCcy":"","settleCcy":"BTC","state":"live","stk":"","tickSz":"0.1","uly":"BTC-USD"}

Some variable are missing when using GetInstrumentsAsync. maxIcebergSz, maxLmtSz, maxMktSz, maxStopSz, maxTriggerSz, maxTwapSz

Could you add those variables?

burakoner commented 1 year ago

Fixed in https://github.com/burakoner/OKX.Api/commit/7ce8234eeda11ba61241da68d2dce5efdf1e7796 and https://www.nuget.org/packages/OKX.Api/1.0.6