Navigation

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

    Best posts made by poorna

    • module 'ssl' has no attribute 'TLSVersion'

      Hi,
      Tick data not worked from yesterday (26-2-24) So i refered GitHub. At the time of generating Authtoken, below mentioned error came:

      Traceback (most recent call last):
      File "f:/py works/New folder/swsv2/auto_apia_L.py", line 17, in <module>
      smartApi = SmartConnect(api_key)
      File "F:\Program Files\Python36\lib\site-packages\SmartApi\smartConnect.py", line 103, in init
      self.ssl_context.minimum_version = ssl.TLSVersion.TLSv1_2
      AttributeError: module 'ssl' has no attribute 'TLSVersion'

      Kindly advise me ASAP
      Thanks.

      posted in General Discussion
      P
      poorna
    • RE: Non Secure Websocket URL Decommissioned

      @Moderator_1 Is it need pip update, have error on SmartApi.smartwebsocketV2
      Pls advice, I don't know what to do

      posted in General Discussion
      P
      poorna