Modification of orders placed with order tag


  • 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