However, I did not receive on_order_update() callback! Is it not invoked after market hours?
We just checked websocket order update for post market order and all status(open, complete,etc) is received fine. Find below-attached log for your reference
2020-09-2915:59:20+0530[-] order update:{'placed_by':'....','order_id':'...','exchange_order_id':'XXXX','parent_order_id':None,'status':'OPEN','status_message':None,'status_message_raw':None,'order_timestamp':'2020-09-29 15:59:20','exchange_update_timestamp':'2020-09-29 15:59:20','exchange_timestamp':'2020-09-29 15:59:20','variety':'regular','exchange':'BSE','tradingsymbol':'BHEL','instrument_token':128026372,'order_type':'LIMIT','transaction_type':'BUY','validity':'DAY','product':'CNC','quantity':1,'disclosed_quantity':0,'price':30.25,'trigger_price':0,'average_price':0,'filled_quantity':0,'pending_quantity':1,'cancelled_quantity':0,'market_protection':0,'meta_raw':None,'meta':{},'tag':None,'guid':'XXXXX','account_id':'XXXXX','unfilled_quantity':0,'app_id':1,'checksum':''} 2020-09-2915:59:20+0530[-] order update:{'placed_by':'....','order_id':'....','exchange_order_id':'....','parent_order_id':None,'status':'COMPLETE','status_message':None,'status_message_raw':None,'order_timestamp':'2020-09-29 15:59:20','exchange_update_timestamp':'2020-09-29 15:59:20','exchange_timestamp':'2020-09-29 15:59:20','variety':'regular','exchange':'BSE','tradingsymbol':'BHEL','instrument_token':128026372,'order_type':'LIMIT','transaction_type':'BUY','validity':'DAY','product':'CNC','quantity':1,'disclosed_quantity':0,'price':30.25,'trigger_price':0,'average_price':30.25,'filled_quantity':1,'pending_quantity':0,'cancelled_quantity':0,'market_protection':0,'meta_raw':None,'meta':{},'tag':None,'guid':'XXXXX','account_id':'XXXXX','unfilled_quantity':0,'app_id':1,'checksum':''}`
Can you re-check order update log at your end? Also, check if any time-constraint condition being put on order update.
on_order_update()
callback! Is it not invoked after market hours?Find below-attached log for your reference Can you re-check order update log at your end?
Also, check if any time-constraint condition being put on order update.