Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Getting key error while querying for futures prices

Error:
KeyError:
(1074201706,)

Code:
prices = data.history(context.futures, 'price', 64, '1d')

Future: ('ER')
Future details from debugger:
ContinuousFuture(91569527401283584, root_symbol='ER', offset=0, roll_style='volume', adjustment='mum')

Error occurring when fetching future price on: 08/08/2016

2 responses

I am getting the same error on a bundle of futures for 08/03/2016

I'm getting this error as well when getting prices for group of futures.