示例#1
0
 public TradeSignalUpdatedDomainEventHandler(
     ITraceRepository traceRepository,
     ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     this._traceRepository = traceRepository ?? throw new ArgumentNullException(nameof(traceRepository));
     this._trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }
示例#2
0
 public TraceClosedDomainEventHandler(ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     _trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }
示例#3
0
 public InvestmentCandleDataRequestedIntegrationEventHandler(ITraceRepository traceRepository, ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     _traceRepository = traceRepository ?? throw new ArgumentNullException(nameof(traceRepository));
     _trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }
 public BacktestingDataCreatedIntegrationEventHandler(ITraceRepository traceRepository, ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     this._traceRepository = traceRepository ?? throw new ArgumentNullException(nameof(traceRepository));
     this._trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }
 public InvestmentSettledIntegrationEventHandler(ITraceRepository traceRepository, IMediator mediator, ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     _traceRepository = traceRepository ?? throw new ArgumentNullException(nameof(traceRepository));
     _mediator        = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }
示例#6
0
 public PaperTradeDataCreatedIntegrationEventHandler(ITraceRepository traceRepository, ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     _traceRepository = traceRepository ?? throw new ArgumentNullException(nameof(traceRepository));
     _trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }
 public RoundtripTargetPriceHitIntegrationEventHandler(ITraceRepository traceRepository, ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     _traceRepository = traceRepository ?? throw new ArgumentNullException(nameof(traceRepository));
     _trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }
 public TargetPriceCandleDataCreatedIntegrationEventHandler(ITrendAnalysisIntegrationEventService trendAnalysisIntegrationEventService)
 {
     _trendAnalysisIntegrationEventService = trendAnalysisIntegrationEventService ?? throw new ArgumentNullException(nameof(trendAnalysisIntegrationEventService));
 }