GithubHelp home page GithubHelp logo

homework-3's Introduction

2024-Spring-HW3

Installation

  1. python -m venv venv
  2. source venv/bin/activate
  3. pip install -r requirements.txt
  4. deactivate // leave the virtual environment

Part 1

Assignment Score

Problem 1 - equal weight portfolio

python Markowitz.py --score eqw

Problem 2 - risk parity portfolio

python Markowitz.py --score rp

Problem 3 - mean variance portfolio

python Markowitz.py --score mv

All Problems

python Markowitz.py --score all

Asset Allocation

Problem 1 - equal weight portfolio

python Markowitz.py --allocation eqw

Problem 2 - risk parity portfolio

python Markowitz.py --allocation rp

Problem 3 - mean variance portfolio

python Markowitz.py --allocation mv

Performance Check

Problem 3 - mean variance portfolio

python Markowitz.py --performance mv

Evaluation Metric

Problem 3 - mean variance portfolio

python Markowitz.py --report mv

Part 2

Assignment Score

Problem 1 - Sharp Ratio > 1

python Markowitz_2.py --score one

Problem 2 - Sharp Ratio > SPY

python Markowitz_2.py --score spy

All Problems

python Markowitz_2.py --score all

Asset Allocation

My portfolio

python Markowitz_2.py --allocation mp

Big portfolio

python Markowitz_2.py --allocation bmp

Performance Check

My portfolio

python Markowitz_2.py --performance mp

Big portfolio

python Markowitz_2.py --performance bmp

Evaluation Metric

My portfolio

python Markowitz_2.py --report mp

Big portfolio

python Markowitz_2.py --report bmp

Cumulative Result

My portfolio

python Markowitz_2.py --cumulative mp

Big portfolio

python Markowitz_2.py --cumulative bmp

homework-3's People

Contributors

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