hsinming / MagicFormula

A python implementation of Magic formula investing described in The Little Book That Still Beats the Market by investor Joel Greenblatt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MagicFormula

A python implementation of the Magic Formula Investing described in The Little Book That Still Beats the Market by Joel Greenblatt.

This site explains how it works.

I also found some glossary at this site.

Getting started

Step 1: Install Anaconda (tutorial)

Step 2:

git clone https://github.com/hsinming/MagicFormula.git
cd MagicFormula
conda env create -f environment.yml
conda activate stock
python main.py

Configuration

There are some flags to be aware of:

  • -c Country. ['US', 'TW'], default='US'
  • -m Minimal market cap in USD, default=1000,000,000 USD

Inspired by nblade66 (github)

About

A python implementation of Magic formula investing described in The Little Book That Still Beats the Market by investor Joel Greenblatt.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%