Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Efficient historical analysis on varying stock universe

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

    Efficient historical analysis on varying stock universe

    I have a NinjaScript that I want to run on a historical stock universe that varies by day.

    E.g., I have a CSV that lists {Date},{Ticker} for all stocks I'm interested in running on each historical Date.

    What's the most efficient approach to run my strategy against that variable historical universe? Can it be done through the front end? Or should I load the CSV into the NinjaScript and run a check within some event that skips stocks not found?

    #2
    Hello dbooksta,

    Thank you for your post.

    Internally within a NinjaScript script creating such an event would be quite large and involve adding multiple lines of code for each instrument. It can be done but would likely results in longer run times for the strategy it self due to the amount of code to process.

    Unfortunately, there would not be any other method to truly filter out the stocks for automated or manual trading in NinjaTrader.

    Comment

    Latest Posts

    Collapse

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