stock777 Posted March 9, 2023 Report Share Posted March 9, 2023 Starting to put SPY options on the watchlists, and need a way to exclude them from the percent move scans I use globally. Too many triggers, as you can imagine . Plus the daily symbols are changing every day (0DTE) so it would be onerous to manually enter these individually. Thinking a WILDCARD functionality in the exclude list , (ie .SPY*) would do the trick Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted March 9, 2023 Report Share Posted March 9, 2023 You're doing this in a scan, you have the SymbolData.Symbol string variable available. Just check for SymbolData.Symbol.StartsWith(".SPY") or something. Like, if you don't want your scan to run on ANY option symbol, just put this at the very start of the scan if (SymbolData.Symbol.StartsWith(".SPY")) return; Quote Link to comment Share on other sites More sharing options...
stock777 Posted September 25, 2023 Author Report Share Posted September 25, 2023 Just seeing this reply. Was referring to the built in percent move scan, not the coded scans. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.