Navigation

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

    how to close websocket?

    Python SDK
    5
    5
    134
    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.
    • K
      Kamal last edited by

      I tried to get LTP using websockets and able to. However not able to close the connection, keep on getting the LTP for every tick. Can someone help me with the code, how to close the connection (ws.connect(threaded=True) opens the connection, but how to close or disconnect the connection).

      B 1 Reply Last reply Reply Quote 0
      • B
        bt_333 @Kamal last edited by

        @Kamal @admin
        Hey - did you get solution for this?

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

          HI @bt_333 All of the web socket issue are noted and our team is working on it.

          M 1 Reply Last reply Reply Quote 0
          • M
            mukul.ietlucknow @admin last edited by

            @admin is there any progress on this issue.

            is ws.close() will work properly now?

            please respond

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @mukul.ietlucknow last edited by

              HI @mukul-ietlucknow we provide you the eta for the websocket soon.

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