Fetching new orders automatically

ebiz_vj
Hello there, I'd like to fetch & save new orders using Zerodha pykiteconnect. Whenever I place a new order on web/ mobile app, I want that order to be automatically fetched and saved on notepad using Zerodha pykiteconnect. How do I achieve this? Can somebody throw light on this plz? Thanks
  • sujith
    You will have to listen to order updates on the websocket API. You can know more here.
    You can use this as an event and pull orderbook and save it.
  • ebiz_vj
    ebiz_vj edited October 2022
    @sujith Thank you for the response. Will this provide the data for both new orders and order modifications?

    I'm working with Python. The link provided by you doesn't have the code for Python. Can you please help me with a sample python code to pull orderbook and listen to the order updates? That would be very helpful to me. Please help. Thank you.
  • rakeshr
    Will this provide the data for both new orders and order modifications?
    Yes, go through python client documentation here.
    Can you please help me with a sample python code to pull orderbook and listen to the order updates?
    We don't provide 1:1 coding support. You can go through the python examples folder, it has good enough resources to start.
Sign In or Register to comment.