StockFetcher Forums · General Discussion · S&P 500 and Nasdaq data<< >>Post Follow-up
psu7788
4 posts
msg #160160
Ignore psu7788
3/16/2023 1:04:13 PM

How do you filter on just the S&P 500 and/or Nasdaq? I've seen posts about using the ETFs, however, they don't mirror the movements of the indexes precisely, which is why I'm trying to filter on the indexes themselves.

I tried 'apply to symlist(^INX,^IXIC)', but that doesn't work.

Thanks,
Steve

xarlor
562 posts
msg #160161
Ignore xarlor
3/16/2023 2:08:41 PM


See https://www.stockfetcher.com/help/How-can-I-screen-for-stocks-within-a-specific-index/100337 for more examples.

Fetcher[
index is dow 30
]



Fetcher[
index is nasdaq 100
]



Fetcher[
index is s&p 500
]



Fetcher[
index is russell 1000
]





psu7788
4 posts
msg #160162
Ignore psu7788
3/17/2023 10:44:03 AM

Thank you, but that is not quite what I'm looking for. That does bring back the entire list of stocks in each index. I'm looking for just the single index value.

I think I found a post that said it wasn't possible, but I wanted to see if someone could confirm that.

wantonellis
155 posts
msg #160164
Ignore wantonellis
3/17/2023 12:25:29 PM

If you add these to your filter they should draw.

draw ind(^INX,close)
draw ind(^IXIC,close)

psu7788
4 posts
msg #160165
Ignore psu7788
3/17/2023 1:13:34 PM

wantonellis,

Thank you for your response, but unfortunately drawing them doesn't help with my idea. I'm really looking to just use a symlist within a filter. It is easy with stock tickers or ETF tickers, but the software doesn't seem to be able to pull indexes (anything with a ^***) in a symlist.

I appreciate the responses thus far.

Steve

psu7788
4 posts
msg #160166
Ignore psu7788
3/17/2023 1:20:12 PM

This might clarify...

This works: apply to symlist(AAPL).

This doesn't work: apply to symlist(^INX).

I wanted to try to run specific filters against various indexes in a list.

stockfetcher
979 posts
msg #160167
3/17/2023 1:26:57 PM

Please see the following help topic concerning indices in filter results:

Can an index appear in filter results?

StockFetcher Support


StockFetcher Forums · General Discussion · S&P 500 and Nasdaq data<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.