Navigation

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

    not receiving proper WebSocket data

    Test
    5
    23
    179
    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.
    • James Bond
      James Bond @nirav last edited by James Bond

      @nirav

      No, OI is not streamed via WebSocket. It's yet to be added in WebSocket response.

      “Bond. James Bond.”

      1 Reply Last reply Reply Quote 0
      • James Bond
        James Bond last edited by

        @admin
        Can you give any rough estimate when will you start streaming OI ?

        “Bond. James Bond.”

        1 Reply Last reply Reply Quote 0
        • N
          nirav @admin last edited by

          @admin
          hii sir very good noon
          why i recive a heart beat error msg on live web socket data streaming. any solution for this plz tell me . its very important for me.
          tnx

          A S 2 Replies Last reply Reply Quote 0
          • A
            admin @nirav last edited by

            HI @nirav we have noticed your query we will update you on this.

            1 Reply Last reply Reply Quote 0
            • S
              Surya 1 @nirav last edited by

              @nirav

              This normally happens with network drop. If you are using new python SDK, you may potentially overcome this.

              N 1 Reply Last reply Reply Quote 0
              • N
                nirav @Surya 1 last edited by

                @rajanprabu
                sir i have install python sdk just tomorrow, so its a latest. till i getting heart beat. any solution for this by api team or not. my deadline is very close. suggest me asap

                tnx

                S A 2 Replies Last reply Reply Quote 0
                • S
                  Surya 1 @nirav last edited by

                  @nirav

                  Its hard to suggest with fewer details available. Are you running it on the cloud or at home with Wifi ? WiFi drop can also cause this.

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

                    Hi @nirav said in not receiving proper WebSocket data:

                    sir i have install python sdk just tomorrow, so its a latest. till i getting heart beat. any solution for this by api team or not. my deadline is very close. suggest me asap

                    Hi nirav as discussed in the meeting we will update you on this.

                    1 Reply Last reply Reply Quote 0
                    • D
                      Deb @pavank last edited by

                      @pavank did you get any solution of the problem? I am facing exactly same issue.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jimuld last edited by

                        @admin facing same issue, only receving tm data

                        [{"tvalue":"16/02/2023 11:35:12","name":"tm"}]
                        [{"tvalue":"16/02/2023 11:35:13","name":"tm"}]
                        [{"tvalue":"16/02/2023 11:35:14","name":"tm"}]
                        [{"tvalue":"16/02/2023 11:35:15","name":"tm"}]

                        Here is code :

                        var ws =new websocket('', '',"nse_cm|2885", "mw");
                        ws.connection().then(() => {
                        ws.runScript("nse_cm|2885&nse_cm|1594&nse_cm|11536", "mw|sf|dp");
                        setTimeout(function () {
                        ws.close()
                        }, 30000)
                        });
                        ws.on('tick', receiveTick);

                        function receiveTick(data) {
                        	console.log(data);			  
                        }
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post