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

[amibroker] Is it possible to limit the number of candidate stocks during a backtest?



PureBytes Links

Trading Reference Links

Hello, All.

I have a question about backtesting. The backtest strategy I use
limits the maximum number of stocks in the model portfolio at any
given time to 10 (MaxOpenPositions), and the entire portfolio is
cycled about once per week, as old stocks are stopped out, and
replaced with new stocks. 

However, when I scan for stocks based on the same strategy, sometimes
up to 100 stock candidate stocks can be thrown up by the scan. If I
already have nine stocks in my portfolio, then at most one can be
bought. But which one? It is impossible to place a limit buy order for
all the stocks on my list with my broker, in order to fill the one
vacant position in my portfolio. I rank the stock candidates by RSI.
However, it is impossible to predict which stock will actually be bought. 

For this reason, I was wondering if is it possible to limit the number
of candidate stocks during a backtest run, for example to eight, and
to only allow stocks to be selected during the backtest from this list? 

Many thanks,
Paul



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
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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