jmp23834 18 posts msg #160097 - Ignore jmp23834 |
2/11/2023 10:51:25 AM
I am having trouble using the watchlist with multiple lists in a filter, I have tried the following:
watchlist(AAP) and it works
watchlist(ETF) and it works
watchlist(AAP,ETF) and it just searches AAP
watchlist(ETF,AAP) and it just searches ETF
what am I doing wrong?
|
nibor100 1,044 posts msg #160098 - Ignore nibor100 |
2/11/2023 11:57:16 AM
1. the watchlist command when used in a filter is expecting the names inside the parentheses, separated by commas, to be actual names of your own personal watchlists that you created in SF
and SF prefers the command to be
apply to watchlist()
2. if you want to limit a filter to a list of stocks use
apply to symlist(stock1,stock2,stock3, etc)
3. if you want your filter to use all of the etfs use
market is etf
Ed S.
|
jmp23834 18 posts msg #160099 - Ignore jmp23834 modified |
2/11/2023 6:38:07 PM
I found the issue. There was a comment line after the watchlist line. Once I deleted it everything worked.
|
nibor100 1,044 posts msg #160100 - Ignore nibor100 |
2/12/2023 9:18:24 AM
So, basically you posed an unsolvable problem for the rest of us because you didn't post your actual filter lines.
In the future post the filter lines along with a description of the problem and you'll probably see faster and more meaningful replies.
Thanks,
Ed S.
|