aboutsummaryrefslogtreecommitdiffstats
path: root/home/ticker/default.nix
blob: be2f509671e8c2623792e156e4a86312d7d1ef95 (plain) (blame)
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
{ inputs, pkgs, ... }:
{
  xdg.configFile."/home/petri/.config/ticker/config.yaml".text = ''
    show-summary: true
    show-tags: true
    show-fundamentals: true
    show-separator: true
    show-holdings: true
    interval: 5
    currency: EUR
    currency-summary-only: false
    watchlist:
      - NET
      - TEAM
      - ESTC
      - BTC-USD # Bitcoin price via Yahoo
      - SOL.X # Solana price via CoinGecko
      - SAMOYEDCOIN.CG # Samoyed price via CoinGecko
      - CARDANO.CC # Samoyed price via CoinCap
    lots:
      - symbol: "ABNB"
        quantity: 35.0
        unit_cost: 146.00
      - symbol: "ARKW"
        quantity: 20.0
        unit_cost: 152.25
      - symbol: "ARKW"
        quantity: 20.0
        unit_cost: 145.35
        fixed_cost: 7.00 # e.g. brokerage commission fee
    groups:
      - name: crypto
        watchlist:
          - SHIB-USD
          - VGX-USD
        holdings:
          - symbol: SOL1-USD
            quantity: 17
            unit_cost: 159.10
  '';
}