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

Implement an alternative method to calculate the initial value (RW, field 7) #39

Open
cristianlivella opened this issue Aug 18, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cristianlivella
Copy link
Owner

At the moment, the initial value corresponds to the equivalent on the first day of the year.

A more correct way to calculate it would be to add to it the purchases made during the year, as also suggested in the Aspetti fiscali: Criptovalute e Bitcoin, Giorgio D’Amico, 6th edition, page 14.

Indicare il valore (in Euro) del saldo del portafoglio all’inizio dell’anno oppure nel primo giorno di detenzione della cryptovaluta, utilizzando il cambio della cryptovaluta a inizio anno. A questo valore deve essere sommato il totale dei nuovi investimenti effettuatnell’anno, ovvero l’ammontare dei “depositi” effettuati sugli exchange ed utilizzati per l’acquisto di nuove crypto.

We need to implement this method, which should be used as the default.

The calculation is pretty easy, and it's very similiar to the final value one, we just need to add the currentYearInvestment value, if greater than 0.

@cristianlivella cristianlivella added the enhancement New feature or request label Aug 18, 2022
@cristianlivella cristianlivella self-assigned this Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant