Professional Documents
Culture Documents
DMP-04QuantiPy
DMP-04QuantiPy
Ishan Shah
Legal, Regulatory, and Economic: Inflation rate, GDP, Fed meeting dates, etc.
Source: EventVestor
# Fetch Data
from data import get_stock_data
data = get_stock_data('HDFC', start_date, end_date)
moving average 2 days > moving average of 7 days then buy and vice-versa
Sharpe Ratio
Returns
Volatility
Sortino Ratio
Max Drawdown
Ishan Shah