public HedgeLimitOrdersController( IHedgeLimitOrderService hedgeLimitOrderService, IHedgeService hedgeService) { _hedgeLimitOrderService = hedgeLimitOrderService; _hedgeService = hedgeService; }
public LykkeExchangeAdapter( IPositionService positionService, ILykkeTradeService lykkeTradeService, IHedgeLimitOrderService hedgeLimitOrderService, ILykkeExchangeService lykkeExchangeService, IInstrumentService instrumentService, ILogFactory logFactory) { _positionService = positionService; _lykkeTradeService = lykkeTradeService; _hedgeLimitOrderService = hedgeLimitOrderService; _lykkeExchangeService = lykkeExchangeService; _instrumentService = instrumentService; _log = logFactory.CreateLog(this); }
public PositionReportService( IPositionService positionService, IHedgeLimitOrderService hedgeLimitOrderService, IAssetHedgeSettingsService assetHedgeSettingsService, IInvestmentService investmentService, IHedgeSettingsService hedgeSettingsService, IRateService rateService) { _positionService = positionService; _hedgeLimitOrderService = hedgeLimitOrderService; _assetHedgeSettingsService = assetHedgeSettingsService; _investmentService = investmentService; _hedgeSettingsService = hedgeSettingsService; _rateService = rateService; }
public ExternalExchangeAdapter( string exchangeName, ExchangeAdapterClientFactory exchangeAdapterClientFactory, IHedgeLimitOrderService hedgeLimitOrderService, IInstrumentService instrumentService, IExternalOrderRepository externalOrderRepository, IExternalTradeService externalTradeService, IPositionService positionService, ILogFactory logFactory, IReadOnlyDictionary <string, string> assetPairMapping) { Name = exchangeName; _exchangeAdapterClientFactory = exchangeAdapterClientFactory; _hedgeLimitOrderService = hedgeLimitOrderService; _instrumentService = instrumentService; _externalOrderRepository = externalOrderRepository; _externalTradeService = externalTradeService; _positionService = positionService; _assetPairMapping = assetPairMapping; _log = logFactory.CreateLog(this); }