Class Order
Defines properties that provide information about a specific order working in the market
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Assembly: tt-net-api.dll
Syntax
public class Order : IEquatable<Order>, IComparable<Order>
Fields
PreviousAction
Declaration
public OrderAction PreviousAction
Field Value
Properties
Account
Declaration
public Account Account { get; }
Property Value
AccountId
Declaration
public ulong AccountId { get; }
Property Value
Action7x
Declaration
[Obsolete("Action7x property is provided for backwards compatibility only and will be removed in a future release. Please use OrdStatus instead. ")]
public OrderAction Action7x { get; }
Property Value
Algo
Declaration
public Algo Algo { get; }
Property Value
AlgoInstumentId
Declaration
public ulong AlgoInstumentId { get; }
Property Value
AlgoServerId
Declaration
public string AlgoServerId { get; }
Property Value
ApplicationId
Declaration
public string ApplicationId { get; }
Property Value
AverageFillPrice
Declaration
public Price AverageFillPrice { get; }
Property Value
BrokerKey
Declaration
public BrokerKey BrokerKey { get; }
Property Value
BuySell
Declaration
public BuySell BuySell { get; }
Property Value
CanceledQuantity
Declaration
public Quantity CanceledQuantity { get; }
Property Value
ClearingAccount
Declaration
public string ClearingAccount { get; }
Property Value
ClearingAccountName
Declaration
public string ClearingAccountName { get; }
Property Value
ClearingAccountOverride
Declaration
public string ClearingAccountOverride { get; }
Property Value
Client
Declaration
public string Client { get; }
Property Value
ClientIP
Declaration
public uint ClientIP { get; }
Property Value
ClientOrderId
Declaration
public ulong ClientOrderId { get; }
Property Value
CoLocation
Declaration
public MarketId CoLocation { get; }
Property Value
CommodityDerivIndicator
Declaration
public MiFIDBooleanEnum CommodityDerivIndicator { get; }
Property Value
CompanyKey
Declaration
public CompanyKey CompanyKey { get; }
Property Value
ConnectionId
Declaration
public ulong ConnectionId { get; }
Property Value
CurrentUserId
Declaration
public ulong CurrentUserId { get; }
Property Value
CustOrderCapacity
Declaration
public CustOrderCapacity CustOrderCapacity { get; }
Property Value
CxlRejectReason
Declaration
public CxlRejReason CxlRejectReason { get; }
Property Value
DisclosedQuantity
Declaration
public Quantity DisclosedQuantity { get; }
Property Value
ExchangeClOrderId
Declaration
public string ExchangeClOrderId { get; }
Property Value
ExchangeOrderId
Declaration
public string ExchangeOrderId { get; }
Property Value
ExchangeStamp
Declaration
public string ExchangeStamp { get; }
Property Value
ExchangeTransactionNumber
Declaration
public string ExchangeTransactionNumber { get; }
Property Value
ExchTransactionTime
Declaration
public DateTime ExchTransactionTime { get; }
Property Value
Type |
Description |
DateTime |
|
ExecutionDecision
Declaration
public string ExecutionDecision { get; }
Property Value
ExecutionType
Declaration
public ExecType ExecutionType { get; }
Property Value
ExpireDate
Declaration
public ulong ExpireDate { get; }
Property Value
FillQuantity
Declaration
public Quantity FillQuantity { get; }
Property Value
GiveUp
Declaration
public string GiveUp { get; }
Property Value
GroupId
Declaration
public string GroupId { get; }
Property Value
HoldOrderFeatures
Declaration
public HoldOrderFeatures HoldOrderFeatures { get; }
Property Value
Instrument
Declaration
public Instrument Instrument { get; }
Property Value
InstrumentDetails
Declaration
public InstrumentDetails InstrumentDetails { get; }
Property Value
InstrumentKey
Declaration
public InstrumentKey InstrumentKey { get; }
Property Value
InvestmentDecision
Declaration
public string InvestmentDecision { get; }
Property Value
IsAutomated
Declaration
public bool IsAutomated { get; }
Property Value
IsChild
Declaration
public bool IsChild { get; }
Property Value
IsExchangeOrder
Declaration
public bool IsExchangeOrder { get; }
Property Value
IsExpired
Declaration
public bool IsExpired { get; }
Property Value
IsHoldInRejectedOrder
Declaration
public bool IsHoldInRejectedOrder { get; }
Property Value
IsOnHold
Declaration
public bool IsOnHold { get; }
Property Value
IsParent
Declaration
public bool IsParent { get; }
Property Value
IsQueueHolder
Declaration
public bool IsQueueHolder { get; }
Property Value
IsRejected
Declaration
public bool IsRejected { get; }
Property Value
IsReload
Declaration
public bool IsReload { get; }
Property Value
IsSniper
Declaration
public bool IsSniper { get; }
Property Value
IsStaged
Declaration
public bool IsStaged { get; }
Property Value
IsSynthetic
Declaration
public bool IsSynthetic { get; }
Property Value
LimitPrice
Declaration
public Price LimitPrice { get; }
Property Value
LiquidityProvision
Declaration
public MiFIDBooleanEnum LiquidityProvision { get; }
Property Value
Message
Declaration
public string Message { get; }
Property Value
MinimumQuantity
Declaration
public Quantity MinimumQuantity { get; }
Property Value
OCReceived
Time in UTC the Order Connector received the outbound order.
Declaration
public DateTime OCReceived { get; }
Property Value
Type |
Description |
DateTime |
|
OCSentToExchange
Time in UTC the Order Connector sent the order to the exchange.
Order times are in the following order:
Sent time the SDK App sent the order
OCReceived time the OC received the order (this is after risk checking)
OCSentToExchange time the OC sent the order to the exchange
ExchTransactionTime time of transaction reported by the exchange
Received time the OC received the response from the exchange
Processed time the exchange response left the OC
SDKProcess time the SDK processed the order response message
Declaration
public DateTime OCSentToExchange { get; }
Property Value
Type |
Description |
DateTime |
|
OmaParentOrderId
Declaration
public string OmaParentOrderId { get; }
Property Value
OrderCapacity
Declaration
public OrderCapacity OrderCapacity { get; }
Property Value
OrderId
Declaration
public Guid OrderId { get; }
Property Value
OrderQuantity
Declaration
public Quantity OrderQuantity { get; }
Property Value
OrderRestrictionType
Declaration
public OrderRestrictionType OrderRestrictionType { get; }
Property Value
OrderSequence
Declaration
public ulong OrderSequence { get; }
Property Value
OrderSource
Reflects the value of source on the most recent request of this order. This is not neccessarily the initial source.
Declaration
public OrderSource OrderSource { get; }
Property Value
OrderTag
Declaration
public string OrderTag { get; }
Property Value
OrderTagDefaultsName
Declaration
public string OrderTagDefaultsName { get; }
Property Value
OrderType
Declaration
public OrderType OrderType { get; }
Property Value
OrdStatus
Declaration
public OrdStatus OrdStatus { get; }
Property Value
Organization
Declaration
public string Organization { get; }
Property Value
Origination
Declaration
public OrderOrigination Origination { get; }
Property Value
OwnerAlgoId
Declaration
public ulong OwnerAlgoId { get; }
Property Value
ParentOrderId
Declaration
public string ParentOrderId { get; }
Property Value
PositionEffect
Declaration
public PositionEffect PositionEffect { get; }
Property Value
Processed
Time in UTC the Order Connector sent the order response.
Declaration
public DateTime Processed { get; }
Property Value
Type |
Description |
DateTime |
|
Received
Time in UTC the Order Connector received the order response from the exchange.
Declaration
public DateTime Received { get; }
Property Value
Type |
Description |
DateTime |
|
RejectReason
Declaration
public OrderRejectReason RejectReason { get; }
Property Value
RejectSource
Declaration
public RejectSource RejectSource { get; }
Property Value
Declaration
public string RelatedOrderKey { get; }
Property Value
ReverseSpread
Declaration
public ReverseSpread ReverseSpread { get; }
Property Value
Route
Declaration
public string Route { get; }
Property Value
SDKProcess
Time in UTC the .NET SDK processed the order reponse.
Declaration
public DateTime SDKProcess { get; }
Property Value
Type |
Description |
DateTime |
|
SenderLocation
Declaration
public string SenderLocation { get; }
Property Value
Sent
Time in UTC the client application sent the order.
Declaration
public DateTime Sent { get; }
Property Value
Type |
Description |
DateTime |
|
Side
Declaration
public OrderSide Side { get; }
Property Value
SiteOrderKey
Declaration
public string SiteOrderKey { get; }
Property Value
Status7x
Declaration
[Obsolete("Status7x property is provided for backwards compatibility only and will be removed in a future release. Please use IsRejected, OrdStatus property and OrdStatusTo7xStatus method. ")]
public OrderStatus Status7x { get; }
Property Value
StatusHistory
Declaration
public StatusHistory StatusHistory { get; }
Property Value
StopPrice
Declaration
public Price StopPrice { get; }
Property Value
SubUserId
Declaration
public string SubUserId { get; }
Property Value
SyntheticOrderKey
Declaration
public string SyntheticOrderKey { get; }
Property Value
SyntheticParentInstrumentId
Declaration
public ulong SyntheticParentInstrumentId { get; }
Property Value
SyntheticStatus
Declaration
public SynthStatus SyntheticStatus { get; }
Property Value
SyntheticType
Declaration
public SyntheticOrderType SyntheticType { get; }
Property Value
Text
Declaration
public string Text { get; }
Property Value
TextA
Declaration
public string TextA { get; }
Property Value
TextB
Declaration
public string TextB { get; }
Property Value
TextC
Declaration
public string TextC { get; }
Property Value
TextTT
Declaration
public string TextTT { get; }
Property Value
TimeInForce
Declaration
public TimeInForce TimeInForce { get; }
Property Value
TraderId
Declaration
public string TraderId { get; }
Property Value
TradeSessionId
Declaration
public TradingSessionSubId TradeSessionId { get; }
Property Value
TradingStrategy
Declaration
public TradingStrategy TradingStrategy { get; }
Property Value
TriggerPrice
Declaration
public Price TriggerPrice { get; }
Property Value
TTAccountName
Declaration
public string TTAccountName { get; }
Property Value
UniqueTransactionId
Declaration
public string UniqueTransactionId { get; }
Property Value
UserDisconnectAction
Declaration
public UserDisconnectAction UserDisconnectAction { get; }
Property Value
UserId
Declaration
public ulong UserId { get; }
Property Value
UserName
Declaration
public string UserName { get; }
Property Value
UserParameters
Declaration
public IReadOnlyDictionary<string, object> UserParameters { get; }
Property Value
Type |
Description |
IReadOnlyDictionary<String, Object> |
|
UserTag
Declaration
public string UserTag { get; }
Property Value
WorkingQuantity
Declaration
public Quantity WorkingQuantity { get; }
Property Value
Methods
CreateNewOrderProfile()
Declaration
public OrderProfile CreateNewOrderProfile()
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
System.Object.Equals(System.Object)
Equals(Order)
Declaration
public bool Equals(Order other)
Parameters
Type |
Name |
Description |
Order |
other |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.Object.GetHashCode()
GetOrderProfile()
Declaration
public OrderProfile GetOrderProfile()
Returns
GetPartyRole(PartyRole)
Declaration
public string GetPartyRole(PartyRole role)
Parameters
Returns
LegAccount(Int32)
Declaration
public Account LegAccount(int legIdx)
Parameters
Type |
Name |
Description |
Int32 |
legIdx |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
System.Object.ToString()
TradeState7x(OrdStatus)
Declaration
[Obsolete("TradeState7x property is provided for backwards compatibility only and will be removed in a future release Please use OrdStatus instead. ")]
public TradeState TradeState7x(OrdStatus ordStatus)
Parameters
Returns
Operators
Equality(Order, Order)
Declaration
public static bool operator ==(Order left, Order right)
Parameters
Returns
Inequality(Order, Order)
Declaration
public static bool operator !=(Order left, Order right)
Parameters
Returns
Explicit Interface Implementations
IComparable<Order>.CompareTo(Order)
Declaration
int IComparable<Order>.CompareTo(Order other)
Parameters
Type |
Name |
Description |
Order |
other |
|
Returns
Implements
System.IEquatable<T>
System.IComparable<T>