| OEC Application Programming Interface |
|
OECClient.SubscribeBars Method (Contract, Int32, SubscriptionType, Int32, Boolean)
Subscribes price historical information in form of various bars.
Parameters
-
contract
- Contract to request bars
-
Amount
- Amount to load from history (Not applicable for Range and Momentum bars when IgnoreSessionBoundaries = true)
-
Type
- Type of bars
-
Interval
- Bar interval
-
IgnoreSessionBoundaries
- Don't stop to build a bar at the end of sessions. It works with Range and Momentum Bars only
Return Value
See Also
OECClient Class | OEC.API Namespace | OECClient.SubscribeBars Overload List