public ChartSystem(IChartDA chartDA, IInstrumBL instrumBL, IInsStoreBL insStoreBL, IAccountDA accountDA, IRepositoryBL reposBL, ChartManagerCache cmCache, ITickDispatcher tickDisp) { _chartDA = chartDA; _instrumBL = instrumBL; _insStoreBL = insStoreBL; _accountDA = accountDA; _reposBL = reposBL; _cmCache = cmCache; _tickDisp = tickDisp; }
public TestRunCtrl(IConsole console, IAccountDA accountDA, IAccountBL accountBL, IInstrumBL instrumBL, IInsStoreBL insStoreBL, ITickSourceBL tickSourceBL, ITestConfigBL testConfigBL, ILogger logger, IConfig config, IPositionBL posBL, IRepositoryBL reposBL) : base(console) { _console = console; _accountDA = accountDA; _accountBL = accountBL; _instrumBL = instrumBL; _insStoreBL = insStoreBL; _tickSourceBL = tickSourceBL; _testConfigBL = testConfigBL; _logger = logger; _config = config; _posBL = posBL; _reposBL = reposBL; }
public TestRun(IAccountBL accountBL, IAccountDA accountDA, IInstrumBL instrumBL, IInsStoreBL insStoreBL, ITickSourceBL tickSourceBL, ITestConfigBL testConfigBL, ILogger logger, IConfig config, IPositionBL posBL, IRepositoryBL reposBL) { _accountBL = accountBL; _accountDA = accountDA; _instrumBL = instrumBL; _insStoreBL = insStoreBL; _tickSourceBL = tickSourceBL; _testConfigBL = testConfigBL; _bot_platform = new Dictionary <IBot, ILeechPlatform>(); _logger = logger; _config = config; _posBL = posBL; _reposBL = reposBL; }
public InsStoreData(IInsStoreDA insStoreDA, InsStoreBL insStoreBL, IStorage storage, IRepositoryBL reposBL, ILeechConfig config, ILogger logger) { _insStoreDA = insStoreDA; _insStoreBL = insStoreBL; _storage = storage; _reposBL = reposBL; _config = config; _logger = logger; _tfs = new Timeframes[] { Timeframes.Min, Timeframes.Min5, Timeframes.Hour, Timeframes.Day }; _insStore_barRow = new Dictionary <Common.Data.InsStore, BarRow>(); _insID_barRows = new Dictionary <int, List <BarRow> >(); }
public DataProtect(IRepositoryBL reposBL) { _reposBL = reposBL; }
public AccountController(IAccountBL accountBL, IPositionBL positionBL, IRepositoryBL reposBL) { _accountBL = accountBL; _positionBL = positionBL; _reposBL = reposBL; }