Show / Hide Table of Contents

Class LogEntry

Entry to order log.

Inheritance
object
LogEntry
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 LogEntry

Fields

| Improve this Doc View Source

BarOfExecution

Bar of trade execution.

Declaration
public Bar BarOfExecution
Field Value
Type Description
Bar
| Improve this Doc View Source

Commission

Commission paid for trade.

Declaration
public double Commission
Field Value
Type Description
double
| Improve this Doc View Source

FillPrice

Fill price of trade.

Declaration
public double FillPrice
Field Value
Type Description
double
| Improve this Doc View Source

InstrumentType

Instrument class. This field is required, as the Instrument is cleared from the OrderTicket to save memory.

Declaration
public LogEntryInstrument InstrumentType
Field Value
Type Description
LogEntryInstrument
| Improve this Doc View Source

OrderTicket

Original order ticket. Please note that the Instrument is set to null, to preserve memory. Use the Symbol field instead.

Declaration
public Order OrderTicket
Field Value
Type Description
Order
| Improve this Doc View Source

Symbol

Symbol traded. This is a shortcut, same as using Order.Instrument.Symbol

Declaration
public string Symbol
Field Value
Type Description
string
| Improve this Doc View Source

TargetPercentageOfNav

Asset's percentage of NAV after the order is executed. This value is only an estimate and serves the sole purpose of allowing use of v1 algorithms in v2 hosts.

Declaration
public double TargetPercentageOfNav
Field Value
Type Description
double

Properties

| Improve this Doc View Source

Action

Return string with order action. This is for convenience only, as this information can be reconstructed from the other fields.

Declaration
public LogEntryAction Action { get; }
Property Value
Type Description
LogEntryAction
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com