public RealisedPnLSettingsController(
     IWalletSettingsService walletSettingsService,
     IRealisedPnLService realisedPnLService)
 {
     _walletSettingsService = walletSettingsService;
     _realisedPnLService    = realisedPnLService;
 }
示例#2
0
 public ExternalTradeSubscriber(ILogFactory logFactory,
                                ExchangeSettings exchangeSettings,
                                IExternalTradeService externalTradeService,
                                IRealisedPnLService realisedPnLService)
 {
     _log                  = logFactory.CreateLog(this);
     _logFactory           = logFactory;
     _settings             = exchangeSettings;
     _externalTradeService = externalTradeService;
     _realisedPnLService   = realisedPnLService;
 }
示例#3
0
 public LykkeTradeSubscriber(ILogFactory logFactory,
                             ExchangeSettings exchangeSettings,
                             ILykkeTradeService lykkeTradeService,
                             IRealisedPnLService realisedPnLService)
 {
     _log                = logFactory.CreateLog(this);
     _logFactory         = logFactory;
     _settings           = exchangeSettings;
     _lykkeTradeService  = lykkeTradeService;
     _realisedPnLService = realisedPnLService;
 }
 public PnLController(IPnLService pnLService, IRealisedPnLService realisedPnLService)
 {
     _pnLService         = pnLService;
     _realisedPnLService = realisedPnLService;
 }