You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suddenly the Get24HourStatisticsAsync function is not working and throwing this exception
in BinanceApi.c Line 321
{"SymbolStatistics: price must not be less than 0.\r\nParameter name: weightedAveragePrice"}
The json data seems to there, so there is data returned and is valid.
The exception is thrown at BTTBTC and BTTUSDT symbol for which the weightedAveragePrice is -0.00000052
Also volume for BTTBTC and BTTUSDT symbol is less than 0 which also causes an exception
I don't think that an invalid value for a single symbol should fail the entire Get24HourStatisticsAsync function, maybe it needs to be changed. Binance never added a new trading pair with invalid values until now, but it seems that it can happen.
The text was updated successfully, but these errors were encountered:
exception isBinanceApi.Get24HourStatisticsAsync failed to parse JSON api response: "{"symbol":"BTTUSDT","priceChange":"-0.00000090","priceChangePercent":"-0.092","weightedAvgPrice":"-0.00119061","prevClosePrice":"0.00097750","lastPrice":"0.00097660","lastQty":"268686.00000000","bidPrice":"0.00097520","bidQty":"268663.00000000","askPrice":"0.00097670","askQty":"407048.00000000","openPrice":"0.00097750","highPrice":"0.00116500","lowPrice":"0.00094500","volume":"-85492386110.09551616","quoteVolume":"101788041.84361580","openTime":1549943621556,"closeTime":1550030021556,"firstId":1402731,"lastId":1591951,"count":189221}"
Suddenly the Get24HourStatisticsAsync function is not working and throwing this exception
in BinanceApi.c Line 321
{"SymbolStatistics: price must not be less than 0.\r\nParameter name: weightedAveragePrice"}
The json data seems to there, so there is data returned and is valid.
The exception is thrown at BTTBTC and BTTUSDT symbol for which the weightedAveragePrice is -0.00000052
Also volume for BTTBTC and BTTUSDT symbol is less than 0 which also causes an exception
I don't think that an invalid value for a single symbol should fail the entire Get24HourStatisticsAsync function, maybe it needs to be changed. Binance never added a new trading pair with invalid values until now, but it seems that it can happen.
The text was updated successfully, but these errors were encountered: