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
Kraken submit response #654
Comments
Hello and thank you for trying out GoCryptoTrader! Those fields that you are showing as 0 are not always populated, and as highlighted in the documentation, are not used with Kraken. They are there because they can be populated in other exchanges. Since you are placing market orders, I would suggest using the wrapper function Let me know if that resolves or helps your issue, otherwise we can investigate further. |
Thanks a lot for the wrapper function. I contacted Kraken about the withdrawal details. Selling works. Surely I do something wrong or could be replaced with a wrapper function
Response
which leads to this function
|
I'm trying to sell USDT on EUR on kraken with this code. It works, it does do the job but yet the submit response seems to be wrong or empty.
So it's hard to confirm if my order actually went through. Not sure if this is a known issue or I do something wrong here
in main I use
fmt.Printf("Match %s rate %f with a fee of %f and cost of %f\n", strconv.FormatBool(resp.FullyMatched), resp.Rate, resp.Fee, resp.Cost)
Current Behavior
Current EUR balance is 1130.780900
Current USDT balance is 75.000000
Selling 10.000000 USDT
Match false rate 0.000000 with a fee of 0.000000 and cost of 0.000000
Current EUR balance is 1139.242900
Expected Behavior
At least match true
I might be doing something wrong I think?
OS: Arch Linux
Kernel: x86_64 Linux 5.11.9-arch1-1
Shell: zsh 5.8
Any tips on how to handle stuff better are welcome. I don't code often and self-taught
The text was updated successfully, but these errors were encountered: