Skip to content

Value cannot be null error #23

Description

@notdanilo

Reported by haas.

Our price tracker, which manually requests the last trades and orderbook each 20seconds or so, is working. But each eve we get exceptions for 1-2 hours or so and then it suddenly continues normally again.
Our price socket, which is real-time based, is not working. We subscribe to all the markets and we get errors like listed below at random.
Value cannot be null. (Parameter 's')
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at OpenLimits.Trade..ctor(String id, String buyerOrderId, String sellerOrderId, String marketPair, String price, String qty, String fees, Side side, Liquidity liquidity, UInt64 createdAt)
at OpenLimits.FFITrade.ToTrade()
at OpenLimits.ExchangeClient.onTradesHandler(UInt64 tradeBuffLen, IntPtr marketStr)
Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at OpenLimits.ExchangeClient.onOrderbookHandler(UInt64 bidActualValueLen, UInt64 askActualValueLen, IntPtr marketStr, UInt64 lastUpdateId, UInt64 updateId)

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions