예제 #1
0
파일: ChartSystem.cs 프로젝트: vlshl/pulxer
 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;
 }
예제 #2
0
파일: TestRunCtrl.cs 프로젝트: vlshl/pulxer
 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;
 }
예제 #3
0
 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;
 }
예제 #4
0
        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> >();
        }
예제 #5
0
파일: DataProtect.cs 프로젝트: vlshl/leech
 public DataProtect(IRepositoryBL reposBL)
 {
     _reposBL = reposBL;
 }
예제 #6
0
 public AccountController(IAccountBL accountBL, IPositionBL positionBL, IRepositoryBL reposBL)
 {
     _accountBL  = accountBL;
     _positionBL = positionBL;
     _reposBL    = reposBL;
 }