Show / Hide Table of Contents

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

| Edit this page View Source

GroupPositions(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
List<LogEntry> log

input log

bool lifo

grouping method. true (default) = last in/ first out. false = first in/ first out

Returns
Type Description
List<LogAnalysis.Position>

container w/ positions

  • Edit this page
  • View Source
In this article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com