burakoner / Bybit.Api

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

Mismatch data type in instrument description model #5

Closed dnmsk closed 7 months ago

dnmsk commented 9 months ago

BybitSpotInstrumentLotSizeFilter

There is unclear description in market Bybit api for instrument type, but in response example it is decimal for spot.

https://bybit-exchange.github.io/docs/v5/market/instrument#response-parameters

>> basePrecision    string  The precision of base coin
>> quotePrecision   string  The precision of quote coin

https://bybit-exchange.github.io/docs/spot/public/instrument#response-parameters

> basePrecision string  Decimal precision (base currency)
> quotePrecision    string  Decimal precision (quote currency)
burakoner commented 7 months ago

Fixed in new version. Thank you very much