Download | Wiki

System.ArgumentException: SymbolStatistics: price must not be less than 0


He, i have this error in the logs and I don’t see where it came from at all.

The pastebin error:

2019-01-31 20:04:58.413 +00:00 [Error] SubscribeSummaries initialization error Binance.BinanceApiException: BinanceApi.Get24HourStatisticsAsync failed to parse JSON api response: "[{"symbol":"ETHB

 ---> System.ArgumentException: SymbolStatistics: price must not be less than 0.
Parameter name: weightedAveragePrice

3. at Binance.SymbolStatistics..ctor(String symbol, TimeSpan period, Decimal priceChange, Decimal priceChangePercent, Decimal weightedAveragePrice, Decimal previousClosePrice, Decimal lastPrice, Decimal lastQuantity, Decimal bidPrice, Decimal bidQuantity, Decimal askPrice, Decimal askQuantity, Decimal openPrice, Decimal highPrice, Decimal lowPrice, Decimal volume, Decimal quoteVolume, DateTime openTime, DateTime closeTime, Int64 firstTradeId, Int64 lastTradeId, Int64 tradeCount)
at Binance.Serialization.SymbolStatisticsSerializer.DeserializeSymbolStatistics(JToken jToken)
at System.Linq.Enumerable.SelectIListIterator`2.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Binance.BinanceApi.Get24HourStatisticsAsync(CancellationToken token)
--- End of inner exception stack trace ---
at Binance.BinanceApi.Get24HourStatisticsAsync(CancellationToken token)
 at Exchanges.Implementations.Binance.BinanceWebsocketService.InitializeSummariesMethod()
. at Exchanges.Implementations.Websockets.ExchangeWebsocketServiceBase`1.InitializeSummaries()

2019-01-31 20:04:58.454 +00:00 [Error] Could not get all markets from Binance. Using an empty list. This probably won't work
2019-01-31 20:05:00.774 +00:00 [Warning] CMC BTC Dominance and market cap is disabled
2019-01-31 20:05:00.775 +00:00 [Warning] CMC BTC Dominance and market cap is disabled

Thanks !


Hi @Pintax

I released a fix for this about an hour ago.

Govt forward I’ll announce release on the feeder-support channel in the PT Discord.


It’s ok now, Thanks,