I don't know how to fix this error: "During the algorithm initialization, the following exception has occurred: Unable to locate exchange hours for Future-cmeglobex-BRRV18" The message doesn't tell me which statement causes it, but I was able to nail that down by commenting out various statements.
Have I done something wrong with the symbol, or do I just not understand how to properly use this API or what?
public class BasicTemplateAlgorithm : QCAlgorithm
{
private Symbol _spy = QuantConnect.Symbol.Create("SPY", SecurityType.Equity, Market.USA);
private Symbol _bct = QuantConnect.Symbol.Create("BRRV18", SecurityType.Future, Market.Globex);
..
}
public override void Initialize()
{
SetStartDate(2018, 1, 07); //Set Start Date
SetEndDate(2018, 10, 11); //Set End Date
SetCash(100000); //Set Strategy Cash
AddEquity("SPY", Resolution.Minute);
AddFutureContract(_bct,Resolution.Hour,true); //<--this guy causes the error
}