the above order executed at 1278.85 and squaredoff at 1278.4
where as orders placed directly from kite were waiting to hit either stop_loss or squareoff_value , but orders placed from kiteconnect were being squared off immediately after order execution. please resolve.
I raised the ticket also but got very pathetic reply : Your reply to support request #523355 has been received. We will get back to you shortly. following was their reply " Please note that Bracket Orders are algorithmic orders which are executed based on a logic created in the software. This is just the way the system works for safety on a highly leveraged product."
Response Code : 200 {"status": "success", "data": {"order_id": "161007000075428"}} but order squared off @ 263.05 . It should not squaredoff until either of the lmits have hit which I intentinaly placed @20 on each side
@sunil55tyagi I checked our logs and it seems that you are placing normal order and not BO. You are making POST request to /orders/ which ideally should be /orders/bo for placing BO orders. Please check the documentation here for order placing.
@vivek thank you vivek, Please tell me one more thing when I get the order status/details if the order type BO the response does not contain what were the stoploss_value and squareoff_value , Which I posted along with the order earlier
I too have the same issue, the order gets squared off immediately. I'm passing all values as explained by sunil. but I'm using the python client. I mention product type as BO. am I missing anything else.
Your reply to support request #523355 has been received. We will get back to you shortly.
following was their reply
" Please note that Bracket Orders are algorithmic orders which are executed based on a logic created in the software. This is just the way the system works for safety on a highly leveraged product."
email id : [email protected]
app name : sunil_kite_connect
Response Code : 200 {"status": "success", "data": {"order_id": "161007000075428"}}
but order squared off @ 263.05 .
It should not squaredoff until either of the lmits have hit which I intentinaly placed @20 on each side
rather ignoring them.
/orders/
which ideally should be/orders/bo
for placing BO orders. Please check the documentation here for order placing.thank you vivek,
Please tell me one more thing when I get the order status/details
if the order type BO the response does not contain what were the stoploss_value and squareoff_value ,
Which I posted along with the order earlier
I too have the same issue, the order gets squared off immediately. I'm passing all values as explained by sunil. but I'm using the python client. I mention product type as BO. am I missing anything else.
Thanks in advance.
Nilesh
/orders/bo
with the required fields.Thanks a lot. that worked. There were 2 arguments which were not passed.
Variety="bo" and Validity="DAY"
Once these were passed. it worked perfectly.
Thanks again.