feat: add portfolio

This commit is contained in:
ytshih committed 2026-09-11 09:54:49 +08:00
1 parent ba63c5deb0
commit f09cf4d5c2
11 files changed
+669 -38

No files matched your search

+12
View File
@@ -58,3 +58,15 @@ outputs:
# prompt reads back to dedup each briefing against the last one.
archive:
dir: ~/.local/state/stonks/runs
# Always on: a simulated paper-trading account Claude's own buy/sell
# recommendations execute against (never other advisors' — see
# analyzer.advisors). State (cash, open positions, running profit) persists
# in portfolio.json under dir, and Claude's freeform decision notes persist
# alongside it in memory.md. All position sizing/leverage math and profit
# calculation is done in Go (internal/portfolio), not by Claude — Claude
# only requests an amount_usd/leverage per call.
portfolio:
dir: ~/.local/state/stonks
initial_budget_usd: 10000
max_leverage: 3