Navigation

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

    Getting Error while calling getLTP

    NodeJS SDK
    6
    8
    94
    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.
    • T
      tomatoailis last edited by

      Getting error while calling getLTP
      passing input
      String exchange = "BSE";
      String tradingSymbol = "SBIN-EQ";

      Tried with some other options like trading symbol as "SBIN" with exchange as "NSE" as well as "BSE"

      Non of the combinations worked. below is the stack trace

      SmartAPIException [message=Symbol Not Found, code=AB1009]
      at com.angelbroking.smartapi.http.SmartAPIResponseHandler.dealWithException(SmartAPIResponseHandler.java:77)
      at com.angelbroking.smartapi.http.SmartAPIResponseHandler.handle(SmartAPIResponseHandler.java:31)
      at com.angelbroking.smartapi.http.SmartAPIRequestHandler.postRequest(SmartAPIRequestHandler.java:101)
      at com.angelbroking.smartapi.SmartConnect.getLTP(SmartConnect.java:419)
      at com.angelbroking.smartapi.sample.Examples.getLTP(Examples.java:103)
      at FetchMarketPrice.main(FetchMarketPrice.java:63)

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

        Hi @shekharchauhan , we have updated our SDK with token number feed.

        M 1 Reply Last reply Reply Quote 0
        • M
          mdnafis8 @admin last edited by

          @admin

          I am getting error Caused by: java.lang.ClassNotFoundException: okhttp3.logging.HttpLoggingInterceptor .

          D 1 Reply Last reply Reply Quote 0
          • D
            Diljeet @mdnafis8 last edited by

            @mdnafis8 This error seems local issue, okhttp3 jar seems to be missing in your workspace.

            Please check.

            D 1 Reply Last reply Reply Quote 0
            • D
              daytrader @Diljeet last edited by

              @mihirk @admin @mdnafis8 Getting LTP, POSTIONS, HOLDINGS throwing error
              I am using POST method using PYTHON and the exception error is

              Expecting value: line 1 column 1 (char 0)
              
              D 1 Reply Last reply Reply Quote 0
              • D
                Diljeet @daytrader last edited by

                @daytrader I am also getting 500- Internal Server Error since 9:45 AM.

                @admin can you please check what's the issue.

                D 1 Reply Last reply Reply Quote 0
                • D
                  daytrader @Diljeet last edited by

                  @mihirk @admin I faced this issue was there yesterday also but was resolved in around 15 minutes or so

                  1 Reply Last reply Reply Quote 0
                  • P
                    Partners last edited by

                    @admin can you update on internal server error pls

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