Click or drag to resize

Position Methods

The Position type exposes the following members.

Methods
  NameDescription
Public methodClone
Create a copy of Position.
Public methodCopyTo(BasePosition)
To copy fields of the current position to destination.
(Inherited from BasePosition.)
Public methodCopyTo(Position)
To copy fields of the current position to destination.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyChanged (Inherited from NotifiableObject.)
Protected methodNotifyChanging (Inherited from NotifiableObject.)
Public methodNotifyPropertyChanged (Inherited from NotifiableObject.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodApplyChanges
Apply changes to the position object.
(Defined by TraderHelper.)
Public Extension MethodChanged
To create a rule for the position change event.
(Defined by MarketRuleHelper.)
Public Extension MethodGetDirection
To get the order direction for the position.
(Defined by TraderHelper.)
Public Extension MethodToChangeMessage
To convert the position into message.
(Defined by MessageConverterHelper.)
Public Extension MethodToPositionManager
Convert the position object to the type IPositionManager.
(Defined by TraderHelper.)
Public Extension MethodWhenLess
To create a rule for the event of position decrease below the specific level.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenMore
To create a rule for the event of position increase above the specific level.
(Defined by MarketRuleHelper.)
Top
See Also