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

Added analysis information for an instrument #122

Merged
merged 2 commits into from
Dec 21, 2024
Merged

Conversation

Unt3r
Copy link
Contributor

@Unt3r Unt3r commented Dec 20, 2024

Fixes at least part of #120

To get analysis data fro ABB call:

avanza.get_analysis(5447)

Returns a lot of analysis data:
{'stockKeyRatiosByYear': {'priceEarningsRatio': [{'date': '2019-02-28', 'reportType': 'FULL_YEAR', 'financialYear': 2018, 'value': 18.69}, {'date': '2020-02-05', 'reportType': 'FULL_YEAR', 'financialYear': 2019, 'value': 33.58}, {'date': '2021-02-04', 'reportType': 'FULL_YEAR', 'financialYear': 2020, 'value': 170.71}, {'date': '2022-02-03', 'reportType': 'FULL_YEAR', 'financialYear': 2021, ...

Added get_analysis() to get analysis data for an instrument
Added path for analysis information for an instrument
@Qluxzz
Copy link
Owner

Qluxzz commented Dec 21, 2024

LGTM

@Qluxzz Qluxzz merged commit f9ac1cc into Qluxzz:master Dec 21, 2024
@Qluxzz
Copy link
Owner

Qluxzz commented Dec 21, 2024

Thanks for contributing!

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

Successfully merging this pull request may close these issues.

2 participants