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 SourceBarOfExecution
Bar of trade execution.
Declaration
public Bar BarOfExecution
Field Value
Type | Description |
---|---|
Bar |
Commission
Commission paid for trade.
Declaration
public double Commission
Field Value
Type | Description |
---|---|
double |
FillPrice
Fill price of trade.
Declaration
public double FillPrice
Field Value
Type | Description |
---|---|
double |
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 |
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 |
Symbol
Symbol traded. This is a shortcut, same as using Order.Instrument.Symbol
Declaration
public string Symbol
Field Value
Type | Description |
---|---|
string |
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 SourceAction
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 |