[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Backtest problem



PureBytes Links

Trading Reference Links

Hello,

Since AB by default uses AFL file name there should be no problem
unless you use SetFormulaName with some Windows reserved name
like "PRN", "AUX", "LPT", "COM"

The file names that AmiBroker tries to create are:

Reports\results.rlst
Reports\ReportName-YYYYMMDDHHmmSSTTT\stats.html
Reports\ReportName-YYYYMMDDHHmmSSTTT\charts.html
Reports\ReportName-YYYYMMDDHHmmSSTTT\formula.html
Reports\ReportName-YYYYMMDDHHmmSSTTT\settings.html

YYYY - is 4 digit year
MM - is 2 digit month
DD - is 2 digit day
HH - is 2 digit hour (24 hour system)
mm - is 2 digit minute
SS - is 2 digit seconds
TTT - is 3 digit millisecond (000..999)

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Dave Merrill" <dmerrill@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, December 02, 2003 10:46 PM
Subject: RE: [amibroker] Backtest problem


> I have this problem too, but not every time. 
> 
> One thing I strongly suspect is that certain characters in the name of the
> formula will cause it. AB tries to create a folder using that name to store
> the report files in, and if there are things in the name that can't be in a
> legal filename, no joy. Tomasz, you might consider filtering the name to
> prevent this.
> 
> However, that's definitely not the only cause. I didn't report it yet
> because I couldn't figure out what causes or fixes it, but it's probably
> best to get the process started anyway.
> 
> Dave
> 
> 
> 
> > Tomasz (or others who might know solution).
> > 
> > Every time I run a backtest, at the end of the process the following
> > message comes up:
> > 
> > "The report file cannot be open for writing."
> > 
> > The first time the msg came up, I did have the Report Explorer open.
> > But even after I closed Report Explorer, the message persists.
> > 
> > The generated trade list shows up in AA, but when the Report button is
> > clicked, the normal report window pops up stating that it cannot find
> > server - HtmlView and further stating that "The page cannot be displayed"
> > 
> > Rgds,
> > 
> > Phsst
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/