Navigation

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

    Exchange Order ID now available in Order Book Response

    General Discussion
    0
    6
    178
    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.
    • M
      Moderator_1 last edited by

      Dear SmartAPI Users,

      We had received feedback from some of you that we should add exchange order ID key in the response of getOrderBook API. We have heard you and have made the same available now. If you check the response from getOrderBook API, you will find the exchange order ID as well. We hope that this helps you in your trading journey.

      Here is a sample response from getOrderBook

      {
          "status": true,
          "message": "SUCCESS",
          "errorcode": "",
          "data": [
              {
                  "variety": "NORMAL",
                  "ordertype": "LIMIT",
                  "producttype": "DELIVERY",
                  "duration": "DAY",
                  "price": 161.7,
                  "triggerprice": 0.0,
                  "quantity": "1",
                  "disclosedquantity": "0",
                  "squareoff": 0.0,
                  "stoploss": 0.0,
                  "trailingstoploss": 0.0,
                  "tradingsymbol": "IOC-EQ",
                  "transactiontype": "BUY",
                  "exchange": "NSE",
                  "symboltoken": "1624",
                  "ordertag": "",
                  "instrumenttype": "",
                  "strikeprice": -1.0,
                  "optiontype": "",
                  "expirydate": "",
                  "lotsize": "1",
                  "cancelsize": "0",
                  "averageprice": 161.7,
                  "filledshares": "1",
                  "unfilledshares": "0",
                  "orderid": "240516000001760",
                  "text": "",
                  "status": "complete",
                  "orderstatus": "complete",
                  "updatetime": "16-May-2024 11:18:11",
                  "exchtime": "16-May-2024 09:00:06",
                  "exchorderupdatetime": "16-May-2024 11:18:11",
                  "fillid": "",
                  "filltime": "",
                  "parentorderid": "",
                  "uniqueorderid": "ade58561-4464-416c-9903-e509aa5d5e1e",
                  "exchangeorderid": "1100000000048358"
              }]
      }
      

      Regards
      SmartAPI Team

      D A 2 Replies Last reply Reply Quote 1
      • A
        API last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • D
          dungarsingh @Moderator_1 last edited by

          @Moderator_1

          D 1 Reply Last reply Reply Quote 0
          • A
            API @Moderator_1 last edited by

            @Moderator_1 मुझे Api उस करना आता नहीं है उसे को कैसे उस किया जाता है मेरे को विस्तार से बताओ मेरे को ऑर्डर स्टेट नहीं लग रहा है ओर उसी मे ऑडर केसे लगा ते ओर api केसे सेट करे

            1 Reply Last reply Reply Quote -2
            • D
              dungarsingh @dungarsingh last edited by

              @dungarsingh said in Exchange Order ID now available in Order Book Response:

              @Moderator_1

              मुझे API Logn करना है

              जानकारी चाहिए

              1 Reply Last reply Reply Quote 0
              • D
                dungarsingh last edited by

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