Skip to content

Commit

Permalink
update eurofxref-hist.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
seebi committed Jul 25, 2024
1 parent c122394 commit d2e7904
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [0.8.2] 2024-07-25

### Changed

- data dump available from 1999-01-04 to 2024-07-25

### Fixed

- do not convert anything in case of same from and to currencies
Expand Down
2 changes: 2 additions & 0 deletions cmem_plugin_currencies/eurofxref-hist.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Date,USD,JPY,BGN,CYP,CZK,DKK,EEK,GBP,HUF,LTL,LVL,MTL,PLN,ROL,RON,SEK,SIT,SKK,CHF,ISK,NOK,HRK,RUB,TRL,TRY,AUD,BRL,CAD,CNY,HKD,IDR,ILS,INR,KRW,MXN,MYR,NZD,PHP,SGD,THB,ZAR,
2024-07-25,1.0851,165.62,1.9558,N/A,25.389,7.4625,N/A,0.8428,393.33,N/A,N/A,N/A,4.2968,N/A,4.9697,11.774,N/A,N/A,0.9534,149.5,12.0825,N/A,N/A,N/A,35.9078,1.6638,6.1638,1.502,7.8331,8.4682,17704.82,3.9666,90.8915,1497.33,20.098,5.0598,1.8401,63.576,1.4566,39.264,20.0649,
2024-07-24,1.0848,167.23,1.9558,N/A,25.425,7.4618,N/A,0.83973,393.28,N/A,N/A,N/A,4.289,N/A,4.9706,11.6875,N/A,N/A,0.9609,149.7,11.942,N/A,N/A,N/A,35.6509,1.6428,6.0759,1.4953,7.8934,8.4716,17622.09,3.9403,90.808,1500.01,19.8113,5.0687,1.8267,63.558,1.4577,39.197,19.8662,
2024-07-23,1.086,169.64,1.9558,N/A,25.362,7.461,N/A,0.84073,390.43,N/A,N/A,N/A,4.277,N/A,4.9729,11.6735,N/A,N/A,0.9681,149.7,11.9635,N/A,N/A,N/A,35.7592,1.6396,6.0594,1.4944,7.9003,8.4788,17610.63,3.9314,90.9075,1505.59,19.5254,5.0738,1.8209,63.498,1.4615,39.324,20.0068,
2024-07-22,1.0888,170.8,1.9558,N/A,25.231,7.4617,N/A,0.84215,389.73,N/A,N/A,N/A,4.2788,N/A,4.972,11.6295,N/A,N/A,0.9671,150.1,11.9165,N/A,N/A,N/A,35.9064,1.637,6.0986,1.4971,7.9191,8.5006,17648.14,3.9593,91.0885,1511.28,19.6457,5.0961,1.8171,63.575,1.4648,39.54,19.8948,
2024-07-19,1.089,171.61,1.9558,N/A,25.261,7.461,N/A,0.8428,390.9,N/A,N/A,N/A,4.2853,N/A,4.9712,11.61,N/A,N/A,0.9688,149.7,11.8255,N/A,N/A,N/A,35.9909,1.6276,6.0303,1.4938,7.9165,8.5049,17638.53,3.9805,91.117,1511.37,19.5065,5.1047,1.8087,63.549,1.4645,39.514,19.9622,
Expand Down
8 changes: 8 additions & 0 deletions tests/fixtures/test_others.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""additional tests"""
from cmem_plugin_currencies.exceptions import WrongCurrencyCodeError


def test_wrong_currency_exception() -> None:
"""Test the custom exception"""
ttt = WrongCurrencyCodeError(currency="USD", date="2024-07-25")
assert str(ttt) == "No rate for USD (2024-07-25) available."

0 comments on commit d2e7904

Please sign in to comment.