Example #1
0
 public SnapshotService(
     IScheduleSettingsCacheService scheduleSettingsCacheService,
     IAccountsCacheService accountsCacheService,
     IQuoteCacheService quoteCacheService,
     IFxRateCacheService fxRateCacheService,
     IOrderReader orderReader,
     IDateService dateService,
     ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository,
     ISnapshotValidationService snapshotValidationService,
     IQueueValidationService queueValidationService,
     IMarginTradingBlobRepository blobRepository,
     ILog log,
     IFinalSnapshotCalculator finalSnapshotCalculator)
 {
     _scheduleSettingsCacheService = scheduleSettingsCacheService;
     _accountsCacheService         = accountsCacheService;
     _quoteCacheService            = quoteCacheService;
     _fxRateCacheService           = fxRateCacheService;
     _orderReader = orderReader;
     _dateService = dateService;
     _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository;
     _snapshotValidationService        = snapshotValidationService;
     _queueValidationService           = queueValidationService;
     _blobRepository          = blobRepository;
     _log                     = log;
     _finalSnapshotCalculator = finalSnapshotCalculator;
 }
Example #2
0
 public FakeSnapshotService(ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository,
                            IDateService dateService,
                            ILog log)
 {
     _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository;
     _dateService = dateService;
     _log         = log;
 }
Example #3
0
 public SnapshotValidationService(
     ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository,
     IOrdersHistoryRepository ordersHistoryRepository,
     IPositionsHistoryRepository positionsHistoryRepository,
     IOrderReader orderCache,
     ILog log)
 {
     _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository;
     _ordersHistoryRepository          = ordersHistoryRepository;
     _positionsHistoryRepository       = positionsHistoryRepository;
     _orderCache = orderCache;
     _log        = log;
 }
Example #4
0
 public SnapshotService(
     IScheduleSettingsCacheService scheduleSettingsCacheService,
     IAccountsCacheService accountsCacheService,
     IQuoteCacheService quoteCacheService,
     IFxRateCacheService fxRateCacheService,
     IOrderReader orderReader,
     IDateService dateService,
     ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository)
 {
     _scheduleSettingsCacheService = scheduleSettingsCacheService;
     _accountsCacheService         = accountsCacheService;
     _quoteCacheService            = quoteCacheService;
     _fxRateCacheService           = fxRateCacheService;
     _orderReader = orderReader;
     _dateService = dateService;
     _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository;
 }
Example #5
0
 public DraftSnapshotKeeper(ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository)
 {
     _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository;
 }