Skip to content

Instantly share code, notes, and snippets.

View samchaaa's full-sized avatar
🥑
hi

Sam Chakerian samchaaa

🥑
hi
View GitHub Profile
@samchaaa
samchaaa / list.md
Created December 9, 2020 06:48 — forked from ih2502mk/list.md
Quantopian Lectures Saved
from sklearn.qda import QDA
#from sklearn.ensemble import RandomForestRegressor
from sklearn import preprocessing
import numpy as np
import pandas as pd
def initialize(context):
context.assets = sid(8554) # Trade SPY
context.model = QDA()
context.lookback = 5 # Look back