The PositionUpdate type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PositionUpdate | Initializes a new instance of the PositionUpdate class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (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 | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AssetType | ||
| AverageCost |
Gets or sets the average cost, which is calculated by dividing the price + commissions by the quantity of the position.
| |
| Call |
True if this is a call option contract, false if it's a put.
| |
| CurrentPrice |
Gets or sets the current price of the asset.
| |
| Expiration |
Expiration date.
| |
| RealizedPnL |
Gets or sets the actual profit or loss of this position.
| |
| Shares |
Gets or sets the number of shares.
| |
| Symbol |
Symbol contained within this Position.
| |
| UnrealizedPnL |
Gets or sets the cost of this position if it is currently open.
|