It looks like you're new here. If you want to get involved, click one of these buttons!
Does BSE allow after-hours orders??
on_order_update()
However, I did not receive on_order_update() callback! Is it not invoked after market hours?
2020-09-29 15: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-29 15: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': ''}`
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.