Hey there,
When i try to execute trailing stop order, i will get an error code 4013x (Price less than min price.).
And i get this error from every coin.
This is my execution code;
$executeTA = $exchange->createOrder($symbol, ‘TRAILING_STOP_MARKET’, $position, $quantity, $entryPrice, $params);
$params = array (
'callbackRate'=> $trailingStop,
'workingType'=> 'MARK_PRICE',
'activationPrice'=> $activationPrice,
'reduceOnly'=> 'true',
'timeInForce' => 'GTC',
'marginType' => 'ISOLATED'
);
EntryPrice is last price of the coin.
Activation price = entryPrice*1.002
Trailing stop = 0.3
What is wrong with my code?
Thanks a lot!