DigitalRuby / ExchangeSharp

ExchangeSharp is a powerful, fast and easy to use .NET/C# API for interfacing with many crypto currency exchanges. REST and web sockets are supported.
https://www.digitalruby.com
MIT License
741 stars 374 forks source link

BitFinex: TickerSocket throws exceptions #809

Open jacobdeboer33 opened 1 year ago

jacobdeboer33 commented 1 year ago

When I'm using the tickersocket, I'm constantly seeing exceptions:

System.ArgumentException HResult=0x80070057 Message=Splitting Bitfinex symbol 'LYMUSD' with symbol separator ':' must result in at least 2 pieces. Source=ExchangeSharp StackTrace: at ExchangeSharp.ExchangeAPI.OnSplitMarketSymbolToCurrencies(String marketSymbol) at ExchangeSharp.ExchangeAPI.d74.MoveNext() at ExchangeSharp.ExchangeAPIExtensions.d6.MoveNext() at ExchangeSharp.ExchangeBitfinexAPI.d__52.MoveNext()

This exception was originally thrown at this call stack: ExchangeSharp.ExchangeAPI.OnSplitMarketSymbolToCurrencies(string) ExchangeSharp.ExchangeAPI.ExchangeMarketSymbolToCurrenciesAsync(string) ExchangeSharp.ExchangeAPIExtensions.ParseTickerAsync(ExchangeSharp.ExchangeAPI, Newtonsoft.Json.Linq.JToken, string, object, object, object, object, object, object, ExchangeSharp.TimestampType, object, object, object) ExchangeSharp.ExchangeBitfinexAPI.ParseTickerWebSocketAsync(string, Newtonsoft.Json.Linq.JToken)