Click or drag to resize
AccountPosition Class

Note: This is preliminary documentation provided only as a preview, and is subject to change. Please contact the author for pricing and licensing information.

Container for information on a position.
Inheritance Hierarchy
SystemObject
  ETradeNet.Accounts.Positions.DataAccountPosition

Namespace: ETradeNet.Accounts.Positions.Data
Assembly: ETradeNet.Accounts (in ETradeNet.Accounts.dll) Version: 1.0.5793.41751
Syntax
public class AccountPosition

The AccountPosition type exposes the following members.

Constructors
  NameDescription
Public methodAccountPosition
Initializes a new instance of the AccountPosition class
Top
Properties
  NameDescription
Public propertyAdjustedOption
Gets or sets the value indicating whether the option has been adjusted.
Public propertyClosePrice
Gets or sets the previous day's closing price.
Public propertyCostBasis
Gets or sets the amount the user paid for this position.
Public propertyCurrentPrice
Gets or sets the current market price (last sale price).
Public propertyDeliverableStr
Gets or sets the display-formatted product identifier. For equities, this is a symbol; for options, this is a string containing symbol, "call" or "put", strike price, and expiration date.
Public propertyDescription
Gets or sets the text description of the position.
Public propertyLongOrShort
Gets or sets the value indicating whether the position is long or short.
Public propertyMarginable
Gets or sets the value indicating whether the position counts toward your margin.
Public propertyMarketValue
Gets or sets the value of a position, based on the quantity and previous day's closing price.
Public propertyProductId
Gets or sets the product information for this position.
Public propertyQty
Gets or sets the number of shares held in this position. May include fractional shares.
Public propertyQuoteType
Gets or sets the expiry type, if the product is an option.
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 the default hash function.
(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.)
Top
See Also