Thank you for the answer. If I change now to Resolution.Minute it works but when I try to do it in onData event, I still don't get any history data.
First I tried like this:
dfh = self.History(self.futureSymbol, 24, Resolution.Minute)
and then I tried like this:
chain = slice.FuturesChains[self.futureSymbol]
underlying = chain.Underlying
contracts = chain.Contracts.Value
for contract in contracts:
dfh = self.History(contract.Symbol, 24, Resolution.Minute)
self.Log(str(len(dfh)))
In the second case I got error: TypeError : unindexable object in believe in first line.
The code was copied for your documentaiton, there is still some C# code in python examples.