Navigation

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

    smart web socket only returns Ticks message: [{'ak': 'nk', 'msg': 'hb', 'task': 'hb'}]

    Python SDK
    0
    7
    48
    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.
    • P
      P81994 last edited by

      @admin
      here is complete code https://pastebin.com/jMeUVEw1

      only thing its returning is

      2023-01-17 13:23:30.214973 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '0857777383', 'user': 'P81994', 'acctid': 'P81994'}
      Ticks message: [{'ak': 'nk', 'msg': 'hb', 'task': 'hb'}]
      2023-01-17 13:24:00.242836 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '0857777383', 'user': 'P81994', 'acctid': 'P81994'}
      Ticks message: [{'ak': 'nk', 'msg': 'hb', 'task': 'hb'}]
      
      

      i am not even able to find out what exactly is wrong. there is no proper error response.
      there is no solution available on web or across the forum.

      M 1 Reply Last reply Reply Quote 0
      • V
        Vignesha last edited by

        I'm a returning user to smartapi. Were you able to fix this issue? I'm doing some changes to my code after new updates in websocket but cant get any further

        1 Reply Last reply Reply Quote 0
        • M
          markoma404 @P81994 last edited by

          @P81994 Did you solve the problem?

          1 Reply Last reply Reply Quote 0
          • T
            Thiyaneswaran last edited by

            Hi , getting the same issue . Tried with both this old socket api and new socket 2.0 .Nothing works . No errors . Just this result . Any solution ?

            1 Reply Last reply Reply Quote 0
            • T
              Thiyaneswaran last edited by

              Can anyone please help with this . I am trying both socket 1.0 and 2.0 . The first one gives this message and the second one gives only print like :
              In on pong function==> b'\x00'
              In on pong function==> b'\x00'
              In on pong function==> b'\x00'
              In on pong function==> b'\x00'
              In on pong function==> b'\x00'
              In on pong function==> b'\x00'

              1 Reply Last reply Reply Quote 0
              • D
                dharm last edited by

                @admin
                @P81994
                Any solution on this topic????
                I have same issue like above

                Screenshot_1.png

                V 1 Reply Last reply Reply Quote 0
                • V
                  Vignesha @dharm last edited by Vignesha

                  @dharm I dont think it has been resolved... Also the fact the entire python SDK community is quiet about it makes me feel like everyone gave up on this...

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