kipe / nordpool

Python library for fetching Nord Pool spot prices.
MIT License
104 stars 40 forks source link

Exception or return no results upon currency mismatch #18

Closed jschlyter closed 3 years ago

jschlyter commented 3 years ago

The library does not check that the currency returned matches the currency requested, so the prices ends up wrong. This results interesting results, e.g., https://github.com/custom-components/nordpool/issues/51.

related to https://github.com/kipe/nordpool/issues/17