Skip to content

nchinling/derivatives_modelling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Financial Calculator App

Overview

This project is a web-based financial calculator application that provides users with the ability to perform various financial calculations, including Black-Scholes option pricing, CAPM (Capital Asset Pricing Model), bond pricing, intrinsic value calculation, and dividend yield calculation. The application is built using React for the frontend and Django for the backend.

Features

Financial Models

The application includes the following financial models:

  • Black-Scholes Option Pricing:

    • Allows users to calculate call and put option prices based on inputs such as asset price, exercise price, time to expiry, risk-free interest rate, volatility, and dividend yield.
  • CAPM (Capital Asset Pricing Model):

    • Provides the expected return on an investment based on risk-free interest rate, beta, and market return.
  • Bond Pricing:

    • Enables users to calculate the price of a bond using inputs like face value, coupon rate, yield to maturity, and time to maturity.
  • Intrinsic Value Calculation:

    • Calculates the intrinsic value of a stock based on inputs like earnings per share (EPS) and discount rate.
  • Dividend Yield Calculation:

    • Helps users determine the dividend yield of a stock using dividend per share and stock price.

User Interface

The application features a user-friendly interface with input forms for each financial model, allowing users to input relevant parameters and receive calculated results. The UI also includes a navigation bar for easy access to different financial models.

How to Use

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies using npm install for the frontend and pip install -r requirements.txt for the backend.
  4. Run the frontend and backend servers.
  5. Access the application through a web browser.

Technologies Used

  • Frontend:

    • React
    • React Router
  • Backend:

    • Django
    • Django REST Framework
  • Styling:

    • CSS
  • API Communication:

    • Axios

Setup and Configuration

  1. Set up the Django backend with necessary configurations.
  2. Configure the React frontend to communicate with the Django backend.

Contribution Guidelines

Feel free to contribute to the project by submitting bug reports, feature requests, or pull requests. Follow the standard GitHub flow for contributions.

Author

Ng Chin Ling

About

A financial calculator app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published