PureBytes Links
Trading Reference Links
|
Hello,
This depends on what data source are you using. If you are using
EXTERNAL source then File->Database Settings "number of bars to load"
decides how many bars are loaded.
If you are using local database then all bars in database are used in backtesting.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "gary_tiger2001" <gary_tiger2001@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, January 05, 2004 7:01 AM
Subject: [amibroker] how many days of data is loaded in backtesting
> Forgive me to ask this basic question. I have read through manual
> and couldn't figure out the answer.
>
> Let us say we have 10 years data (2500). In a backtest code line
> like,
>
> value = close * 2;
>
> how many days of data is loaded? 10 years (2500)or less? Can it be
> set in configuration settings? The reason I ask is if I want to do a
> exploration for the last quote only, it doesn't make sense to load
> and calculate based the whole 10 years data, as our interest is only
> the last quote. Only if AB can only load the last day of data, the
> calculation will be much more efficient and fast.
>
> Secondly, when we use addtocomposite() function, can we append the
> new data to the existing symbol generated by previous runs of
> addtocomposite(). The same logic applis here. I don't want to run
> calculation for the whole database every day.
>
> Thanks a lot in advance,
> Gary
>
>
>
> 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
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
>
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
------------------------ 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
---------------------------------------------------------------------~->
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|