OEC Application Programming Interface

Contract Class

A single contract - for example, ESH6.

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

System.Object
   MarshalByRefObject
      IDObject<ContractKey>
         Contract

public class Contract : IDObject<ContractKey>, IKeyed<ContractSortKey>, IComparable<Contract>

Remarks

Contract instance holds single contract properties. In addition to unique contract properties, such as Symbol, ExpirationDate, properties that are shared among contracts with same BaseContract also available there.
CurrentPrice and DOM data are available if client subscribed for the price or DOM update. Subscribe and SubscribeDOM for details.

Requirements

Namespace: OEC.API

Assembly: API (in API.dll)

See Also

Contract Members | OEC.API Namespace | BaseContract | ContractGroup | Contract