Navigation

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

    Getting Error while connecting to websocket

    Python SDK
    0
    3
    56
    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.
    • V
      Vkrm last edited by

      I am logged in successfully but while calling tick data from websocketv2 it shows me error and tell me how to resolve this issue:

      Traceback (most recent call last):
      File "10. Data with timestamp.py", line 60, in <module>
      sws.connect()
      File "E:\AB\SmartWebSocketv2.py", line 264, in connect
      raise e
      File "E:\AB\SmartWebSocketv2.py", line 261, in connect
      self.wsapp.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE}, ping_interval=self.HEAR_BEAT_INTERVAL,
      TypeError: run_forever() got an unexpected keyword argument 'ping_payload'

      C 1 Reply Last reply Reply Quote 0
      • C
        ch.pratik @Vkrm last edited by

        @Vkrm Any solution on this?

        1 Reply Last reply Reply Quote 0
        • R
          rickfortrading last edited by

          I am getting same error as well. Anyone got any solution for this?

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