The PositionUpdate type exposes the following members.

Constructors

  NameDescription
Public methodPositionUpdate
Initializes a new instance of the PositionUpdate class

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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAssetType
Public propertyAverageCost
Gets or sets the average cost, which is calculated by dividing the price + commissions by the quantity of the position.
Public propertyCall
True if this is a call option contract, false if it's a put.
Public propertyCurrentPrice
Gets or sets the current price of the asset.
Public propertyExpiration
Expiration date.
Public propertyRealizedPnL
Gets or sets the actual profit or loss of this position.
Public propertyShares
Gets or sets the number of shares.
Public propertySymbol
Symbol contained within this Position.
Public propertyUnrealizedPnL
Gets or sets the cost of this position if it is currently open.

See Also