aboutsummaryrefslogtreecommitdiffstats
path: root/home/ticker.nix
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-04 18:05:00 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-04 20:39:41 +0200
commit4d7fbc33a139d6484ae86c45b570b2c99fc737ef (patch)
tree46c5788b8ed0eaf6f6581b3b7a87d633d842a8dd /home/ticker.nix
parent7ab57a27c9648b3a8e12f755e03fc84eb50291b4 (diff)
downloadnixos-4d7fbc33a139d6484ae86c45b570b2c99fc737ef.tar.zst
Test
Diffstat (limited to 'home/ticker.nix')
-rw-r--r--home/ticker.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/home/ticker.nix b/home/ticker.nix
new file mode 100644
index 0000000..be2f509
--- /dev/null
+++ b/home/ticker.nix
@@ -0,0 +1,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
+ '';
+}