Hi,
I’m using Delta Exchange API and want to place a Stop Market Order with both Stop Loss (SL) and Target (TP).
I couldn’t find any example in the docs. Can someone help me with the correct way to do this?
Thanks in advance!
Hi,
I’m using Delta Exchange API and want to place a Stop Market Order with both Stop Loss (SL) and Target (TP).
I couldn’t find any example in the docs. Can someone help me with the correct way to do this?
Thanks in advance!
Hi,
You can use the place order api: Delta Exchange Api
With the body param stop_order_type
. The values can be stop_loss_order
and take_profit_order
.
I can place stop market order like this. But how can I set stop loss and target?
Below params are for the same for stop loss and take profit limits.
stop_trigger_method
bracket_stop_loss_limit_price
bracket_stop_loss_price
bracket_trail_amount
bracket_take_profit_limit_price
bracket_take_profit_price