Stoploss


  • Hello,
    I want to place a limit buy order, and if gets placed I want to put a stoploss to it.
    The following format is able to place order, but Stoploss & Trigger has not been set.

    What format should I follow to do the same ?
    should I go with ROBO order in such case ?

    {"variety": "STOPLOSS",
    "tradingsymbol": "SBI-EQ",
    "symboltoken": "123",
    "transactiontype":"BUY",
    "exchange": "NSE",
    "ordertype": "STOPLOSS_LIMIT",
    "producttype": "DELIVERY",
    "duration": "DAY",
    "price": "500",
    "squareoff": "0",
    "triggerprice" : "475",
    "stoploss": "474",
    "quantity": "1"}