GithubHelp home page GithubHelp logo

emocreator / finance_project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.74 MB

Exploring pricing models and stock market analysis with Python. Dive into Black-Scholes, Binomial Trees, and more. Your gateway to financial data analysis.

Jupyter Notebook 99.53% Python 0.47%

finance_project's Introduction

Finance Project/Pricing Models

This project contains:

a) implementations and analysis of pricing models using Python.

b) implementations/analysis of the stock market using Python for data analysis.

Folder Structure

There are 4 main folders:

Black-Scholes

Contains a Jupyter notebook B_s.ipynb implementing the Black-Scholes formula for European option valuation.

Linear_Algebra_Behind_Option

Contains a notebook labo.ipynb explaining the linear algebra concepts behind options pricing.

Stock_Market_Analysis

Contains a notebook SMA.ipynb retrieving historical data and performs analysis using Python and Pandas.

Simple Moving average

Contains a notebook SMA.ipynb retrieving historical data and performs analysis using Python and Pandas.

Models

The project covers two key option pricing models:

Black-Scholes Formula

  • Closed-form solution for European options
  • Implemented in B_s.ipynb
  • Requires underlying price, volatility, interest rates, time to maturity
  • Provides quick and efficient pricing

Binomial Tree

  • Discretized numerical model
  • Allows early exercise valuation
  • Implemented in labo.ipynb
  • Intuitively represents different price paths
  • Computationally more intensive than Black-Scholes

Usage

The models can be used to price European and American options. The notebooks contain examples of calculating prices under different market conditions.

The linear algebra notebook also explains how matrix operations can derive the risk-neutral pricing used in these models.

These notebooks provide an introduction to implementing and understanding key option pricing techniques in Python.

Author

finance_project's People

Contributors

emocreator avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.