General position interface
Namespace: GF.Api.Positions
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The IPosition type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Account |
Account of the position
|
![]() | Contract |
Contract of the position
|
![]() | ContractSize |
Contract size. The same as Contract.ContractSize, but depends on account type in the case of FX accounts.
|
![]() | CostBasis |
Cost basis of options position in USD
|
![]() | CurrencyCostBasis |
Cost basis of options position in native currency
|
![]() | CurrencyGain |
Total profit/loss (sum of realized and open p/l) in native currency.
See also Gain |
![]() | CurrencyInitialMargin |
Initial margin of open position in native currency
|
![]() | CurrencyMaintenanceMargin |
Maintenance margin of open position in native currency
|
![]() | CurrencyMarketValue |
Current market value of options position in native currency
|
![]() | CurrencyNetGain |
Realized profit/loss in native contract currency.
See also NetGain |
![]() | CurrencyOTE |
Theoretical profit/loss of open position against last market price in native currency.
See also OTE |
![]() | CurrencySettlePnL |
Theoretical profit/loss of open position against previous settlement price in native currency.
See also SettlePnL |
![]() | CutOff |
Position timestamp, UTC
|
![]() | Date |
Business date of the position
|
![]() | DisplayContractSymbol |
Display name of contract (single of dual)
|
![]() | Fills |
Fills of position
|
![]() | Gain |
Total profit/loss (sum of realized and open p/l) in USD.
See also CurrencyGain |
![]() | InitialMargin |
Initial margin of open position in native currency
|
![]() | IsDetailed |
Checks whether the position is element of detailed position history
or daily position summary
|
![]() | Long |
Bought contracts and avg. buy price.
|
![]() | MaintenanceMargin |
Maintenance margin of open position in USD
|
![]() | MarketValue |
Current market value of options position in USD
|
![]() | Net |
Net position and avg. price
|
![]() | NetGain |
Realized profit/loss converted to USD
minus commissions.
See also CurrencyNetGain |
![]() | OpenCommissions |
Commissions for fills of open position
|
![]() | OTE |
Theoretical profit/loss of open position against last market price in USD
minus commissions
See also CurrencyOTE |
![]() | PositionContract |
Main contract (electronic preferred) of the position
|
![]() | Prev |
Previous day position and avg. price
|
![]() | RealizedCommissions |
Commissions for fills of closed position
|
![]() | SettlePnL |
Theoretical profit/loss of open position against previous settlement price in USD
minus commissions
See also CurrencySettlePnL |
![]() | Short |
Sold contracts and avg. sell price.
|
See Also