Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bybit linear open_interest should be Double #72

Open
norbert-gaulia opened this issue Jan 29, 2023 · 0 comments
Open

Bybit linear open_interest should be Double #72

norbert-gaulia opened this issue Jan 29, 2023 · 0 comments

Comments

@norbert-gaulia
Copy link
Contributor

norbert-gaulia commented Jan 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant