执行财务比率分析、DCF 估值、预算偏差分析以及滚动预测构建,以支持战略决策。用于分析财务报表、构建估值模型、评估预算偏差或构建财务预测。也适用于用户提到财务建模、现金流分析、公司估值、财务预测或电子表格分析的情况。
生产就绪的财务分析工具包,提供比率分析、DCF 估值、预算偏差分析和滚动预测构建。专为财务建模、预测与预算、管理报告、业务绩效分析和投资分析而设计。
scripts/ratio_calculator.py)从财务报表数据中计算并解读财务比率。
比率类别:
python scripts/ratio_calculator.py sample_financial_data.json
python scripts/ratio_calculator.py sample_financial_data.json --format json
python scripts/ratio_calculator.py sample_financial_data.json --category profitability
scripts/dcf_valuation.py)带有敏感性分析的现金流量折现(DCF)企业和股权估值。
功能:
python scripts/dcf_valuation.py valuation_data.json
python scripts/dcf_valuation.py valuation_data.json --format json
python scripts/dcf_valuation.py valuation_data.json --projection-years 7
scripts/budget_variance_analyzer.py)分析实际值 vs 预算值 vs 上年同期业绩,并带有重要性过滤。
功能:
python scripts/budget_variance_analyzer.py budget_data.json
python scripts/budget_variance_analyzer.py budget_data.json --format json
python scripts/budget_variance_analyzer.py budget_data.json --threshold-pct 5 --threshold-amt 25000
scripts/forecast_builder.py)基于驱动因素的收入预测,带有滚动现金流预测和场景建模。
功能:
python scripts/forecast_builder.py forecast_data.json
python scripts/forecast_builder.py forecast_data.json --format json
python scripts/forecast_builder.py forecast_data.json --scenarios base,bull,bear
| 参考资料 | 用途 |
|---|---|
references/financial-ratios-guide.md | 比率公式、解读、行业基准 |
references/valuation-methodology.md | DCF 方法论、WACC、终值、可比公司 |
references/forecasting-best-practices.md | 基于驱动因素的预测、滚动预测、准确性 |
references/industry-adaptations.md | 特定行业的指标和考虑因素(SaaS、零售、制造、金融服务、医疗保健) |
| 模板 | 用途 |
|---|---|
assets/variance_report_template.md | 预算偏差报告模板 |
assets/dcf_analysis_template.md | DCF 估值分析模板 |
assets/forecast_report_template.md | 收入预测报告模板 |
| 指标 | 目标 |
|---|---|
| 预测准确性(收入) | +/-5% |
| 预测准确性(费用) | +/-3% |
| 报告交付 | 100% 按时 |
| 模型文档 | 所有假设均有完整记录 |
| 偏差说明 | 100% 的重大偏差均有说明 |
所有脚本均接受 JSON 输入文件。有关涵盖所有四个工具的完整输入模式,请参见 assets/sample_financial_data.json。
无 - 所有脚本仅使用 Python 标准库(math、statistics、json、argparse、datetime)。不需要 numpy、pandas 或 scipy。