Hi, I have placed BO for BEML from Python API(AutoTrade), but it sold of immediately at 1139 due to trigger price. I am sure i had given all BO parameters correctly like, buy price 1139, Qty 20, Squareoff_Value 18, Stoploss_Value 27.0, Trailing_Stoploss 1, Trigger_Price None. Could you please let me know if it was due to API issue in placing BO order or something else?
Thanks Nikhil, but what did you mean by "Having this checked."? I have extracted the order detail of above BO Orderid:170109000118650, and looking to trades it seems there was issue in kite API which placed only two trades(BUY and SELL), where as it should have placed three trades(BUY , SELL, stoploss trigger). Please let me know if my understanding is correct. If so please look into the issue with your Python API.
Thanks a lot Sujith for reply.
Actually confusion is happening due to product as BO in get order().
One more thing for BO order we need to change order_variety = 'bo'.
That worked for me.
Again thanks.
Thanks a lot Sujith for reply.
Actually confusion is happening due to product as BO in get order().
One more thing for BO order we need to change order_variety = 'bo'.
That worked for me.
Again thanks.
And they redirected here.
I have extracted the order detail of above BO Orderid:170109000118650, and looking to trades it seems there was issue in kite API which placed only two trades(BUY and SELL), where as it should have placed three trades(BUY , SELL, stoploss trigger).
Please let me know if my understanding is correct. If so please look into the issue with your Python API.
You have placed normal order with product as "BO". You should set product as "MIS" not "BO". Checkout example for bracket order here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
Actually confusion is happening due to product as BO in get order().
One more thing for BO order we need to change order_variety = 'bo'.
That worked for me.
Again thanks.
Actually confusion is happening due to product as BO in get order().
One more thing for BO order we need to change order_variety = 'bo'.
That worked for me.
Again thanks.