Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. pt4rh3
    3. Topics
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 14
    • Best 0
    • Groups 0

    Topics created by pt4rh3

    • P

      incorrect package name
      Test • • pt4rh3

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • P

      stock option quantity field
      Python SDK • • pt4rh3

      4
      0
      Votes
      4
      Posts
      56
      Views

      A

      @bablujat check via postman to square off. It is working fine. There maybe a issue in your code.

    • P

      getting error in websocket
      Python SDK • • pt4rh3

      12
      0
      Votes
      12
      Posts
      81
      Views

      S

      @nahas_n

      I made a dirty trick of switching off the Signal Handlers even when its not threaded ( before line number 233 in websocket.py )

      opts["installSignalHandlers"] = False

      @nahas_n said in getting error in websocket:

      thread.start_new_thread(connect_ws, ())

      Thanks for the suggestion. I will try it out.

    • P

      unable to connect
      Python SDK • • pt4rh3

      2
      0
      Votes
      2
      Posts
      15
      Views

      A

      Hi @pt4rh3 said in unable to connect:

      do i have to import both of these?
      smartApiWebsocket
      webSocket

      yes

    • P

      connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
      Python SDK • • pt4rh3

      4
      0
      Votes
      4
      Posts
      39
      Views

      N

      while True: ss.connect()

      but the disconnection problem is from the host . they need to solve from their end. i have also reported. and get response as they are working on the websocket .