ms32035 / trading212-rest

Rest API client for Trading212
Apache License 2.0
4 stars 4 forks source link

arguments #2

Closed ghost closed 10 months ago

ghost commented 11 months ago

Hi. the code usage says client = Trading212(token="your_api_token", demo=False)

but the class init says def init(self, api_key: str, demo: bool = True):

token should be api_key

ms32035 commented 10 months ago

Fixed in 0.5.0