KapJI / capital-gains-calculator

UK capital gains tax calculator which supports transaction history from different brokers
MIT License
137 stars 51 forks source link

Error fetching exchange rates from HMRC #489

Open tiziano88 opened 9 months ago

tiziano88 commented 9 months ago

cgt_calc.exceptions.ParsingError: While parsing http://www.hmrc.gov.uk/softwaredevelopers/rates/exrates-monthly-1012.xml, HMRC API returned a 404 response

Maybe exchange rates are not available for old years?

https://www.trade-tariff.service.gov.uk/exchange_rates/monthly

vmartinv commented 8 months ago

which year is failing? I can suggest adding the exchange rates manually to the file until this gets fixed.