1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
`fx_fetcher` can load defaults from a TOML file via:
```bash
fx_fetcher --config config/fx_fetcher.example.toml <command> [...flags]
```
Flag precedence:
1. 2.3.
```toml
[global]
universe = "config/universe.json"
checkpoint = ".state/checkpoints.json"
concurrency = 8
json = false
[backfill]
symbols = ["EURUSD", "GBPUSD"]
period = "30d"
interval = "1h"
out = "data/fx.csv"
no_output = false
concurrency = 8
[update]
symbols = ["EURUSD", "GBPUSD"]
lookback = "7d"
interval = "1h"
out = "data/fx.csv"
no_output = false
concurrency = 8
[sync_universe]
source = "https://www.dukascopy-node.app"
dry_run = false
activate_new = false
[export]
input = "data/fx.csv"
out = "data/fx.parquet"
has_headers = false
```
Reference file: `config/fx_fetcher.example.toml`.