GTT OCO Order


  • Re: how to create GTT OCO order

    Can you tell me if its correct request body:

    {
    tradingsymbol: "NIFTY20FEB2523500CE",
    symboltoken: "63622",
    exchange: "NFO",
    producttype: "CARRYFORWARD",
    transactiontype: "SELL",
    price: 0,
    gtttype: "OCO",
    qty: 300,
    triggerprices: [
    15.4,
    25.65,
    ],
    disclosedqty: 0,
    timeperiod: 365,
    validity: "GTT",
    amo: "NO",
    }


  • @akkidewas1989 use the below format

    {
        "disclosedqty": 0,
        "exchange": "NSE",
        "price": 761.30,
        "producttype": "DELIVERY",
        "qty": 1,
        "symboltoken": "3045",
        "timeperiod": 1,
        "tradingsymbol": "SBIN-EQ",
        "transactiontype": "BUY",
        "triggerprice": 753.75,
        "gttType":"OCO",
        "stoplossprice":841.45,
        "stoplosstriggerprice":833.10
    }
    
1 out of 2