OEC Application Programming Interface

CompoundLegPosition Members

CompoundLegPosition overview

Public Instance Fields

CutOff (inherited from Position) Position timestamp, UTC

Public Instance Properties

Account (inherited from Position) Account of the position
Contract (inherited from Position) Contract of the position
ContractSize (inherited from Position) Contract size. The same as Contract.ContractSize, but depends on account type in the case of FX accounts.
CurrencyGain (inherited from Position) Total profit/loss (sum of realized and open p/l) in native currency. See also Gain
CurrencyInitialMargin (inherited from Position) Initial margin of open position in native currency
CurrencyMaintenanceMargin (inherited from Position) Maintenance margin of open position in native currency
CurrencyNetGain (inherited from Position) Realized profit/loss in native contract currency. See also NetGain
CurrencyOTE (inherited from Position) Theoretical profit/loss of open position agains last market price in native currency. See also OTE
CurrencySettlePnL (inherited from Position) Theoretical profit/loss of open position agains prev. settlement price in native currency. See also SettlePnL
Date (inherited from Position) Business date of the position
Detailed (inherited from Position) Checks whether the position is element of detailed position history or daily position summary
DisplayContractSymbol (inherited from Position) Display name of contract (single of dual)
Fills (inherited from Position) Fills of position
Gain (inherited from Position) Total profit/loss (sum of realized and open p/l) in USD. See also CurrencyGain
Group Assigned group
ID (inherited from IDObject<Contract>) Unique key value
InitialMargin (inherited from Position) Initial margin of open position in native currency
LegNo Number of the leg in the group
Long (inherited from Position) Bought contracts and avg. buy price.
MaintenanceMargin (inherited from Position) Maintenance margin of open position in USD
Net (inherited from Position) Net position and avg. price
NetGain (inherited from Position) Realized profit/loss converted to USD minus commissions. See also CurrencyNetGain
OpenCommissions (inherited from Position) Commissions for fills of open posiiton
OTE (inherited from Position) Theoretical profit/loss of open position against last market price in USD minus comissions See also CurrencyOTE
PositionContract (inherited from Position) Main contract (electronic preferred) of the position
Prev (inherited from Position) Previous day position and avg. price
Ratio Ratio of the leg in the group
RealizedCommissions (inherited from Position) Commissions for fills of closed position
SettlePnL (inherited from Position) Theoretical profit/loss of open position agains prev. settlement price in USD minus comissions. See also CurrencySettlePnL
Short (inherited from Position) Sold contracts and avg. sell price.

See Also

CompoundLegPosition Class | OEC.API Namespace | CompoundPositionGroup