Navigation

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

    websocket error send_request() missing 1 required positional argument: 'task'

    Python SDK
    0
    1
    18
    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.
    • D
      dipeshbodas last edited by

      While streaming data, getting below error.

      2022-02-10 10:40:43,smartapi.webSocket - DEBUG - Connection closed: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: send_request() missing 1 required positional argument: 'task')

      code sample :
      ss = WebSocket(FEED_TOKEN, CLIENT_CODE)
      def on_tick(ws, tick):
      logging.debug("Starting with tickdata")

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