Skip to content

Instantly share code, notes, and snippets.

@dg32
dg32 / 01-02.py
Created August 19, 2016 13:13 — forked from dimi-tree/01-02.py
Udacity: Machine Learning for Trading
# Working with multiple stocks
"""
SPY is used for reference - it's the market
Normalize by the first day's price to plot on "equal footing"
"""
import os
import pandas as pd
import matplotlib.pyplot as plt