├── .github └── screenshot │ └── report-demo.png ├── .gitignore ├── .python-version ├── Makefile ├── README.md ├── importers └── spdccc_importer.py ├── ledger ├── account.beancount ├── commodity.beancount ├── cryptocoin.beancount ├── daily │ ├── 2019 │ │ ├── 2019-06-03-other.beancount │ │ ├── 2019-06-03-settle.beancount │ │ └── 2019-06-03-spdbcc.beancount │ └── 2019.beancount ├── init.beancount ├── invest.beancount ├── latest-prices.beancount ├── main.beancount ├── prices.beancount └── salary.beancount ├── raw-data └── spdbcc │ └── 2019-05-spdbcc.csv ├── requirements.in ├── requirements.txt ├── scripts ├── README.md ├── generate-networth-report.py ├── generate-portfolio.py └── update-prices.py └── sources ├── eastmoney.py ├── exchangeratesapi.py └── xueqiu.py /.github/screenshot/report-demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/.github/screenshot/report-demo.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | .py[oc] 3 | ledger/latest-prices.beancount 4 | local/ 5 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | beancount-env 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/README.md -------------------------------------------------------------------------------- /importers/spdccc_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/importers/spdccc_importer.py -------------------------------------------------------------------------------- /ledger/account.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/account.beancount -------------------------------------------------------------------------------- /ledger/commodity.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/commodity.beancount -------------------------------------------------------------------------------- /ledger/cryptocoin.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/cryptocoin.beancount -------------------------------------------------------------------------------- /ledger/daily/2019.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/daily/2019.beancount -------------------------------------------------------------------------------- /ledger/daily/2019/2019-06-03-other.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/daily/2019/2019-06-03-other.beancount -------------------------------------------------------------------------------- /ledger/daily/2019/2019-06-03-settle.beancount: -------------------------------------------------------------------------------- 1 | 2019-06-30 balance Assets:CN:Saving:CMB 42430.10 CNY 2 | -------------------------------------------------------------------------------- /ledger/daily/2019/2019-06-03-spdbcc.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/daily/2019/2019-06-03-spdbcc.beancount -------------------------------------------------------------------------------- /ledger/init.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/init.beancount -------------------------------------------------------------------------------- /ledger/invest.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/invest.beancount -------------------------------------------------------------------------------- /ledger/latest-prices.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/latest-prices.beancount -------------------------------------------------------------------------------- /ledger/main.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/main.beancount -------------------------------------------------------------------------------- /ledger/prices.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/prices.beancount -------------------------------------------------------------------------------- /ledger/salary.beancount: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/ledger/salary.beancount -------------------------------------------------------------------------------- /raw-data/spdbcc/2019-05-spdbcc.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/raw-data/spdbcc/2019-05-spdbcc.csv -------------------------------------------------------------------------------- /requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/requirements.in -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/generate-networth-report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/scripts/generate-networth-report.py -------------------------------------------------------------------------------- /scripts/generate-portfolio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/scripts/generate-portfolio.py -------------------------------------------------------------------------------- /scripts/update-prices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/scripts/update-prices.py -------------------------------------------------------------------------------- /sources/eastmoney.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/sources/eastmoney.py -------------------------------------------------------------------------------- /sources/exchangeratesapi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/sources/exchangeratesapi.py -------------------------------------------------------------------------------- /sources/xueqiu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mckelvin/beancount-boilerplate-cn/HEAD/sources/xueqiu.py --------------------------------------------------------------------------------