The PositionSettings type exposes the following members.

Constructors

  NameDescription
PositionSettings
PositionSettings constructor.

Methods

  NameDescription
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
BarCountExit
Number of bars after which the position will automatically be closed.
BarsValid
The number of bars before the order should be canceled if it is not filled.
Description
Gets or sets a description for the position order.
LimitPrice
Limit price of the order to open the position (if applicable).
OpenOrder
OrderType
Order type of the order to open the position (market, limit, stop, etc.)
PositionType
Position type (long or short).
ProfitTarget
The profit target for the position.
ProfitTargetType
The type of profit target for the position. The default is [!:TargetPriceType.Percentage].
Size
The number of shares or contracts to establish this position with. If this is zero, the position will be sized based on the settings in [!:PositionManager.UseFixedAmountPerPosition], [!:PositionManager.PercentPerPosition], and [!:PositionManager.FixedAmountPerPosition].
StopLoss
The stop loss for the position.
StopLossType
The type of stop loss for the position. The default is [!:TargetPriceType.Percentage].
StopPrice
Stop price of the order to open the position (if applicable).
Symbol
The Symbol associated with this position.
Tag
An object that can be used to store additional user-defined data related to the position.
TrailingStop
Gets or sets the trailing stop value for this position.
TrailingStopType
Indicates whether the trailing stop is specified as a percentage or a fixed price offset for a trailing stop order.

See Also