Skip to content

arbiger/valuation-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Valuation Calculator

Fast stock valuation calculator with instant market valuation metrics.

Inspired by:

Features

  • PEG Ratio - Implied EPS growth calculation
  • EV/EBITDA + Rule of 40
  • DCF - Discounted Cash Flow with sensitivity analysis
  • Holdings Dashboard - Portfolio valuation at a glance
  • Index Valuation - SPY, QQQ, DIA

Installation

# Clone the repo
git clone https://github.com/arbiger/valuation-calculator.git
cd valuation-calculator

# Install dependencies
pip install yfinance

Usage

# Full valuation
python valuation.py value NVDA

# PEG only
python valuation.py value peg NVDA

# EV/EBITDA + Rule 40
python valuation.py value ev NVDA

# DCF (with custom params)
python valuation.py value dcf NVDA --wacc=0.08 --growth=0.15 --terminal=0.03

# All holdings (requires holdings.md)
python valuation.py value

# Major indices
python valuation.py value --index

Commands

Command Description
value <ticker> Full valuation for a single stock
value peg <ticker> PEG + Forward/Trailing P/E + Implied Growth
value ev <ticker> EV/EBITDA + Rule of 40
value dcf <ticker> DCF valuation
value All holdings valuation
value --index Three major indices (SPY, QQQ, DIA)

DCF Parameters

Parameter Description Default
--wacc=N Weighted Average Cost of Capital 10%
--growth=N Future growth rate 5%
--terminal=N Terminal growth rate 2.5%

Evaluation Criteria

PEG Rating
< 0.5 🔥 Severely Undervalued
0.5 - 1.0 👍 Undervalued
1.0 - 1.5 ✅ Fair Value
> 1.5 ⚠️ Overvalued
DCF Upside Rating
> 20% ✅ Undervalued
-20% ~ 20% ⚠️ Fair Value
< -20% ❌ Overvalued

Requirements

  • Python 3.9+
  • yfinance

License

MIT

About

Fast stock valuation calculator - compute PEG, EV/EBITDA, Rule of 40, DCF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages