-2010 The relationship of the prices for the orders is not correct

I cannot seem to figure this out. I’m placing an OCO order for ETH. I am following the rules, Limit Price (0.032512) > Last Price (0.03096400) > Stop Price (0.029416). Am I missing something else?

You’ll notice my sell price is lower than the Last Price.

Endpoint: v3/order/oco

Params:
[symbol] => ETHBTC
[side] => SELL
[quantity] => 0.01
[recvWindow] => 60000
[price] => 0.030963
[stopLimitTimeInForce] => IOC
[stopPrice] => 0.029416
[stopLimitPrice] => 0.032512

SELL: Limit Price > Last Price > Stop Price

You’re confusing Limit Price with [stopLimitPrice] , but Limit Price is [price].

So, if Last Price (0.03096400) , you should be sending:

[side] => SELL
[price] => 0.032512 
[stopPrice] => 0.030963
[stopLimitPrice] =>  0.029416 (usually for SELL, [stopLimitPrice]  < [stopPrice] , since you want to have better chances of stopping your loss by selling lower than last/mark price )

or

[side] => SELL
[price] => 0.032512 
[stopPrice] => 0.029416
[stopLimitPrice] =>  0.030963