Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value cannot be null error #23

Open
notdanilo opened this issue May 24, 2021 · 0 comments
Open

Value cannot be null error #23

notdanilo opened this issue May 24, 2021 · 0 comments

Comments

@notdanilo
Copy link
Contributor

notdanilo commented May 24, 2021

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)

@notdanilo notdanilo changed the title Value cannot be null Value cannot be null error May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant