public SnapshotValidationService( ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository, IOrdersHistoryRepository ordersHistoryRepository, IPositionsHistoryRepository positionsHistoryRepository, IOrderReader orderCache, ILog log) { _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository; _ordersHistoryRepository = ordersHistoryRepository; _positionsHistoryRepository = positionsHistoryRepository; _orderCache = orderCache; _log = log; }
public OrderCacheManager(OrdersCache orderCache, IMarginTradingBlobRepository blobRepository, IOrdersHistoryRepository ordersHistoryRepository, IPositionsHistoryRepository positionsHistoryRepository, MarginTradingSettings marginTradingSettings, ILog log) : base(nameof(OrderCacheManager), marginTradingSettings.BlobPersistence.OrdersDumpPeriodMilliseconds, log) { _orderCache = orderCache; _blobRepository = blobRepository; _ordersHistoryRepository = ordersHistoryRepository; _positionsHistoryRepository = positionsHistoryRepository; _log = log; }
public Application( CorrelationContextAccessor correlationContextAccessor, RabbitMqCorrelationManager correlationManager, ILoggerFactory loggerFactory, IOrdersHistoryRepository ordersHistoryRepository, ITradesRepository tradesRepository, ILog logger, Settings settings, CurrentApplicationInfo applicationInfo, ISlackNotificationsSender slackNotificationsSender) : base(correlationManager, loggerFactory, logger, slackNotificationsSender, applicationInfo) { _correlationContextAccessor = correlationContextAccessor; _ordersHistoryRepository = ordersHistoryRepository; _tradesRepository = tradesRepository; _log = logger; _settings = settings; }
public OrderEventsController(IOrdersHistoryRepository ordersHistoryRepository, OrderHistoryForSupportQuery orderHistoryForSupportQuery) { _ordersHistoryRepository = ordersHistoryRepository; _orderHistoryForSupportQuery = orderHistoryForSupportQuery; }
public OrderBlotterController( IOrdersHistoryRepository ordersHistoryRepository) { _ordersHistoryRepository = ordersHistoryRepository; }