public LiveRoundtripExitOrderExecutedIntegrationEventHandler(IRoundtripRepository roundtripRepository, IInvestingIntegrationEventService investingIntegrationEventService)
 {
     _roundtripRepository = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
     _investingIntegrationEventService = investingIntegrationEventService ?? throw new ArgumentNullException(nameof(investingIntegrationEventService));
 }
Exemplo n.º 2
0
 public InvestmentForcedCloseDomainEventHandler(IRoundtripRepository roundtripRepository)
 {
     _roundtripRepository = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
 }
 public NextTargetPriceGeneratedIntegrationEventHandler(IRoundtripRepository roundtripRepository)
 {
     _roundtripRepository = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
 }
 public RoundtripEntryOrderSubmittedDomainEventHandler(IInvestmentRepository investmentRepository, IRoundtripRepository roundtripRepository, IInvestingIntegrationEventService investingIntegrationEventService)
 {
     _investingIntegrationEventService = investingIntegrationEventService ?? throw new ArgumentNullException(nameof(investingIntegrationEventService));
 }
Exemplo n.º 5
0
 public RoundtripsController(InvestingContext context, IRoundtripRepository roundtripRepository)
 {
     _context = context;
     this._roundtripRepository = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
 }
Exemplo n.º 6
0
 public RoundtripForcedSellingDomainEventHandler(IInvestmentRepository investmentRepository, IRoundtripRepository roundtripRepository, IInvestingIntegrationEventService investingIntegrationEventService)
 {
     _investmentRepository             = investmentRepository ?? throw new ArgumentNullException(nameof(investmentRepository));
     _roundtripRepository              = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
     _investingIntegrationEventService = investingIntegrationEventService ?? throw new ArgumentNullException(nameof(investingIntegrationEventService));
 }
 public BacktestingPriceChangedIntegrationEventHandler(IRoundtripRepository roundtripRepository)
 {
     _roundtripRepository = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
 }
 public InvestmentSellingAdviceCreatedDomainEventHandler(IRoundtripRepository roundtripRepository)
 {
     _roundtripRepository = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
 }
 public ExchangeMarketPriceUpdatedIntegrationEventHandler(IRoundtripRepository roundtripRepository, IInvestmentRepository investmentRepository)
 {
     _roundtripRepository  = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
     _investmentRepository = investmentRepository ?? throw new ArgumentNullException(nameof(investmentRepository));
 }
 public RoundtripTargetPriceHitDomainEventHandler(IRoundtripRepository roundtripRepository, IInvestingIntegrationEventService investingIntegrationEventService)
 {
     _roundtripRepository = roundtripRepository ?? throw new ArgumentNullException(nameof(roundtripRepository));
     _investingIntegrationEventService = investingIntegrationEventService ?? throw new ArgumentNullException(nameof(investingIntegrationEventService));
 }