finances-report
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesefinances-report
财务报告生成工具
Generate financial analytics from the local ledger.
从本地账本生成财务分析数据。
Terminal Report (default)
终端报告(默认模式)
bash
cd ~/Documents/finances && uv run python scripts/report.pySections: Net Worth (with 30d/90d/1y deltas), Asset Allocation, Liabilities (APR +
monthly interest), Cash Flow (last 30 days + top categories), Bitcoin detail + sparkline.
Single section:
bash
uv run python scripts/report.py --section networth
uv run python scripts/report.py --section liabilities
uv run python scripts/report.py --section cashflowbash
cd ~/Documents/finances && uv run python scripts/report.py报告包含板块:净资产(含30天/90天/1年变化值)、资产配置、负债(含APR及月利息)、过去30天现金流(含热门消费类别)、Bitcoin详情及迷你走势图。
单独查看某个板块:
bash
uv run python scripts/report.py --section networth
uv run python scripts/report.py --section liabilities
uv run python scripts/report.py --section cashflowHTML Dashboard
HTML仪表盘
bash
cd ~/Documents/finances && uv run python scripts/report.py --htmlOpens — interactive plotly charts:
reports/dashboard-YYYY-MM-DD.html- Net worth over time (USD + BTC dual axis)
- Asset allocation over time (stacked area)
- Monthly cash flow (income vs spending bars)
- Liability balances over time
- BTC price history
bash
cd ~/Documents/finances && uv run python scripts/report.py --html生成并打开文件,包含以下交互式Plotly图表:
reports/dashboard-YYYY-MM-DD.html- 净资产随时间变化趋势(USD + BTC双轴)
- 资产配置随时间变化(堆叠面积图)
- 月度现金流(收入vs支出柱状图)
- 负债余额随时间变化
- BTC价格历史走势
Data Sources
数据源
- — net worth history (175+ entries back to 2022)
data/snapshots.jsonl - — 10K+ transactions for cash flow analysis
data/transactions/copilot.jsonl - — BTC/gold/silver price history
data/prices/*.jsonl - — liability history with APRs
data/liabilities.jsonl
- — 净资产历史数据(2022年至今,175+条记录)
data/snapshots.jsonl - — 10000+条交易记录,用于现金流分析
data/transactions/copilot.jsonl - — BTC/黄金/白银价格历史数据
data/prices/*.jsonl - — 含APR的负债历史数据
data/liabilities.jsonl