GithubHelp home page GithubHelp logo

blacklitterman-implementation's Introduction

Black Litterman Model Implementation

Quantitative Finance 2021 final project. This repository contains an implementation of the Black-Litterman model, along with supporting files for backtesting and statistical analysis.

Table of Contents

Introduction

The Black-Litterman model is a popular portfolio optimization technique that combines market equilibrium assumptions with an investor's subjective views on asset returns. This repository provides an implementation of the Black-Litterman model, allowing users to incorporate their own views and perform portfolio allocation based on the model's outputs.

Files

The repository consists of the following files:

  1. Backtesting.ipynb: This Jupyter Notebook file contains code for backtesting the Black-Litterman model on historical data. It provides an example of how the model can be applied to evaluate its performance over a specific time period.

  2. Statistic.py: This Python file contains functions for calculating various statistics related to the Black-Litterman model, such as portfolio returns, risk measures, and performance metrics. It serves as a utility module for analyzing the model's results.

  3. blacklitterman.py: This Python file contains the main implementation of the Black-Litterman model. It includes functions for incorporating investor views, calculating equilibrium returns, and performing portfolio allocation based on the model's outputs.

Usage

To use this implementation of the Black-Litterman model, follow these steps:

  1. Clone the repository:
git clone https://github.com/your-username/black-litterman-model.git
  1. Navigate to the repository directory:

  2. Open the Backtesting.ipynb notebook in Jupyter or your preferred Python environment to see an example of how to apply the Black-Litterman model to historical data.

  3. Explore the Statistic.py module for additional statistical analysis functions related to the Black-Litterman model.

  4. Incorporate the blacklitterman.py module into your own projects to leverage the Black-Litterman model for portfolio optimization.

Contributing

Contributions to this repository are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. We appreciate your contributions!

License

This project is licensed under the MIT License.

blacklitterman-implementation's People

Contributors

seanchentaipei avatar

Stargazers

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