JKorf / Binance.Net

A C# .netstandard client library for the Binance REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Binance.Net/
MIT License
1.02k stars 420 forks source link

GetKlinesAsync() in Futures API not returning precise results. #1313

Closed edmondhasanaj closed 6 months ago

edmondhasanaj commented 8 months ago

Hello, I am using BinanceRestClientUsdFuturesApiExchangeData.GetKlinesAsync() to retrieve the candlestick data of AXSUSDT.P in 1m TF. The data seems however to have precision problems. All candles have only two decimals after commas for open/close/high/low price, making the data almost useless.

For example, this is a sample result from the API: AXSUSDT.P: high = 4.74, low = 4.74, close = 4.74, open = 4.74. If we see in binance/tradingview, AXSUSDT.P has 3 decimals after comma, and the real price is something like: 4.738.

Am I doing something wrong, or is this a bug? Thank you very much in advance