HellAmbro / Trading212API

Unofficial Trading212 API
MIT License
59 stars 27 forks source link

getting AttributeError when initialising Trading212 #23

Closed JurajBeno closed 1 year ago

JurajBeno commented 1 year ago

when i run my script i get this error messages:

ERROR: Couldn't read tbsCertificate as SEQUENCE ERROR: Failed parsing Certificate

....\site-packages\pytrading212\trading212.py", line 113, in init "Cookie": self.cookie, AttributeError: 'Trading212' object has no attribute 'cookie'

edit: did some changes and in LIVE mode it does work, but DEMO still doesnt

HellAmbro commented 1 year ago

Thanks for reporting.