While placing an market order, I want to set profit price as well in dhan.place_order

In dhan.place_order arguments, I want profitPrice argument.
This order will place at market value but will also place limit order to exit it at same time in same order.
When I want to exit later on, I will only exit market order and auto cancel limit order

FYI: In kite, We can add SL and Target in overnight order in same order while placing order

Hello @Vaibhav722

If you want to add target and stop loss leg while placing order, you can use BO as order type. Since APIs are built for integrations and fast execution, we have kept APIs to be simple with all order types.

You can easily build this at your end as well, with APIs as building blocks for this. You can handle these conditions at your end.

1 Like