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

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



PureBytes Links

Trading Reference Links


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    





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/