I was trying to test live python API. I did following two tests: (i) Called kite.order_place with price=3200 ( I am trading in commodity) LIMIT Sell The trade was successful at CMP, if I check order details it gives OrderType as LIMIT and executed at market price. (ii) Called kite.order_place with price=3200 with (only modified quantity)quantity=10000 ( I was not having sufficient margin) . This trade was rejected with proper values OrderType = LIMIT and price=3200??
If that was the case then why it got rejected when I placed trade able quantity but I was not having sufficient funds. I modified SL value and price to higher value in the modify order.
Please correct this. I am scared order_place and modify_order API is not working for SL values. order_place didnt worked properly when I gave stoploss_value, squareoff_value for Limit order( i.e. Bracket Order).
Hi @MadhuSingh, Bracket orders are not allowed for commodity exchange. Same APIs are being used on all our platforms and it is working fine. Please check out examples.
Hi @MadhuSingh, Whichever client(library) you use for Kite Connect, params to be passed are same. You can check out python documentation here and call APIs using same params as demonstrated in those examples.
Can you private message order id? We will check and get back to you.
It seems like you have placed the order and then modified it to the price at which it got executed.
I modified SL value and price to higher value in the modify order.
I am scared order_place and modify_order API is not working for SL values.
order_place didnt worked properly when I gave stoploss_value, squareoff_value for Limit order( i.e. Bracket Order).
Bracket orders are not allowed for commodity exchange.
Same APIs are being used on all our platforms and it is working fine. Please check out examples.
For BO orders charges have been imposed?
Whichever client(library) you use for Kite Connect, params to be passed are same.
You can check out python documentation here and call APIs using same params as demonstrated in those examples.