Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for annual HMRC exchange rates #587

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

calmarj
Copy link

@calmarj calmarj commented Jan 27, 2025

Download annual exchange rates from HMRC and option to use them instead of monthly.

Had to use library to map country name to currencyCode as different years have completely different formats of the file.

Tested by running:

cgt-calc --year 2023 --schwab files/schwab.csv --schwab-award files/award.csv --exchange-rate-type annual

Download annual exchange rates from HMRC and option to use them instead of monthly.

Had to use library to map country name to currencyCode as different years have completely different formats of the file
@KapJI
Copy link
Owner

KapJI commented Feb 1, 2025

Why do you want to use yearly rates instead of monthly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants