Page 1 of 1

Closed Trades for date range

PostPosted: Wed Dec 05, 2018 10:55 am
by Al Bundy
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.

Re: Closed Trades for date range

PostPosted: Thu Dec 06, 2018 2:27 am
by PetroIV
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.

Re: Closed Trades for date range

PostPosted: Sat Dec 08, 2018 5:55 am
by Al Bundy
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.