thanks, how can I get 3 mins ,5 mins, 15 mins .. candle high, low, close etc of a sticker in real-time. I think kite.quote only give us live streaming data in fraction of second.
suppose I have placed a bulk order let's say 10000, 20000. then execution of order take some time to get it fully executed. kite.orders() gives us the live order status. for example : - I placed an order scrip_name = SBIN position =20000
got an order id =12242424442 assumption this order is not fully executed @ the time of calling kite.orders()
Now, I call kite.orders(), what shall I get, how to track that my order is fully executed or not . shall I get sub_order_ids for my order_id which is not completely executed in kite.order() return.
print(check_order_placement([266561856195, 8546416416341561]))
{orderid1>: True/False, orderid2, ............}
Enjoy!
To get simple ohlc info, you can use kite.quote([stock1:exchange_name, stock2_exchange_name...])
for example : -
I placed an order
scrip_name = SBIN
position =20000
got an order id =12242424442
assumption this order is not fully executed @ the time of calling kite.orders()
Now, I call kite.orders(), what shall I get, how to track that my order is fully executed or not .
shall I get sub_order_ids for my order_id which is not completely executed in kite.order() return.
print(kite.orders())
or
for order in kite.orders():
print(order)
You'll be able to see all the details that you see in the kite website, including the number of stocks left from your order, etc