EasyLanguage Object Reference
A collection of field name strings used to access position information.
Used as the name parameter in the Value[name] property of a Position object when reading a data value from an instance of an position.
Namespace: tsdata.trading
Name | Type | Description | |
![]() |
BigPointValue | string | Gets the dollar value for a one point movement. |
![]() |
ContractExpirationDate | string | Gets the expiration date for the contract. |
![]() |
InitialMargin | string | Gets the account balance required for entering a position on margin. |
![]() |
MaintenanceMargin | string | Gets the account balance required for maintaining a position on margin. |
![]() |
MarketValue | string | Gets the real-time market value of the open position. |
![]() |
OpenPL | string | Gets the unrealized profit or loss on the position held. |
![]() |
OriginalCost | string | Gets the original cost of the trade (Forex only). |
![]() |
PLPerQuantity | string | Gets the unrealized profit or loss divided by the number of shares or contracts held. |
![]() |
PercentPL | string | Gets the unrealized profit or loss on the position held as a percentage. |
![]() |
RequiredMargin | string | Gets the margin amount required. |
![]() |
TotalCost | string | Gets the total cost of the open position. |
tsdata.trading.PositionFields