Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    How to confirm if order is executed successfully with correct quantity.

    General Discussion
    0
    2
    41
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rahul4019 last edited by

      To all the algo traders ,
      I want to confirm if my order has gone through and i should see that in the positions.
      What is the best way to achieve this in the code.

      Right now i just check the orderstatus field from the get_orderbook api and check the fillsize from tradebook api to the filledshares from orderbook api.

      Mnagesh 1 Reply Last reply Reply Quote 0
      • Mnagesh
        Mnagesh @rahul4019 last edited by

        @PandaTrade

        check order book status for order id
        status may be :
        complete
        open
        cancelled
        rejected
        etc...

        if complete ...means fully executed

        we can have our own function to check and confirm the order.

        Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post