Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stock/ETF Rotation Strategy Feasible?

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

    Stock/ETF Rotation Strategy Feasible?

    Hi,

    I was wondering if it is possible to create a stock/ETF rotation strategy in NT.

    The basis of such a system would be to rank a bunch of stocks/ETFs based on historical criteria (e.g. past one month percent change).

    The only way I can think of executing this idea in NT would be to Add() a whole bunch of instruments in Initialize() and am concerned that doing this for the Nasdaq 100 or S&P 500 would be problematic due to the number of instruments.

    Is NT able to handle large amounts of instruments in a single strategy (assuming the calculations are done once per day, are not too computationally intensive, and the strategy has CalculateOnBarClose = true)?

    Thanks

    #2
    Hello Wuileng,

    Thank you for your post.

    Yes, this would be possible to do with NinjaScript Strategy.

    With concerns of the multiple instruments, yes they can be a factor in the performance.

    If you only plan on having them calculate once per day this shouldn't be an issue as for the instance and running. Things to keep in mind are if you change the COBC to false and if you want to use an intraday time frame. Both will cause the strategy to calculate more frequently and could cause performance issues.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Perform a forum search on such terms as "ETF," "rotation," and "rank."

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      65 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      149 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      99 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      286 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X