Go Back   DailyFX Forum > FXCM Products and Services > FXProgrammers > Discussion / Support Forum > Price Engine Client SDK Support

Reply
 
Thread Tools Rate Thread
  #1 (permalink)  
Old 10-21-2009, 01:18 AM
Member
 
Join Date: Oct 2009
Posts: 7
Youholder is an unknown quantity at this point
Getting wrong bidHigh price?

We recently met a strange phenomenon in receiving bidHigh price with PEC SDK.

By comparing the application provided by FXCM, we use TICKALL for subscribe type rather than ALL to receive bidHgh price.

The subscribing code is:

Code:
mdr.setFXCMTimingInterval(FXCMTimingIntervalFactory.TICK);
    mdr.setSubscriptionRequestType(SubscriptionRequestTypeFactory.SUBSCRIBE);
    mdr.setMDEntryTypeSet(MarketDataRequest.MDENTRYTYPESET_TICKALL);

But what we observed with bigHigh is very strange.
Take 2009-10-20(TPE) as example, the bidHigh of USD/CHF we received is:

00:00:08(TPE) receive 16:00:06(GMT) bidHigh=1.022799
... (no bidHigh update)
05:00:00(TPE) receive 21:00:00(GMT) bidHigh=1.011080
... (bidHgh update normally)
06:21:44(TPE) receive 22:21:44(GMT) bidHigh=1.012459
06:21:46(TPE) receive 22:21:45(GMT) bidHigh=1.012049
06:21:53(TPE) receive 22:21:52(GMT) bidHigh=1.012459
06:21:53(TPE) receive 22:21:52(GMT) bidHigh=1.012089
... (no more bidHigh update received)

restart our program at 11:51(TPE)
11:51:14(TPE) receive 3:51:05(GMT) bidHigh=1.012459


From the above observation, we found:

1. the bidHigh price is not keeping updated, although Bid and Ask are continuously updated at the mean time.
2. the udpated bigHigh could be even smaller than last bidHigh! (this is weird)

This is really troubling us in developing a reliable FXCM forex quoting app.
Can anyone have any suggestion on this issue?
It will be very appreciated.

Youholder
Reply With Quote
  #2 (permalink)  
Old 10-23-2009, 08:27 AM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
The high and low on tick bars should not be looked at. The high and low is mainly for bars and is the high and the low of the bar.

If you want a session high and low, you would need to calculate that yourself or use Order2Go and grab the high and the low of the session from the rates table.

Please let us know if you have any other questions.
Reply With Quote
Reply

Tags
bidhigh

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.

All times are GMT -5. The time now is 06:37 PM.
Copyright ©2009 Daily FX. All Rights Reserved.