ATAS
|
Represents an order for trading on a financial exchange. More...
Public Member Functions | |
Order | Clone () |
Creates a shallow copy of the current order. | |
override string | ToString () |
Returns a string that represents the current order. | |
Protected Member Functions | |
void | OnPropertyChanged (string name) |
Raises the PropertyChanged event with the specified property name. | |
Properties | |
EntityType | EntityType [get] |
Gets the type of the entity. | |
string? | Id [get, set] |
Gets or sets the ID of the order on the exchange. | |
long | ExtId [get, set] |
Gets or sets the additional identifier for the order. | |
long | UserExtId [get, set] |
Gets or sets the user's identifier associated with the order. | |
string? | AccountID [get, set] |
Gets or sets the ID of the account associated with this order. | |
string? | RoutedAccountId [get, set] |
Gets or sets the routed account ID for this order. | |
string? | SecurityId [get, set] |
Gets or sets the ID of the security associated with this order. | |
Security? | Security [get, set] |
Gets or sets the security associated with this order. | |
Portfolio? | Portfolio [get, set] |
Gets or sets the portfolio associated with this order. | |
OrderTypes | Type [get, set] |
Gets or sets the type of the order. | |
OrderDirections | Direction [get, set] |
Gets or sets the direction of the order. | |
decimal | TriggerPrice [get, set] |
Gets or sets the trigger price of the order. | |
decimal | Price [get, set] |
Gets or sets the price of the order. | |
decimal | QuantityToFill [get, set] |
Gets or sets the volume (quantity) to be filled for the order. | |
decimal | Unfilled [get, set] |
Gets the remaining unfilled volume of the order. | |
DateTime? | ExpiryDate [get, set] |
Gets or sets the expiry date of the order. | |
TimeInForce | TimeInForce [get, set] |
Gets or sets the time in force for the order. | |
string? | Route [get, set] |
Gets or sets the routing information for the order. | |
string? | OCOGroup [get, set] |
Gets or sets the OCO (One-Cancels-the-Other) group for the order. | |
string? | Comment [get, set] |
Gets or sets the comment for the order. | |
DateTime | Time [get, set] |
Gets or sets the timestamp of when the order was created or modified. | |
OrderStates | State [get, set] |
Gets or sets the current state of the order. | |
TriggerPriceType | TriggerPriceType [get, set] |
Gets or sets the type of trigger price associated with the order. | |
object? | Parent [get, set] |
Gets or sets the parent object associated with this order. | |
bool | IsInPosition [get, set] |
Gets or sets a value indicating whether the order is in a position. | |
bool | WasActive [get, set] |
Gets or sets a value indicating whether the order was active. | |
bool | Canceled [get] |
Gets a value indicating whether the order is canceled. | |
decimal | AmountBefore [get, set] |
Gets or sets the amount before the order. | |
bool? | IsAttached [get, set] |
Gets or sets a value indicating whether the order is attached to another order. | |
OrderExtendedOptions? | ExtendedOptions [get, set] |
Allows setting special options for the order. Use ISecurityTradingOptions.CreateMarketOrderFlagsObject and similar methods obtained by calling the IDataFeedConnector.GetSecurityTradingOptions method to get the object that you can populate and pass here. | |
string? | ExtendedOptionsJson [get, set] |
Gets or sets the serialized JSON representation of the ExtendedOptions. | |
decimal? | QuoteVolume [get, set] |
Gets or sets the quote volume associated with the order. | |
TimeSpan | Latency [get, set] |
Returns the time spent between sending the order to the server and receiving a response about it's registration or cancellation. | |
bool | AutoCancel [get, set] |
Gets or sets a value indicating whether the order must be cancelled on position closed or reverted. | |
Properties inherited from ATAS.DataFeedsCore.IEntity | |
EntityType | EntityType [get] |
Gets the type of the entity. | |
Events | |
PropertyChangedEventHandler? | PropertyChanged |
Represents an order for trading on a financial exchange.
Order ATAS.DataFeedsCore.Order.Clone | ( | ) |
Creates a shallow copy of the current order.
|
protected |
Raises the PropertyChanged event with the specified property name.
name | The name of the property that has changed. |
override string ATAS.DataFeedsCore.Order.ToString | ( | ) |
Returns a string that represents the current order.
|
getset |
Gets or sets the ID of the account associated with this order.
This property represents the ID of the account to which this order is associated.
|
getset |
Gets or sets the amount before the order.
|
getset |
Gets or sets a value indicating whether the order must be cancelled on position closed or reverted.
|
get |
Gets a value indicating whether the order is canceled.
|
getset |
Gets or sets the comment for the order.
This property represents an optional comment or note associated with the order.
|
getset |
Gets or sets the direction of the order.
This property represents the direction of the order, such as buy or sell.
|
get |
Gets the type of the entity.
Implements ATAS.DataFeedsCore.IEntity.
|
getset |
Gets or sets the expiry date of the order.
If the value is null, the order will be valid until it is manually canceled. If the value is set to Today, the order will be valid for the current trading session. If the value is set to MinValue, the order will be of the FOK (Fill or Kill) type.
|
getset |
Allows setting special options for the order. Use ISecurityTradingOptions.CreateMarketOrderFlagsObject and similar methods obtained by calling the IDataFeedConnector.GetSecurityTradingOptions method to get the object that you can populate and pass here.
|
getset |
Gets or sets the serialized JSON representation of the ExtendedOptions.
|
getset |
Gets or sets the additional identifier for the order.
|
getset |
Gets or sets the ID of the order on the exchange.
|
getset |
Gets or sets a value indicating whether the order is attached to another order.
|
getset |
Gets or sets a value indicating whether the order is in a position.
|
getset |
Returns the time spent between sending the order to the server and receiving a response about it's registration or cancellation.
|
getset |
Gets or sets the OCO (One-Cancels-the-Other) group for the order.
This property represents the OCO group to which the order belongs, indicating that it is part of an OCO pair.
|
getset |
Gets or sets the parent object associated with this order.
|
getset |
Gets or sets the portfolio associated with this order.
This property represents the portfolio to which this order belongs.
|
getset |
Gets or sets the price of the order.
This property represents the price at which the order will be executed.
|
getset |
Gets or sets the volume (quantity) to be filled for the order.
This property represents the quantity of the security to be bought or sold in the order.
|
getset |
Gets or sets the quote volume associated with the order.
|
getset |
Gets or sets the routing information for the order.
This property represents the routing information for the order, which specifies how the order will be sent to the exchange or market.
|
getset |
Gets or sets the routed account ID for this order.
The routed account ID is used to track the specific account to which the order is routed.
|
getset |
Gets or sets the security associated with this order.
This property represents the security (e.g., stock, bond, etc.) to which this order is related.
|
getset |
Gets or sets the ID of the security associated with this order.
|
getset |
Gets or sets the current state of the order.
This property represents the current state of the order, such as active, done, failed, etc.
|
getset |
Gets or sets the timestamp of when the order was created or modified.
This property represents the timestamp indicating when the order was created or last modified.
|
getset |
Gets or sets the time in force for the order.
The time in force determines how long the order will remain active before it is executed or canceled.
|
getset |
Gets or sets the trigger price of the order.
This property represents the trigger price for the order, which is used in certain types of orders (e.g., stop-loss).
|
getset |
Gets or sets the type of trigger price associated with the order.
This property represents the type of trigger price used in certain types of orders (e.g., stop-loss, stop-limit).
|
getset |
Gets or sets the type of the order.
This property represents the type of the order, such as market order, limit order, etc.
|
getset |
Gets the remaining unfilled volume of the order.
This property represents the remaining quantity of the order that is yet to be executed.
|
getset |
Gets or sets the user's identifier associated with the order.
|
getset |
Gets or sets a value indicating whether the order was active.
PropertyChangedEventHandler? ATAS.DataFeedsCore.Order.PropertyChanged |