PureBytes Links
Trading Reference Links
|
Hello,
Windows OLE provides automatic coercing of types, so you can
use for example strings in ISO format (YYYY-MM-DD)
AA.RangeFromDate = "2003-04-12";
AA.RangeToDate = "2003-11-03";
Best regards, Tomasz Janeczko amibroker.com
----- Original Message -----
Sent: Friday, April 07, 2006 4:40
PM
Subject: Re: [amibroker] Automated
Backtests
Thanks Thomasz, I'll give it a shut. Can you please help on how to
define RangeFromDate and RangeToDate? I appreciate your
assistance.
Short.
On 4/7/06, Tomasz
Janeczko <amibroker@xxxxxx>
wrote:
Hello,
Backtest(2) is OLD backtester. Do not use it until you
have some 'legacy' code (from version 4.40 or earlier).
Use Backtest(0) for portfolio backtest.
AA.Report works but you have to provide correct file name
(note that backslash in the path should be written as \\ ) or empty string
to display.
For debugging purposes I suggest you to run exactly the
code sample provided in the help:
/* run
backtest and display report */ AA.Backtest(); AA.Report(""); // empty
file name means display report
----- Original Message -----
Sent: Friday, April 07, 2006 3:21
PM
Subject: Re: [amibroker] Automated
Backtests
Thomasz, you're incredible - GREAT FEATURE OF AB!!!
However, I can't seem to export the backtest result to a HTML file,
when running Backtest(0) and then AA.Report. No HTML
file is being generated. Interesting to note, though:
1) When running Backtest(2) it DOES export the backtest result
list - a long HTML file, containing PER SYMBOL data. I'm interested though
in the portfolio behaviour, and less in per symbol info.
2) When running BackTest(2), Export (AA.Export)
DOES WORK, and exports trades etc to a CSV file. Unfortunately, as stated,
AA.Report doesn't seem to work. Can you, or anyone
else, please help?
Another issue, if you won't mind: say I'm interested the
test period to be 12/4/2003 to 3/11/2003. I'm defining
the following:
AA.RangeMode=3;
Now, I'm not sure how to handle a DATE variable. Can you please help
defining RangeFromDate and RangeToDate? Thanks.
Short.
On 4/5/06, Tomasz
Janeczko <amibroker@xxxxxx> wrote:
Of course there is a way, just look into help
file:
(SCROLL DOWN to the end for code sample).
Best regards,
----- Original Message -----
Sent: Wednesday, April 05, 2006
9:09 AM
Subject: [amibroker] Automated
Backtests
Hi Folks,
I have a system that I'd like to test on different time periods. I
have some 150 different intervals that I'd like to check - the system is
obviously constant, the only thing that changes from test to
test is the STARTING PERIOD and ENDING PERIOD.
Is there a way one can automate AB's backtester, and thus "save"
the frustrating manual changing of the "START" and "END"
dates?
Thanks,
Short,
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
other support material please check also: http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS
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
other support material please check also: http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS
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 other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
|