I tried
that...see my earlier email. Tomasz wrote that report() is obsolete... I tried
(from my earlier email) the code below. Also I think it produces an html
report... not a csv export.
However I
can copy, after each Backtest, the last line written to the results.rlst file,
convert it to csv, and build another file using my own name and path. Not very
elegant... but it will do.
herman
SetOption( "Generatereport", 2 ); //
Does this relate to html or csv reports?
Short = Cover = 0;
Buy = Cross( MACD(), Signal() );
Sell = Cross( Signal(), MACD() );
AB = CreateObject( "Broker.Application"
);
AA = AB.Analysis;
AA.Report( "C:\Program Files\AmiBroker\Reports\test.rpt"
); // generate report
//AA.Report( "C:\\Program Files\\AmiBroker\\Reports\\test.rpt"
); // generate report
Saturday,
August 23, 2008, 5:44:15 PM, you wrote:
>
|
Can be done in OLE/Automation
oAA.Export(filename)
From: amibroker@xxxxxxxxxps.com
[mailto:amibroker@yahoogroups.com] On
Behalf Of Herman
Sent: Saturday,
August 23, 2008 8:54 AM
To: Tomasz
Janeczko
Subject: Re[4]:
[amibroker] Why don't i get my BT Reports?
Thank you Tomasz, that explains one problem :-)
However, I want to automatically Export
summary/stock .csv (not html) reports with a custom name to
a custom folder. I will be using the data in other systems.
I can't seem to get this going...neither in afl
nor with com objects.
Is this possible? If so is an example available
anywhere?
Many thanks,
herman
Saturday, August 23, 2008, 8:42:44 AM, you wrote:
>
|
Herman,
Report() function is obsolete, ONLY FOR OLD
backtester, provided for backward compatiblity
with version 4.4 or earlier. With new backtester
it does NOT do anything.
New backtester generates reports AUTOMATICALLY,
without calling Report function.
And reports ALWAYS land into Reports folder.
The name is auto-generated using formula name
(SetFormulaName) function
and DATE AND TIME of the backtest. You can't
change that.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Herman
To: Herman
Sent: Saturday, August 23, 2008 1:10 PM
Subject: Re[2]: [amibroker] Why don't i get
my BT Reports?
I wrote too soon... Using the test below its not
working for me.
I simply want to Export the AA .csv report to a
custom folder under a custom name.
I Still get the msg "Detailed Report not
available. Please check settings / report tab". How does this
function with the "GenerateReport"
Option and the AA.Report function? How do these two functions
interact with AA Settings?
Thanks again!
herman
SetOption( "Generatereport", 2
); // Does this relate to html or csv reports?
Short = Cover = 0;
Buy = Cross( MACD(), Signal() );
Sell = Cross( Signal(), MACD() );
AB = CreateObject( "Broker.Application"
);
AA = AB.Analysis;
AA.Report( "C:\Program Files\AmiBroker\Reports\test.rpt"
); // generate report
//AA.Report( "C:\\Program Files\\AmiBroker\\Reports\\test.rpt"
); // generate report
Saturday, August 23, 2008, 6:25:41 AM, you
wrote:
>
|
Problem solved; I emptied the report folder
and it started to work again.
herman
Saturday, August 23, 2008, 5:58:31 AM, you
wrote:
>
|
I am using AB 5.16.0 and for some reason I
can no longer can get detailed BT reports when I do Backtests. They
are turned ON in AA Settings.
When trying to display a report I get the
msg "Detailed Report not available. Please check settings /
report tab"
Any ideas why this happens?
Herman
|
|
|
I am using the free version of SPAMfighter for
private users.
It has removed 531 spam emails to date.
Paying users do not have this message in their
emails.
Try SPAMfighter for
free now!
|
|
I am using the free version of SPAMfighter for private users.
It has removed 531 spam emails to date.
Paying users do not have this message in their emails.
Try
SPAMfighter for free now!
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
__,_._,___