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.