Open fschold opened 4 years ago
I don't think the Avanza app supports it, which means there's no endpoint for us to use. You probably have to scrape it from the website.
We'll it's possible to see a chart like that in the Avanza app if you select an account -> details. Shouldn't that data come from their mobile API?
Oh, then yeah, it should definitely be possible.
If you are logged in you can access the performance with this url: https://www.avanza.se/_cqbe/ff/overview/chart/ONE_YEAR
ONE_YEAR
can be changed to:
ONE_MONTH
THREE_MONTHS
THIS_YEAR
ONE_YEAR
THREE_YEARS
ALL_TIME
I found this via the website, and you were writing about the app earlier so this might not be helpful. Do you need the endpoints the app uses?
EDIT: This is for the whole portfolio though, do you want the chartdata for a specific, for example, ISK-account?
Is it possible to extend the API with a function that returns chart data for a specific account, so it's possible to display a chart of the change for a given account over time?