Class LogEntry
Entry to order log.
Inheritance
System.Object
LogEntry
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 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 |
---|---|
System.Double |
FillPrice
Fill price of trade.
Declaration
public double FillPrice
Field Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
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 |