Giter VIP home page Giter VIP logo

full-quant's Introduction

full-quant

This repo contains Python implementations of concepts like Modern portfolio theory, CAPM,Black Scholes Option Pricing Model and prediction of stock prices using Monte Carlo Simulation from quantitative finance. All the datasets for the code implementations are obtained from the yahoofinance servers directly. The yfinance python module helps us to download historical market data quite efficiently.

The Bond Pricing Jupyter Notebook is an implementation of Zero Coupon Bonds and Coupon Bonds present and final value calculations in python. Zero Coupon Bonds pay the entire invested amount and some profit at the maturity. Coupon Bonds represent interest payments at equal intervals till maturity unlike Zero Coupon Bonds.

Wiener Process or the Brownian motion is an important assumption to model the stock prices. The Wiener Process python implementation involves plotting the various datapoints drawn by cumulatively adding a random value from a normal distribution with mean as 0 and variance as dt ( the timestep provided ). The wiener process may result in negative values for the stock values which do not make sense hence paving the way for the geometric random walk process.

Geometric Brownian Motion is a great starting point to model stock prices and predict their values. This is akin to assuming a lognormal distribution for the stock prices.

The Value at Risk Python implementation for the Citigroup stock data for a given timeframe helps us understand the maximum amount of money we may lose from our investment based on a pre-specified confidence interval. The main assumption for this VaR calculation was that the returns are normally distributed.

full-quant's People

Contributors

riteshchhetri10 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.