Hi community,

Starting from yesterday, making history call to VX future and trading VX future both failed, whereas they worked just fine before. Could anyone help me with this? 

Here is the code for adding VIX future, making history calls, and sending orders:

self.VX=self.AddFuture(Futures.Indices.VIX,Resolution.MINUTE, dataNormalizationMode=DataNormalizationMode.BackwardsRatio, dataMappingMode=DataMappingMode.OpenInterest, extendedMarketHours=True), 

df_VX = self.history(self.VX.symbol, 100, Resolution.HOUR) # empty

self.vx_contract = self.securities[self.VX.mapped]

if not self.portfolio.invested:

self.market_order(self.vx_contract.symbol, 1) # error

 

Thank you!