OEC Application Programming Interface

Price Class

Realtime price data for a contract

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

System.Object
   MarshalByRefObject
      Price

public class Price : MarshalByRefObject

Remarks

Data from r/t price feed are stored in form of a Price object. It contains momentary values, like LastPrice, and daily stats, such as HighPrice and LowPrice.
Subscription for price data is controlled by Subscribe and Unsubscribe methods. Client notified of price update by OnPriceChanged, and latest update is also availabe in Contract.CurrentPrice property.
See also DOM for depth of market information.

Requirements

Namespace: OEC.API

Assembly: API (in API.dll)

See Also

Price Members | OEC.API Namespace | CurrentPrice