示例#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);
 }