KapJI / capital-gains-calculator

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

Error fetching exchange rates from HMRC #489

Open tiziano88 opened 7 months ago

tiziano88 commented 7 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 6 months ago

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