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


  • 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.


  • @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.