Navigation

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

    Modification of orders placed with order tag

    General Discussion
    0
    1
    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.
    • A
      admin last edited by

      Dear customers,

      We have received some feedback regarding confusion when modifying orders that have an order tag. Please note that when you place an order with an order tag and later modify it, the request to modify the order must also include the exact same order tag in the request body.

      To clarify, here is an example of how to place and modify an order that includes an order tag:

      Placing the order:

      {
      "variety":"NORMAL",
      "tradingsymbol":"SBIN-EQ",
      "symboltoken":"3045",
      "transactiontype":"BUY",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":"194.50",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"1",
      "ordertag":"yourOrderTag"
      }
      

      Modifying the order:

      {
      "variety":"NORMAL",
      "orderid":"201020000000080",
      "ordertype":"LIMIT",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":"194.00",
      "quantity":"1",
      "tradingsymbol":"SBIN-EQ",
      "symboltoken":"3045",
      "exchange":"NSE",
      "ordertag":"yourOrderTag"
      }
      

      Regards,
      SmartAPI team

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