Closed Unt3r closed 2 months ago
could this be related ? https://github.com/fhqvst/avanza/issues/99
Yes, the paths have changed.
ACCOUNTS_POSITIONS_PATH = '/_api/position-data/positions' <- still works POSITIONS_PATH = '/_mobile/account/positions' <- don't work
ACCOUNT_OVERVIEW_PATH = '/_mobile/account/{}/overview' <- don't work OVERVIEW_PATH = '/_mobile/account/overview' <- don't work
an overview seems to be: /_api/account-performance/overview/total-values but with different output.
Any ETA for a fix?
Has been superseded by the get_accounts_positions method https://qluxzz.github.io/avanza/avanza/avanza.html#Avanza.get_accounts_positions
avanza.get_positions()
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://www.avanza.se/_mobile/account/positions