Simple BTC tracker for Jon/Suderbot.
- Samples BTC price from CoinGecko (BTC/USD + BTC/CAD) and derives USD/CAD.
- Stores append-only JSONL data in
~/Workspace/state/btc-prices.jsonl. - Renders a daily graph PNG where each day is represented by the 5pm (17:00 MST) sample.
- Sends Telegram updates at 5am + 5pm.
- Keeps messaging low-noise while collecting richer data hourly.
btc_sample.sh— fetch one price point, append to JSONL.btc_plot_daily.sh— buildbtc-daily.tsvfrom 5pm samples and generate PNG.btc_overnight_message.py— formats snapshot + overnight delta vs last 5pm.btc_weekly_report.py— weekday stats report (descriptive only).
- Data:
~/Workspace/state/btc-prices.jsonl - Daily TSV:
~/Workspace/state/btc-daily.tsv - Graph PNG (outbound media):
~/.openclaw/media/outbound/btc-daily.png
Managed via OpenClaw cron:
- Hourly sample (silent)
- 5am sample + message + graph
- 5pm sample + message + graph
- Weekly report (Sun 5:10pm)
These jobs call scripts in this repo.
This repo intentionally does not contain personal memory files or secrets.