JKorf / Bybit.Net

A C# .netstandard client library for the Bybit REST and Websocket V5 API focusing on clear usage and models
https://jkorf.github.io/Bybit.Net/
92 stars 64 forks source link

Error getting orderbook for options #216

Closed NektoDron closed 3 months ago

NektoDron commented 3 months ago

for example, this request get error 26.06.2024 11:18:46 52 Exception:Deserialize JsonReaderException: Could not convert to integer: 20514192230. Path 'result.u', line 1, position 349., Path: result.u, LineNumber: 1, LinePosition: 349 https://[api.bybit.com/v5/market/orderbook?category=option&baseCoin=BTC&expDate=26JUN24&symbol=BTC-28JUN24-62000-C](https://api.bybit.com/v5/market/orderbook?category=option&baseCoin=BTC&expDate=26JUN24&symbol=BTC-28JUN24-62000-C)

I think this field should be long, not int

JKorf commented 3 months ago

You're right, I'll fix it

JKorf commented 3 months ago

Fixed in latest version