Class LogAnalysis
Helper class to analyze order log.
Inheritance
System.Object
LogAnalysis
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TuringTrader.Simulator
Assembly: TuringTrader.Simulator.dll
Syntax
public class LogAnalysis
Methods
| Improve this Doc View SourceGroupPositions(List<LogEntry>, Boolean)
Analyse log files and transform entries and exits into positions held.
Declaration
public static List<LogAnalysis.Position> GroupPositions(List<LogEntry> log, bool lifo = true)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<LogEntry> | log | input log |
System.Boolean | lifo | grouping method. true (default) = last in/ first out. false = first in/ first out |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<LogAnalysis.Position> | container w/ positions |