How jedellender/convertible_bond_arb works
This is a small Python financial-pricing library. Its implemented workflow is a caller supplying option inputs to calculate a Black–Scholes call price, Greeks, or implied volatility; these calculations share the d1/d2 helper. Implied volatility solves for volatility by repeatedly evaluating the call-price function. The README is empty, and bond.py, convertible.py, and trees.py are empty in the supplied excerpts, so their possible roles are not represented as implemented capabilities.
Main entry points: pricing.py Option pricing
Components 8
Other components
- Library caller
- Option pricing
pricing.py - Greeks
pricing.py - Implied volatility
pricing.py - d1/d2 helper
pricing.py - NumPy
- SciPy stats
- SciPy solver
Connections 12
- Library caller → Option pricing: requests price
pricing.py - Library caller → Greeks: requests Greeks
pricing.py - Library caller → Implied volatility: requests volatility
pricing.py - Option pricing → d1/d2 helper: computes inputs
pricing.py - Greeks → d1/d2 helper: computes inputs
pricing.py - Implied volatility → Option pricing: evaluates price
pricing.py - Implied volatility → SciPy solver: solves root
pricing.py - Option pricing → NumPy: uses arrays/math
pricing.py - Greeks → NumPy: uses arrays/math
pricing.py - d1/d2 helper → NumPy: uses math
pricing.py - Option pricing → SciPy stats: uses normal CDF
pricing.py - Greeks → SciPy stats: uses normal functions
pricing.py