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
Wrong currency returned #17
Comments
Draft fix implemented in #20. Requires code changes since you can no longer fetch data for areas in multiple countries, see example in PR. |
Hmm, actually seems like Nordpool has fixed this? |
I concur! Seems to work as before now. |
Then I think we'll close both this and #20 for now, but let me know if this re-occurs and we'll get back on it. |
The Nordpool API will return all answers in EUR unless an area is specified at the same time. This currently results in multiple issues. Since the library selects currency first (
elspot.Prices
) and area second (hourly
), the currency will always be returned in EUR (the most common one).This can be replicated via the Nordpool web UI:
Further investigation shows that the pages defined at https://github.com/kipe/nordpool/blob/master/nordpool/elspot.py#L11 does not provide data in other currencies than EUR. Using specific pages (e.g., 29 for SE3) returns data in multiple currencies. The area to page map is most likely subject to change of course.
The text was updated successfully, but these errors were encountered: