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

Re: [amibroker] Possible to Backtest Only a Specific Exchange, e.g. NASDAQ?



PureBytes Links

Trading Reference Links

Hello,

Provided that all your NASDAQ stocks are assigned
to "NASDAQ" market (see http://www.amibroker.com/guide/h_categories.html )
it is quite easy:
in AA window, select "Apply to: Use Filter"
and click "Define..." button next to it and select
Market: NASDAQ
from the combo.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "kanowna2000" <kanowna@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, February 05, 2005 8:42 PM
Subject: [amibroker] Possible to Backtest Only a Specific Exchange, e.g. NASDAQ?


> 
> 
> Hello,
> 
> I was wondering if someone has ever tried backtesting only a specific 
> exchange.  I am interested in trying a backtest that would allow only 
> NASADAQ stocks, and reject others.  My database in AB is the entire 
> group of all 3 exchanges (NASDAQ, NYSE, AMEX), and normally when 
> I 'fire up' my backtests I click the 'All Stocks' radial button.  I 
> guess I only need some kind of code similar to this pseudo-code:
> 
>  If exchange (ticker) = 'NASDAQ'
>      continue
>  else
>      reject
> 
> My problem is that I don't know how to refer to 'exchange' 
> and 'ticker' in the 1st line.  I tried checking the Help area in the 
> AB software but I really did not see what the specific variables 
> should be.
> 
> Your ideas would be greatly appreciated.  Many thanks.
> 
> Joe    
> 
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/