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 585 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.
|
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 161 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 980 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
|