contek-io / io.contek.invoker

MIT License
39 stars 26 forks source link

Bybit linear open_interest should be Double #72

Open norbert-gaulia opened 1 year ago

norbert-gaulia commented 1 year ago

io.contek.invoker.bybitlinear.api.websocket.market.InstrumentInfoChannel.InstrumentInfo fields open_interest

and other volumetric values should be Double, otherwise you will see notional value change in one unit of base currency (1 Bitcoin for example), Contracts in linears are expressed in coin fractions (Satoshis for BTC)

For both Linear and Inverse prices prev_price_24h_e4 etc, should be in Double too, most of the contracts tick size is not equal to 1.

Thanks