Download | Wiki

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


#1

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

The pastebin error: https://pastebin.com/xVRx8evL
Config: https://pastebin.com/KPGGThZj

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 !


#2

Hi @Pintax

I released a fix for this about an hour ago. https://github.com/mehtadone/PTFeeder/releases/tag/pt-feeder-v1.7.1.1513

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


#3

It’s ok now, Thanks,