API Support Forum
OEC API > Market Data > OnPriceTick vs OnTicksReceived
Author Topic: OnPriceTick vs OnTicksReceived
(2 messages, Page 1 of 1)
Moderators: VPfau
CWhite140
Posts: 9
Joined: Feb 28, 2013


Posted: Feb 06, 2014 @ 12:09 PM             Msg. 1 of 2
Are these basically the same ? If I subscribe to Ticks and want history, I'll use OnTicksReceived but if I just want real-time then I use OnPriceTick?

In addition, am I ensured not to lose ticks with both of these methods?


Curtis White
Edited by CWhite140 on Feb 6, 2014 at 12:35:27
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Feb 06, 2014 @ 01:10 PM             Msg. 2 of 2
OnPriceTick is related to quote updates. OnTicksReceived is about tick stream that includes as historical ticks as well real-time ones.

Quote subscription provides throttled data. Tick subscription - all ticks.

Victor Vins
Lead Software Developer