public TradeMonitoringController(IOrdersSnapshotReaderService ordersSnapshotReaderService,
                                  IOrderBookSnapshotReaderService orderBookSnapshotReaderService,
                                  IConvertService convertService)
 {
     _ordersSnapshotReaderService    = ordersSnapshotReaderService;
     _orderBookSnapshotReaderService = orderBookSnapshotReaderService;
     _convertService = convertService;
 }
Exemple #2
0
 public AccountHistoryController(
     IMarginTradingAccountsRepository accountsRepository,
     IMarginTradingAccountHistoryRepository accountsHistoryRepository,
     IMarginTradingOrdersHistoryRepository ordersHistoryRepository,
     IOrdersSnapshotReaderService ordersSnapshotReaderService)
 {
     _accountsRepository          = accountsRepository;
     _accountsHistoryRepository   = accountsHistoryRepository;
     _ordersHistoryRepository     = ordersHistoryRepository;
     _ordersSnapshotReaderService = ordersSnapshotReaderService;
 }