Manages positions and orders.

The PositionManager..::.TradeOrder type exposes the following members.

Methods

  NameDescription
Clone
Creates a copy of this object.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
BarsValid
The number of bars after which the order will be cancelled if it has not been filled.
CancelPending
Indicates that a cancel request for this order has been sent to the broker.
Description
A user-definable description for the trade.
Error
Error information for the order. This will be null if the order was successfully submitted.
OrderID
The id of the corresponding BrokerOrder.
PosID
The id of the corresponding Position.
Tag
An object that can be used to store additional user-defined data related to the order.
TradeType
The type of trade.

See Also