Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Filtering out dead symbols

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Filtering out dead symbols

    I am trying to create a market scanner

    This is how it works
    I have imported 3000 stock symbols for the U.S. exchange and put them into a list
    Then I create a condition as a strategy and then run this condition(strategy) on the strategy analyser and if the conditions are met it prints the instrument name
    Example :
    If (price is above SMA200)
    Print(instrument. Full name )

    Seems to be working good but there is a one problem, as there is over 3000 stocks on my list some of the symbols are dead (don't trade no more) (also using latest up to date stock list)
    So when the strategy analylizer reaches the first of the these stocks it gets stuck and doesn't proceed thus not letting the scan complete it just writes "loading ABC " in the corner and stays on it.

    Is there any way that I can tell the strategy that if there is no data available skip the symbol and print(instrument.fullname + "dead symbol") and continue scanning

    Btw how do I delete a thread from NT forum?
    Last edited by maaz1598; 07-04-2016, 09:26 AM.

    #2
    Hello maaz1598,

    Thank you for your post.

    You cannot delete a thread in the forum.

    There is no means to make sure the data is not attempted to load. It would be advisable to remove the instruments that are no longer active.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    562 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    325 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X