API Support Forum
OEC API > API Support > How to get data
Author Topic: How to get data
(2 messages, Page 1 of 1)
Moderators: VPfau
JDean56
Posts: 10
Joined: Jan 05, 2011


Posted: Jun 24, 2011 @ 05:39 PM             Msg. 1 of 2
I retreive a block of bars then want to process based on new prices that come in. But OnPriceChanged does not seem to fire, does the Contract have to be Subscribed first?

Jonathan Dean
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jun 30, 2011 @ 08:36 AM             Msg. 2 of 2
Bar and Quote subscriptions are independent ones. Moreover, you can subscribe bars only and you will receive updates for the last bar and new bars.

Victor Vins
Lead Software Developer