Navigation

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

    getLtp returning AB1018 error

    NodeJS SDK
    0
    2
    30
    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.
    • M
      Mahesh last edited by

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


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

      H 1 Reply Last reply Reply Quote 0
      • H
        Harshu0132 @Mahesh last edited by

        @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"
        }

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