@cking any luck with this? I'm also seeing the same issue... not quite understanding what does without using optimization response is.
data = bt.feeds.Quandl(
dataname='AAPL',
fromdate = datetime(2017,1,1),
todate = datetime(2018,1,1),
buffered= True,
apikey="XXXXXXXX"
)
# Add the Data Feed to Cerebro
cerebro.adddata(data)
# Set our desired cash start
cerebro.broker.setcash(100000.0)
# Print out the starting conditions
print('Starting Portfolio Value: %.2f' % cerebro.broker.getvalue())
# Run over everything
cerebro.run()
when I run this, i get the following...
AttributeError: 'NoneType' object has no attribute 'close'
I am using python 3.6, which could be an issue.