Hi,
when I use the quantity parameter with my Stop order it works well.
But I need to set the Stop order without quantity and closePosition: true.
No matter which combination I try to send this parameter it doesn’t work, the stop order won’t be executed.
params_stop = {
“symbol”:symbol,
“side”: “SELL”,
“type”: “STOP”,
“price”: SLprice,
“timeInForce”: “GTC”,
“stopPrice”: SLstop,
“closePosition”: “true”,
}
I tried all combinations with type: “STOP”, “STOP_MARKET”, “closePosition”: true, "true, “True,”, True
What am I doing wrong?