getLtp returning AB1018 error


  • In getLtp: params:
    {"tradingsymbol":"NATURALGAS21OCTFUT","exchange":"MCX","symboltoken":"231886"}


    In getLtp: response:
    {"data":null,"message":"Failed to get symbol details","errorcode":"AB1018","status":false}


  • @Mahesh Hi Mahesh, it seems you are passing wrong token, I guess you are asking for this.

    {
    "token": "245263",
    "symbol": "NATURALGAS22OCTFUT",
    "name": "NATURALGAS",
    "expiry": "26OCT2022",
    "strike": "0.000000",
    "lotsize": "1250",
    "instrumenttype": "FUTCOM",
    "exch_seg": "MCX",
    "tick_size": "10.000000"
    }