After hours orders

  • rakeshr
    @vijoeyz
    Does BSE allow after-hours orders??
    Yes, it's from 3:40PM to 4:00PM. You can check complete BSE session timings here.
  • vijoeyz
    Okay, I checked that. However, I did not receive on_order_update() callback! Is it not invoked after market hours?
  • rakeshr
    @vijoeyz
    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-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': ''}`
    Can you re-check order update log at your end?
    Also, check if any time-constraint condition being put on order update.
  • vijoeyz
    Wonderful, @rakeshr . Thank you. I have few checks on market hours. I will see if that's affecting me. Thank you for your efforts.
Sign In or Register to comment.