API Support Forum
OEC API > API Support > How to get bid and ask prices for FX?
Author Topic: How to get bid and ask prices for FX?
(2 messages, Page 1 of 1)
Moderators: VPfau
IIvanus
Posts: 7
Joined: May 14, 2009


Posted: Aug 27, 2009 @ 04:08 AM             Msg. 1 of 2
Hello. I have a problem.
I need to get real-time market data(bid,ask) for FX instruments.
At first I tryed to call Subscribe, but have no OnPriceChanged calls.
(it works for all non-fx instruments)

Then I tryed to use SubscribeTicks, and have OnTicksReceived.
But how can I get ask price and bid price from ITicksPtr?

Ivanus Treneov
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Aug 27, 2009 @ 08:42 AM             Msg. 2 of 2
Hello. We had a trouble on server side for FX subscriptions in Development environment. Please try now to use Subscribe and OnPriceChanged.