コード例 #1
0
 internal PortfolioStatistics(Portfolio portfolio)
 {
     this.portfolio = portfolio;
     this.detector = new TradeDetector(TradeDetectionType.FIFO);
     this.detector.TradeDetected += new TradeInfoEventHandler(this.detector_TradeDetected);
 }
コード例 #2
0
 internal PortfolioStatistics(Portfolio portfolio)
 {
     this.portfolio = portfolio;
     this.detector  = new TradeDetector(TradeDetectionType.FIFO);
     this.detector.TradeDetected += new TradeInfoEventHandler(this.detector_TradeDetected);
 }