Orderupdate postback

kktc
What is postback format for order update. Like in [{},{}] or each order update just comes in {}. I'm asking because for order update I want to iterate over it for mining some information. So will thia worl, lile for d in data: kind of thing for python?!
Tagged:
  • rakeshr
    It's a single iteration. You can check the data format here.
  • kktc
    kktc edited February 22
    I'm processing the data form ticker.on_order_update in following way in python

    if data['tag']=='exit':
    if data['status']=='COMPLETE':
    logger.info('Exit order COMPLETE for',+ data['tradingsymbol'])

    Is this correct way?

  • kktc
    you can close this thread. thank you
This discussion has been closed.