Issue in tsl.cancel_all_orders()

Hi @Tradehull_Imran,

I made an observation regarding the ‘tsl.cancel_all_orders()’ function. If my executed trade quantity exceeds the freeze limit of 1800 in a Nifty option e.g. 2025 quantity, the function does not work and fails to cancel the open intraday trades.

I am using the code base Dhan-Tradehull 3.0.6 and dhanhq 2.0.2

Note: I do not use the order slicing function; however, I execute multiple orders in batches of 1800 quantity each.

Hi @nishant.k.verma ,

Thanks for bringing this up. @Tradehull_Imran may be able to assist here

Is there any update on this issue?

Hey @nishant.k.verma ,

@Tradehull_Imran please assist here.

Hi @nishant.k.verma ,

Since the orders have multiple order ID’s you may need to pass all orders individually. Let me know if you face any challenges.

1 Like