Navigation

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

    Symbol not found error AB1009

    General Discussion
    3
    10
    45
    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.
    • K
      kunaljvyas last edited by

      hi,

      i have tried setting tradingsymbol as "RELIANCE" as well as "RELIANCE-EQ".

      in both case getting symbol not found error.

      please can you tell what to set in tradingsymbol ?

      i am not sending "symboltoken" as shown in sample code in docs.

      is sending "symboltoken" required ?

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @kunaljvyas last edited by

        Hi @kunaljvyas yes symbol token is mandatory.Please find the below link for various symbol tokens and instruments.
        https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

        K P 2 Replies Last reply Reply Quote 0
        • K
          kunaljvyas @admin last edited by

          @admin thanks . i tried with symboltoken= 2885 also
          not getting {"message":"Internal Error","errorcode":"AB2001","status":false,"data":null}

          K 1 Reply Last reply Reply Quote 0
          • K
            kunaljvyas @kunaljvyas last edited by

            @kunaljvyas this is my order request data.

            {"exchange":"NSE","tradingsymbol":"RELIANCE-EQ","symboltoken":"2885","transactiontype":"BUY","ordertype":"LIMIT","variety":"NORMAL","producttype":"INTRADAY","quantity":1,"disclosedquantity":1,"price":2000}

            what am i missing or sending wrong ?

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @kunaljvyas last edited by

              Hi @kunaljvyas post your code snip here.

              K 1 Reply Last reply Reply Quote 0
              • K
                kunaljvyas @admin last edited by

                @admin {"exchange":"NSE","tradingsymbol":"RELIANCE-EQ","symboltoken":"2885","transactiontype":"BUY","ordertype":"LIMIT","variety":"NORMAL","producttype":"INTRADAY","quantity":1,"disclosedquantity":1,"price":2000}

                A 1 Reply Last reply Reply Quote 0
                • A
                  admin @kunaljvyas last edited by

                  @kunaljvyas

                  req:
                  {
                  "variety":"NORMAL",
                  "tradingsymbol":"RELIANCE-EQ",
                  "symboltoken":"2885",
                  "transactiontype":"BUY",
                  "exchange":"NSE",
                  "ordertype":"MARKET",
                  "producttype":"INTRADAY",
                  "duration":"DAY",
                  "price":"382",
                  "squareoff":"15",
                  "stoploss":"10",
                  "quantity":"1"
                  }
                  response:
                  {
                  "status": true,
                  "message": "SUCCESS",
                  "errorcode": "",
                  "data": {
                  "script": "RELIANCE-EQ",
                  "orderid": "210407000000062"
                  }
                  }

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kunaljvyas @admin last edited by

                    @admin thank you. got it. duration is required.

                    1 Reply Last reply Reply Quote 0
                    • P
                      pashriva @admin last edited by pashriva

                      Hi @admin
                      What exactly is Symbol Token ? Is it something which is specific to Angel Broking Universe or is it something which is decided by the exchanges?

                      Usually doing something like NSE:SBIN or BOM:500112 is sufficient for uniquely identifiying the SBI Equity stock. Then why is this Symbol token required.

                      And even if it is something specific to Angel Broking Universe, what is the right way of getting the Symbol token from NSE:SBIN or BOM:500112

                      Thanks,
                      P

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        admin @pashriva last edited by

                        HI @pashriva You can find the symbol tokens on below url:
                        https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

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