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 08-17-2009, 01:37 PM
Member
 
Join Date: May 2009
Posts: 22
Kaboo is an unknown quantity at this point
Angry Getting Historical Data Appears to be all Jackedup...

Please correct me if I am wrong (and I sure hope I am) but it appears that when the trade sever is ask for historical data the server returns the last 300 bars (closest to the ending date). Thus, if the server was ask for daily bars starting from 1/1/2000 and ending on 1/1/2008; the server will return 300 daily bars, (starting sometime around 10/1/2007) and ending on 1/1/2008 (or is it only up to 12/31/2007?)

Anyway, if this example is true, then it seems to me that the way the server returns historical data is ASS BACKWARDS and a pain in the backside to work with!!!

It would appear to me that if I asked for information starting from 1/1/2000 and ending on 1/1/2008 that I would get (if not all the data) at least N items starting at the beginning (in this case; 1/1/2000)! Thus I would expect to get something like this:

1/1/2000 to (1/1/2000 + 300 items, thus somewhere around 3/1/2001) then I could ask the server for the next data chunk with a start date of 3/2/2001 and keep my end date of 1/1/2008 the same. By following this method it makes it easy to save the data to memory or to disk.

After reading the blogs and seeing the amount of time the Fxcm support team must waste on this one issue, I suspect that I’m not the only one who thinks the “Get Historical Data” function is all jacked up (it is probably a bug that can't be fixed due to backwards compatibility). However, regardless of why the function is the way it is today; can we get a new (extended) version of this function that will return data chunks starting from the starting date? – Please!!
Reply With Quote
Reply

Tags
historical data

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 08:43 PM.
Copyright ©2009 Daily FX. All Rights Reserved.