Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getChartData for account #42

Open
fschold opened this issue Nov 29, 2019 · 4 comments
Open

getChartData for account #42

fschold opened this issue Nov 29, 2019 · 4 comments

Comments

@fschold
Copy link

fschold commented Nov 29, 2019

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?

@fhqvst
Copy link
Owner

fhqvst commented Nov 29, 2019

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.

@fschold
Copy link
Author

fschold commented Nov 29, 2019

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?

@fhqvst
Copy link
Owner

fhqvst commented Nov 29, 2019

Oh, then yeah, it should definitely be possible.

@davidsoederberg
Copy link
Contributor

davidsoederberg commented Dec 2, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants