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

Re: [amibroker] Re: Dynamically Defining number of Bars to be Loaded



PureBytes Links

Trading Reference Links

I "think" it's loading your database into RAM and not loading it from elsewhere. This shouldn't be time consuming as each stock is only a few KB (and would probably be slower to try to load partial data). There is a control on how many symbols you can have in RAM simultaneously. Try increasing that f you're scanning or testing on lots of stocks. It's either in Database Settings or Preferences->Data.

Terry

dweilmuenster95125 wrote:
Thanks, Christopher, but I don't think that's the answer.  Even when I
use the data range capability to limit an exploration to, say, 5
years, the progress messages flashing at the bottom of AmiBroker
indicate that it's loading 3000 bars (about 11 years) for every symbol
in the exploration.  So, changing the date range to 1 year from 5
years doesn't reduce the run time for the exploration.

David

--- In amibroker@xxxxxxxxxxxxxxx, "Christoper" <turkey@xxxx> wrote:
  
You can limit the date range for explorations/scans in teh AA window.
 That will cut the time down.  

--- In amibroker@xxxxxxxxxxxxxxx, "dweilmuenster95125"
<dweilmuenster95125@xxxx> wrote:
    
Once a database is defined for AmiBroker, is it possible in
Explorations or Backtests to specify that the program should load only
a specific number of the most recent bars in the database, rather than
the maximum number defined when creating the database.

For example, if a database is defined to load 3000 bars of daily data
from TC2005, is there a way in an Exploration or Backtest to specifiy
that only the most recent 500 bars should be loaded for that
Exploration or Backtest?

Why?  Some of my backtesting requires 10 years of data.  Explorations
typically require only 2 years.  But, AmiBroker loads all 10 years for
explorations whether I need it or not because the database is defined
to accommodate the maximum number of bars for backtesting and
exploring.  That stretches the time to complete Exploration
susbstantially.

Thanks,
David
      





------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

<*> 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/
 




  


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