public static IAppHost AddCAlgoRedisAccount(this IAppHost app) { var brokerAccount = new CAlgoRedisBot(); brokerAccount.Config = new TCAlgoRedisBot { AccountMode = AccountMode.Demo, AccountId = "3235730", BrokerName = "IC Markets", }; app.Add(brokerAccount); return(app); }
public static IAppHost AddBacktest(this IAppHost app, TBacktestAccount config = null) { app.Add(new BacktestTask(config ?? DefaultConfig)); return(app); }