Class LogAnalysis
Helper class to analyze order log.
Inheritance
object
LogAnalysis
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.Simulator
Assembly: TuringTrader.Simulator.dll
Syntax
public class LogAnalysis
Methods
| Improve this Doc View SourceGroupPositions(List<LogEntry>, bool)
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<T><LogEntry> | log | input log |
bool | lifo | grouping method. true (default) = last in/ first out. false = first in/ first out |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<T><LogAnalysis.Position> | container w/ positions |