Changeset 6138
- Timestamp:
- 05/05/11 19:50:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Views/TradingSolutionLineChartView.cs
r6136 r6138 95 95 private IEnumerable<double> GetProfits(IEnumerable<double> returns, IEnumerable<double> signals, double transactionCost) { 96 96 double p = 0; 97 double iterationReturn = 0.0;98 97 foreach (var signalReturn in returns.Zip(signals, (r, s) => new { Return = r, Signal = s })) { 98 double iterationReturn = 0.0; 99 99 double signal = signalReturn.Signal; 100 100 double actualReturn = signalReturn.Return;
Note: See TracChangeset
for help on using the changeset viewer.