import logging
from kiteconnect import KiteTicker
logging.basicConfig(level=logging.DEBUG)
with open('api_key.csv', 'r') as file:
api_key_um = file.read()
with open('access_token.csv', 'r') as file:
access_token_um = file.read()
# Initia…
Are those AMO orders?
Yes
Are you placing it from the web or app?
Web
Have you added proper callback for order update in websocket?
Not sure what that means. If you're talking about
kws.on_order_update = on_order_update
then yes.
I tried it again…
I tried placing the order again and if the limit price is below ltp then the order is not getting executed automatically. Otherwise it is getting placed immediately (as a market order I guess?).
> Are you giving price below or above ltp?
Above ltp. ltp at that time was hovering around 125.4
> Can you give orderbook response here?
Where do I find it?