etradeTaxReturnHelper 0.7.5

Parses etrade and revolut financial documents for transaction details (income, tax paid, cost basis) and compute total income and total tax paid according to chosen tax residency (currency)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!--
SPDX-FileCopyrightText: 2024-2025 RustInFinance
SPDX-License-Identifier: BSD-3-Clause
-->

### Usage
1. Get JSON data with exchange rates. For example USD to PLN throughput year 2024:
```bash
curl https://api.nbp.pl/api/exchangerates/rates/a/usd/2024-01-01/2024-10-31/ > myexchangerates.json
```
2. Run program to get rust source code with embedded exchange rates:
```bash
cargo run --features gen_exchange_rates --bin gen_exchange_rates -- --input myexchangerates.json > myexchange_rates.rs
```
3. Copy generated file to etradeTaxReturnHelper source dir and rebuild project