Im trying to create order /api/v3/order/test?symbol=XRPBTC&side=SELL&type=LIMIT&timeInForce=GTC&quantity=5&price=0.00002505×tamp=1608367596542&signature=c078ffa6ce3d85489382674854c0bdc79fb370d412958f46f4d9a0715e7dd226
And received error
{
code: -1104,
msg: “Not all sent parameters were read; read ‘8’ parameter(s) but was sent ‘9’.”
}
Hi, yes i resolved problem. I did send POST request and pass params in request body. Works fine. But query params doesnt work yet. Support cannot help me.
For POST, PUT, and DELETE endpoints, the parameters may be sent as a query string or in the request body with content type application/x-www-form-urlencoded. You may mix parameters between both the query string and request body if you wish to do so.
I have tried to reduce the commands to the required ones only, but no luck, I always get the error “Not all sent parameters were read; read ‘9’ parameter(s) but was sent ‘10’.” (replace 9 and 10 by n and n+1, depending on the number of parameters). What am I doing wrong? I have set the header Content-Type to application/x-www-form-urlencoded, API key is correct, checked all that more than once. The Rest API works for other commands, just /api/v3/order and /api/v3/order/test throw this error message. I would really like to know how to trade via API…
@aisling what an excellent find!!! Stupid me! Thank you so much, my hair will be eternally thankful that you prevented it from turning grey more than necessary.
Now I’m fighting a “LOT_SIZE” error when I want to sell all LSK in my account, but I hope that I’ll be able to solve that…