Click or drag to resize

PositionManager Class

The position calculation manager.
Inheritance Hierarchy
SystemObject
  StockSharp.Algo.PositionsPositionManager

Namespace:  StockSharp.Algo.Positions
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public class PositionManager : IPositionManager

The PositionManager type exposes the following members.

Constructors
  NameDescription
Public methodPositionManager
Initializes a new instance of the PositionManager.
Top
Properties
  NameDescription
Public propertyByOrders
To calculate the position on realized volume for orders () or by trades ().
Public propertyPosition
The position aggregate value.
Public propertyPositions
Positions, grouped by instruments and portfolios.
Public propertySecurityId
The security for which Position will be calculated.
Top
Methods
  NameDescription
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.)
Public methodProcessMessage
To calculate position.
Public methodReset
To null position.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventNewPosition
The event of new position occurrence in Positions.
Public eventPositionChanged
The event of position change in Positions.
Top
See Also