-
Notifications
You must be signed in to change notification settings - Fork 798
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
The C# API connector return an error #184
Comments
The method GetNonce() have an issue (maybe) |
if someone from bitmex can update this OFFICIAL api connector |
I'm having the same problem, just downloaded latest version too |
This worked for me:
Although I only just started with my Bitrex account but when I run the swample code to retrieve orders I get [] which is better than the error I did get :-) |
|
this work also thanks: |
`
` |
This should be fixed in master. |
Newtonsoft.Json.JsonSerializationException: "Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[BitMEX.Position]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path 'error', line 1, position 9." public List GetOpenPositions(string symbol) pls help me |
Hello,
The C# API connector have an issue:
{"error":{"message":"Nonce must be a valid number and below 2^53. You sent: 9012932817249180.","name":"HTTPError"}}
I already change my API key and no Typo
Thanks for any help
The text was updated successfully, but these errors were encountered: