Navigation

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

    Ticker not working

    NodeJS SDK
    0
    7
    108
    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.
    • L
      luckymonu007 last edited by

      @admin Ticker is not giving any data.

      subscribe() called!


      ticker data: [{"msg":"cn","task":"cn","ak":"nk"}]
      ticker data: [{"msg":"mw","task":"mw","ak":"nk"}]
      ticker data: [{"msg":"hb","task":"hb","ak":"nk"}]

      V punit 2 Replies Last reply Reply Quote 0
      • L
        luckymonu007 last edited by

        @admin Thank you. Its working now

        A 1 Reply Last reply Reply Quote 0
        • V
          vh1ne last edited by

          @admin I am able to get data for reliance using
          String strWatchListScript = "nse_cm|2885";
          String task = "mw";

          but not able to subscribe to Nifty or banknifty index
          I used
          String strWatchListScript = "nse_cm|26000";
          String task = "mw";

          aslo tried sending taks as "sfi"
          I am using Java SDK please help me get index and fno tick data.

          1 Reply Last reply Reply Quote 0
          • A
            AravindAnbalagan @luckymonu007 last edited by

            @luckymonu007 Could u plz let us know, how it got solved as I am also getting same issue.

            1 Reply Last reply Reply Quote 0
            • V
              Vikrant 0 @luckymonu007 last edited by

              @luckymonu007 I am facing same issue from 15 NOV .Is there any change .Can you please help

              1 Reply Last reply Reply Quote 0
              • punit
                punit @luckymonu007 last edited by

                @luckymonu007 websocket is migrated to new endpoint. unfortunately no wrapper available for that in java. only python was released by AB.

                Only python is available

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

                  HI @Ashok @luckymonu007 @vh1ne @AravindAnbalagan @kunal28

                  I wanted to share an example code in Java for working with Websocket 2.0 and the SmartStreamTicker class. This code can be used as a reference only and is not an official release. You can find the code on GitHub at https://github.com/angel-one/smartapi-java/pull/1/files

                  Please note that this code is provided as a sample only and is not an official release. It is not officially supported and should be used with caution.

                  This is just to give you an idea of the best practices for running a websocket, including parsing logic, and can be used as a reference only

                  Please let me know if you have any questions or concerns.

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