Jump to content
Medved Trader Forums

Wildcard for exclude symbols in alerts


Recommended Posts

   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

 

Link to comment
Share on other sites

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;

 

 

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...