public void Initialize() { _algorithm = new TestAlgorithm { HistoryProvider = new EmptyHistoryProvider() }; _algorithm.SetBrokerageModel(BrokerageName.FxcmBrokerage); _algorithm.SetCash(100000); _algorithm.AddSecurity(SecurityType.Forex, Ticker); _algorithm.SetFinishedWarmingUp(); }