コード例 #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
ファイル: AccountController.cs プロジェクト: vlshl/pulxer
 public AccountController(IAccountBL accountBL, IPositionBL positionBL, IRepositoryBL reposBL)
 {
     _accountBL  = accountBL;
     _positionBL = positionBL;
     _reposBL    = reposBL;
 }