Skip to content

Chriz97/Python-Financial-Models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Financial Models

A collection of core financial and quantitative models implemented in Python, including corporate finance and derivatives pricing tools.

Tested on Arch Linux using the Pycharm Community Edition

This repository is intended for:

  • Finance students
  • Analysts
  • Quantitative finance beginners
  • Anyone interested in financial modeling with Python

📌 Models Included

1. CAPM (Capital Asset Pricing Model)

Calculates the expected return of an asset based on:

  • Risk-free rate
  • Market return
  • Asset beta

Key output:

  • Expected return using CAPM

2. WACC (Weighted Average Cost of Capital)

Computes a firm’s average cost of capital using:

  • Cost of equity
  • Cost of debt
  • Capital structure weights
  • Corporate tax rate

Key output:

  • Company WACC

3. Black–Scholes Model (Options)

Prices European options using the Black–Scholes formula.

Features:

  • Call and put option pricing
  • Sensitivity to volatility, maturity, and interest rates

4. Black–Scholes (Forex)

Applies the Black–Scholes framework to foreign exchange options, incorporating:

  • Domestic interest rate
  • Foreign interest rate
  • Exchange rate dynamics

🛠️ Technologies Used

  • Python 3
  • NumPy
  • SciPy
  • Math / Statistics

🚀 Getting Started

Clone the repository

git clone https://github.com/Chriz97/python-financial-models.git
cd python-financial-models

About

A collection of core financial and quantitative models implemented in **Python**, including corporate finance and derivatives pricing tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages