Go Back   DailyFX Forum > FXCM Products and Services > FXProgrammers > Discussion / Support Forum > Report API Support

Reply
 
Thread Tools Rate Thread
  #1 (permalink)  
Old 04-18-2006, 09:11 AM
Member
 
Join Date: Apr 2006
Posts: 14
CescoAiel is on a distinguished road
Question Any other way to get the historic info?

Hi there,

Is there any other way to get the historic info besides the Java Report API?

I am doing a little program in VB and would like it to also automatically generate a report every X minutes.

TIA & BRgds

--FP
Reply With Quote
  #2 (permalink)  
Old 04-18-2006, 09:28 AM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
GenerateReportURL

You can use the GetReportURL function in Order2Go to generate the URL for a combined account statement for a particular account and set of dates that you choose.

Function GetReportURL(sAccountID As String, vDateFrom As VARIANT, vDateTo As VARIANT, sFormat As String, sLangID As String,lAnsiCP As long) As String
Reply With Quote
  #3 (permalink)  
Old 04-20-2006, 08:54 AM
Member
 
Join Date: Apr 2006
Posts: 14
CescoAiel is on a distinguished road
Post

Quote:
Originally Posted by FXCM Help
You can use the GetReportURL function in Order2Go to generate the URL for a combined account statement for a particular account and set of dates that you choose.

Function GetReportURL(sAccountID As String, vDateFrom As VARIANT, vDateTo As VARIANT, sFormat As String, sLangID As String,lAnsiCP As long) As String
Yes, I was aware of that function, but I was hoping for XML data... Ah well... I guess that means I'll have to write a parser for the HTML report...

Thx anyway!
Reply With Quote
  #4 (permalink)  
Old 08-08-2006, 11:33 AM
Member
 
Join Date: Apr 2006
Posts: 14
CescoAiel is on a distinguished road
Unhappy Account identifier is invalid?

Code:
    With oTradeDesk1(LeadAcct)
        ReportUrl = .GetReportURL("2099045858", .ServerTime, .ServerTime, "HTML", "enu", 0)
    End With
Gives an error -2147024809 (80070057) "Account identifier is invalid?"

This is a managed account for which I automatically want to generate reports, but I get the above error everytime.

I changed the accountnumber for privacy reasons, but length and format are identical to the real account number.

oTradeDesk1(LeadAcct) is the TradeDeskAut object that is logged in to the account with the same identifier!

Any suggestions?
Reply With Quote
Reply

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