Changeset 16243 for trunk/HeuristicLab.Problems.DataAnalysis.Trading
- Timestamp:
- 10/19/18 13:27:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Model.cs
r15583 r16243 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using System.Linq; … … 53 54 } 54 55 56 public override bool IsProblemDataCompatible(IDataAnalysisProblemData problemData, out string errorMessage) { 57 if (problemData == null) throw new ArgumentNullException("problemData", "The provided problemData is null."); 58 return IsDatasetCompatible(problemData.Dataset, out errorMessage); 59 } 60 61 55 62 // Transforms an enumerable of real values to an enumerable of trading signals (buy(1) / hold(0) / sell(-1)) 56 63 public static IEnumerable<double> GetSignals(IEnumerable<double> xs) {
Note: See TracChangeset
for help on using the changeset viewer.