Class Order
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
ExchTransactionTime
Time (local time) of transaction reported by the exchange.
Declaration
public DateTime ExchTransactionTime { 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
ExecutionDecision
Declaration
public string ExecutionDecision { get; }
Property Value
ExecutionType
Declaration
public ExecType ExecutionType { get; }
Property Value
ExpireDate
Declaration
public ulong ExpireDate { get; }
Property Value
ExtendedStagedOrderStatus
Extended status of the staged order.
Declaration
public ExtendedStagedOrderStatus ExtendedStagedOrderStatus { 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
If an order is a Staged order .
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 (local time) when the Order Connector received the outbound order.
Declaration
public DateTime OCReceived { get; }
Property Value
OCSentToExchange
Time (local time) when the Order Connector sent the order to the exchange.
Declaration
public DateTime OCSentToExchange { get; }
Property Value
OmaParentOrderId
Declaration
public string OmaParentOrderId { get; }
Property Value
OrdStatus
Declaration
public OrdStatus OrdStatus { 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
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
PendingChangePrice
Declaration
public Price PendingChangePrice { get; }
Property Value
PendingChangeQty
In stager/oms workflow it is possible for a replace to be initiated and not immediately completed.
The action will complete only after it is explicitly approved, these Pending fields capture that transient state.
Declaration
public Quantity PendingChangeQty { get; }
Property Value
PendingClientOrderId
Declaration
public ulong PendingClientOrderId { get; }
Property Value
PositionEffect
Declaration
public PositionEffect PositionEffect { get; }
Property Value
Processed
Time (local time) when the Order Connector sent the order response.
Declaration
public DateTime Processed { get; }
Property Value
Received
Time (local time) the Order Connector received the order response from the exchange.
Declaration
public DateTime Received { get; }
Property Value
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 (local time) the .NET SDK processed the order reponse.
Declaration
public DateTime SDKProcess { get; }
Property Value
SenderLocation
Declaration
public string SenderLocation { get; }
Property Value
Sent
Order times are in the following order :
Sent local time the SDK App sent the order
OCReceived local time the OC received the order (this is after risk checking)
OCSentToExchange local time the OC sent the order to the exchange
ExchTransactionTime local time of transaction reported by the exchange
Received local time the OC received the response from the exchange
Processed local time the exchange response left the OC
SDKProcess local time the SDK processed the order response message
Declaration
public DateTime Sent { get; }
Property Value
Side
Declaration
public OrderSide Side { get; }
Property Value
SiteOrderKey
Declaration
public string SiteOrderKey { get; }
Property Value
StagedOrderMessage
Message text associated with the staged order.
Declaration
public string StagedOrderMessage { get; }
Property Value
StagedOrderStatus
Claim status of the staged order.
Declaration
public StagedOrderStatus StagedOrderStatus { 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
TTAccountName
Declaration
public string TTAccountName { 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
TradeSessionId
Declaration
public TradingSessionSubId TradeSessionId { get; }
Property Value
TraderId
Declaration
public string TraderId { get; }
Property Value
TradingStrategy
Declaration
public TradingStrategy TradingStrategy { get; }
Property Value
TriggerPrice
Declaration
public Price TriggerPrice { 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
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
Equals(Order)
Declaration
public bool Equals(Order other)
Parameters
Type |
Name |
Description |
Order |
other |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetOrderProfile()
Declaration
public OrderProfile GetOrderProfile()
Returns
GetPartyRole(PartyRole)
Declaration
public string GetPartyRole(PartyRole role)
Parameters
Returns
LegAccount(int)
Declaration
public Account LegAccount(int legIdx)
Parameters
Type |
Name |
Description |
int |
legIdx |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
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
operator ==(Order, Order)
Declaration
public static bool operator ==(Order left, Order right)
Parameters
Returns
operator !=(Order, Order)
Declaration
public static bool operator !=(Order left, Order right)
Parameters
Returns
Implements