Hello @sujith ,
Following are the details:
Company : HIMATSEIDE
Date: 14th Feb
Time of try and retry: 09:15:14, 09:15:18, 09:15:21
I am attaching the required extract from the log file. I face this problem for most of my orders, but I am attaching…
I mean that the self.p_id was a valid input for the function call, and yet I received an exception: ''Couldn't find that `order_id` ''.
If the order_id is valid, why do I get an exception? Even if the order is not open and is in validation…
I checked my logs and there were no open orders. Can you please confirm the root of the error again?
Also, can you please dumb down the explanation in the previous comment with an example?
Thank you for the article but it does not solve my issue
I see that there is an error in the required margin calculation itself. If I do 1890.95 * 3 = 5672.85 and not 6042.65. Also, the message clearly suggests that the available margin is …
By sending an exit order I mean the following,
Event 1: I place a bracket order at market price (Rs. 100) with the stop loss (Rs. 90) and square-off price (Rs. 110).
Event 2: I check if the stock has fulfilled my exit criteria (…