MicroPyramid / forex-python

Foreign exchange rates, Bitcoin price index and currency conversion using ratesapi.io
http://forex-python.readthedocs.io/en/latest/usage.html
MIT License
662 stars 197 forks source link

Raise exception when rate date is not the requested #83

Closed cedk closed 3 years ago

cedk commented 3 years ago

The API return the latest rate when requesting a rate for a date for which it is not yet available like in the future.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.07%) to 91.358% when pulling d6f62a23c82b2f5c3cdb06208ee2e72aa86b5ca3 on cedk:date-future into 2bcc5043347531d64239212ee20b75ce62f9ed88 on MicroPyramid:master.