Take profit example using python please

Hello @saisaigraph

You can reach out to our support team at help@dhan.co, or any of our official customer support channels for resolution to your queries. As you may know, this is an open community and threads might get lost - refer to community guidelines.

We try our best to check every open thread but some might get missed or unaddressed, or there might be other community members who might reply to it. Apologies from my side to have missed this particular topic.


On your query, this is occurring as you are placing limit order for both buy and sell. It might happen that your Buy order is not matched (as the ask is higher than the limit price) and later the Sell order gets executed (due to price matching).