Navigation

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

    User Feedback - WebSocket 2.0 Beta Rollout – Python Language

    Python SDK
    0
    45
    2246
    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
      Linux Smiths @Linux Smiths last edited by

      nvm, I gather that this is the amount of pending buy and sell orders at the Exchange.

      1 Reply Last reply Reply Quote 0
      • A
        ashigro @sathyaraj last edited by

        @sathyaraj
        We can fix this error by updating _on_close method with additional arguments in SmartWebSocketV2.py file.

        def _on_close(self, wsapp**, close_status_code, close_msg**):

        <Error: SmartWebSocketV2._on_close() takes 2 positional arguments but 4 were given>
        This error is thrown because on_close method of websocket class takes multiple arguments which are missing in SmartWebSocket library. Example code:
        https://websocket-client.readthedocs.io/en/latest/examples.html

        1 Reply Last reply Reply Quote 0
        • J
          jaideep siddula @DIYD57519 last edited by

          @DIYD57519 Im no getting on open. Instead, I'm getting "attempting to resubscibe/reconnect". Any help is appreciated.
          Thanks in advance

          D 2 Replies Last reply Reply Quote 1
          • D
            DiljotSingh11 @jaideep siddula last edited by

            Hi @jaideep-siddula , I'm also having the same issue, have you found the solution?

            1 Reply Last reply Reply Quote 1
            • D
              DiljotSingh11 @jaideep siddula last edited by

              @jaideep-siddula @DIYD57519, I'm also getting "attempting to resubscibe/reconnect", is there any solution, as I've drilled a bit and got Handshake status 404 not found.

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