-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Invalid Arguments when placing an order #3
Comments
I think this error is because Starttime and expire time are DateTimes, but kraken actually handles UnixTicks only. Which is a 'long' variable: To convert: Could you see if this is the problem with ordering ? |
Hi, sorry for the delay. I'm not sure what the issue is, can you try turning on Debug logging? The start/expire time are converted to seconds in the implementation, so that's not the problem. |
The response after setting verbose debug is:
|
Hi, thanks for the info. I've found the issue, extra quotes we're added during serialization. I've fixed it in version 0.0.4, should be available in a few minutes. |
I'll check it out. |
There is a new error:
I think it's because the decimal point is translated into a comma. cheers |
Hi, sorry it took a little while, was busy with new releases. I've pushed version 1.0.0 for Kraken, it should resolve your issues. |
Thanks for fixing it :) |
It still does not look right, but it's getting there
I do not create an order at Kraken, and no OrderID is returned. So i think it's a "dummy" order. Note that Success is set to true, and ResponceStatusCode is OK. |
Hm when validate isn't specified it should work though right? Seems when validate=False is send it still counts as a test order, but if you omit it it posts a real order. |
When i set validate to null then i see:
And the respsonse is:
So that doesn't look good |
Invalid nonce, thats odd. The nonce should be an ever increasing number. Kraken.Net uses the current time as reference so it's always higher than the last. Have you maybe once send a higher nonce using your own code or another library maybe? If you've send a higher nonce before, the lower once generated from Kraken.Net won't work anymore. |
I didn't have time earlier to check out if it works. Also did you know, that Kraken.com now supports websocket for ordering ? |
Great |
When i'm placing an order using this function:
I'm getting
as an error.
I'm not sure what to change, i'm not sure if it's a bug or i'm in the wrong.
Thanks in advance, and loving your API wrapper.
The text was updated successfully, but these errors were encountered: