Skip to content

BitFinex: TickerSocket throws exceptions #809

@jacobdeboer33

Description

@jacobdeboer33

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.d__74.MoveNext()
at ExchangeSharp.ExchangeAPIExtensions.d__6.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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions