Closed Trades for date range

Moderator: Moderator

Closed Trades for date range

Postby Al Bundy » Wed Dec 05, 2018 10:55 am

Hi,

How can I get all closed trades for an account for a date range? The functions I found return only the closed trades for the current trading day.
Al Bundy
 
Posts: 7
Joined: Sat Nov 24, 2018 11:41 am
Location: Marbella/Spain

Re: Closed Trades for date range

Postby PetroIV » Thu Dec 06, 2018 2:27 am

Hello Al Bundy,

You can get a Combined Account Statement (CAS) report that contains info about all closed trades for preset period. Please see:
http://fxcodebase.com/bin/forexconnect/ ... t_cpp.html

also FC 1.6.x contains sample
samples\cpp\NonTableManagerSamples\GetReport that you can use.
PetroIV
 
Posts: 23
Joined: Tue Aug 15, 2017 9:45 am

Re: Closed Trades for date range

Postby Al Bundy » Sat Dec 08, 2018 5:55 am

PetroIV wrote:Hello Al Bundy,

You can get a Combined Account Statement (CAS) report that contains info about all closed trades for preset period. Please see:
http://fxcodebase.com/bin/forexconnect/ ... t_cpp.html

also FC 1.6.x contains sample
samples\cpp\NonTableManagerSamples\GetReport that you can use.



Thank you. Yes, I was looking in the wrong [1.5.0] version. I can now download them in the XML format and parse the tree.
Al Bundy
 
Posts: 7
Joined: Sat Nov 24, 2018 11:41 am
Location: Marbella/Spain


Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 3 guests