Web Analytics

fava_investor

⭐ 175 stars Simplified Chinese by redstreet

Fava 投资者

Fava 投资者旨在为BeancountFava(用于 纯文本复式记账的软件)提供一套全面的投资报告、分析和工具。它作为一组模块开发,每个模块提供一个Fava 插件、一个 Beancount 库和一个命令行工具

当前模块:

演示

pythonanywhere 上体验实时演示。

#### 截图(日期): 截图:税损收割 截图:资产配置

工具集

Fava 投资者附带 ticker-util,这是一组用于:

更多内容,请通过 pip 安装 fava_investor,然后查看:

ticker-util --help
ticker-util relate --help

安装

pip3 install fava-investor

或者从 git 安装最新的开发版本:

pip3 install git+https://github.com/redstreet/fava_investor
请参见 #55 了解 MacOS 安装。

请注意,最新版本的 Fava Investor 兼容 Beancount v2 和 v3。

运行 Fava Investor

在 Fava 中运行:

将此添加到您的 beancount 源文件中,然后像往常一样启动 fava:
2000-01-01 custom "fava-extension" "fava_investor" "{}"
你现在应该能在 fava 的侧边栏中看到一个“Investor”链接。有关如何配置该扩展的更多信息,请参阅附带的 huge-example.beancount

命令行运行:

命令行界面(CLI)通过 investor 命令访问,该命令为每个模块提供子命令。例如:

investor assetalloc-class
investor tlh
investor --help

Both the CLI and the utility (ticker-util) use click. 参见这里 以启用 zsh、bash 或 fish 的 shell 补全,强烈推荐使用。

遇到问题?

贡献指南

欢迎功能、修复和改进。请记住:

感谢您的贡献!

相关项目

--- Tranlated By Open Ai Tx | Last indexed: 2026-04-10 ---