OEC Application Programming Interface

Position Class

Position volume/price stats and Profit/Loss values per Account and Contract

For a list of all members of this type, see Position Members.

System.Object
   MarshalByRefObject
      IDObject<Contract>
         Position
            CompoundLegPosition

public class Position : IDObject<Contract>

Remarks

Position stats are represented by VolPrice elements. There are four items : previous session closing position, contracts bought and sold in the current session, current Net position.
Also, there are profit/loss values for closed and open position part - see Gain and NetGain.
Total P/L statistics per Account are available in Account.TotalBalance property.

Requirements

Namespace: OEC.API

Assembly: API (in API.dll)

See Also

Position Members | OEC.API Namespace