Skip to content

Instantly share code, notes, and snippets.

@lars-x
lars-x / 01-02.py
Created March 23, 2021 17:34 — 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