-
Notifications
You must be signed in to change notification settings - Fork 90
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
Located bug in ListenUserDataEndpoint #56
Comments
Another item cropped up now that it mostly works:
A member with the name 't' already exists on 'Binance.API.Csharp.Client.Models.WebSocket.AccountUpdatedMessage' There's a typo here on AccountUpdatedMessage:
One needs to be upper case... I can fix that on my end as well. |
Fuck me. It gets even worse. I've mostly fixed the deserialize issues, but now the JSON converter can't tell the difference in Case-sensitivity, so t and T, c and C, don't always work right... This is a nightmare. Instead of "o":"MARKET", I get "O":-1 half of the time. So Type = -1, and not MARKET, like it should. The English in the above link is shit, but they closed the case without fixing it for performance reasons apparently. :( This whole Binance API is turning into a massive nightmare. As it stands now, this entire code project is basically unusable. I'll have to finish this later. |
The switch statement doesn't work because eventData.e isn't being cast to a string.
I ran through the code in debug mode and was able to confirm changing this:
switch (eventData.e)
to this:
switch ((string)eventData.e)
made the switch statement properly evaluate and the event handlers will now fire.
The text was updated successfully, but these errors were encountered: