Navigation

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

    Order ID not returning in Tradebook

    Python SDK
    0
    2
    2
    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.
    • D
      dhruv2599 last edited by

      I tried testing the functionality. Now placing the order works but anything else is not working. More of order book does not return order_id it returns unique order id but while making the modification or cancellation request it ask for order id (I assume), it does not work for unique order id.

      Example: this is what the trade book returned

      2ff77845-a12c-4394-88e4-331398d42ee8-image.png

      Here the uniqueorderid is 8bea8c3d-0617-4a74-9b54-3c22c5d8daaa

      now while making the call for update with this,
      9708447e-058c-488a-845a-2da278cf7834-image.png

      Even for deleting with this
      99fe0cb9-df64-4987-a202-63058956da6e-image.png

      It does not work

      Manual Check on Angel UI

      I checked the order and it is there, I tried cancelling it but that to does not work. It says this
      91bb3a4c-196d-4167-836e-ee649d2fd2a5-image.png

      Can @admin @admin123 help me with this one?

      1 Reply Last reply Reply Quote 0
      • M
        Moderator_3 last edited by

        Hi @dhruv2599

        With uniqueorderid you can't cancel the order. I can able to see the order id for SBIN stock. Please try again.

        Regards, Smart API Team

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