Category: Screening / Analytics
Scans option chains to compute implied volatility across strikes and expiries, identifying mispriced options and displaying the vol surface.
- Fetches the full option chain via
get_option_chainwith pagination. - Classifies each contract as CALL or PUT via name/code heuristics.
- Computes implied vol via Newton-Raphson back-solve using Black-Scholes.
- Groups results by expiry and displays skew tables.
- Highlights the vol smile bottom and overall skew spread.
python3 main.py # defaults to HK.00700
python3 main.py --stock HK.00700 --min-oi 100get_option_chainwith pagination- Black-Scholes implied vol via Newton-Raphson (pure
math.erf) - Moneyness classification (ATM/OTM/ITM)
- Vol skew visualization via formatted tables
- Pure stdlib — no numpy/scipy