Overall Statistics |
Total Trades 0 Average Win 0% Average Loss 0% Compounding Annual Return 0% Drawdown 0% Expectancy 0 Net Profit 0% Sharpe Ratio 0 Loss Rate 0% Win Rate 0% Profit-Loss Ratio 0 Alpha 0 Beta 0 Annual Standard Deviation 0 Annual Variance 0 Information Ratio 0 Tracking Error 0 Treynor Ratio 0 Total Fees $0.00 |
from clr import AddReference AddReference("System") AddReference("QuantConnect.Algorithm") AddReference("QuantConnect.Common") from System import * from QuantConnect import * from QuantConnect.Algorithm import * from datetime import timedelta from decimal import Decimal from functools import reduce import QuantConnect.Securities.Option import QuantConnect.Securities.Equity from QuantConnect.Securities.Option import OptionHolding from QuantConnect.Securities.Equity import EquityHolding class GaboOptionsTrain(QCAlgorithm): def Initialize(self): # self.SetStartDate(2015, 12, 24) # self.SetStartDate(2016, 3, 31) self.SetStartDate(2016, 3, 31) self.SetEndDate(2016, 6, 30) self.SetCash(100000) self.option = self.AddOption("GOOG") self.equity = self.AddEquity("GOOG", Resolution.Minute) self.slice = None # set our strike/expiry filter for this option chain self.option.SetFilter(-10000000, +0, timedelta(14), timedelta(50)) def OnData(self, slice): pass