Class IAccount.OrderTicket
Container collecting all order information at time of order submittal.
Inheritance
object
IAccount.OrderTicket
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class IAccount.OrderTicket
Constructors
| Improve this Doc View SourceOrderTicket(DateTime, string, double, OrderType, double)
Create new order ticket.
Declaration
public OrderTicket(DateTime submitDate, string symbol, double targetAllocation, OrderType orderType, double orderPrice = 0)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | submitDate | |
string | symbol | |
double | targetAllocation | |
OrderType | orderType | |
double | orderPrice |
Fields
| Improve this Doc View SourceName
Asset name. This is the name that was used to load the asset, which may or may not be identical to the asset's ticker symbol.
Declaration
public readonly string Name
Field Value
Type | Description |
---|---|
string |
OrderPrice
Price for stop or limit orders.
Declaration
public readonly double OrderPrice
Field Value
Type | Description |
---|---|
double |
OrderType
Order type.
Declaration
public readonly OrderType OrderType
Field Value
Type | Description |
---|---|
OrderType |
SubmitDate
Order submit date.
Declaration
public readonly DateTime SubmitDate
Field Value
Type | Description |
---|---|
System.DateTime |
TargetAllocation
Asset target allocation, as fraction of NAV.
Declaration
public readonly double TargetAllocation
Field Value
Type | Description |
---|---|
double |