The numbers may be off by an incredible small amount, as I didn't know about IEEE 754 when I initially created this. :)
This application generates a report of incomes and losses from CSV-Data. It currently supports the calculation of profits with the FiFo method for the platforms Trading212 and Revolut. It is also able to calculate the fees paid for currency conversions.
The application is hosted at the following addresses:
Download your history as described here. The file downloaded should end with .csv
. Note that Trading212 currently only allows you to download your history in 12 month timeframes. If you've traded for more than 12 months, just download every single year as a seperate file.
:warning: Currently only XAU/XAG assets are supported.
Download the CSV files from your Revolut app (Hub > Commodities > Select Silver or Gold > Statment). Select the maximum possible timeframe.
CTRL
, while clicking files to select multiple. If you've uploaded Revolut files, you'll need to enter some missing data, which you can find in your app.If you want to run the application on your local pc or just want to contribute, do the following steps:
git clone https://github.com/martenmatrix/capital-gains-trading-calculator
npm install
npm run start