Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Varying data history lengths

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

    Varying data history lengths

    Hi,

    NT appears to have the feature that it only tests for instruments added to a strategy when it has all the data for all the instruments in the a strategy.

    That is, if I have the whole S&P500 in a strategy and I want to test the last decade of daily data. However, not all the constituents have 10 years of data. NT appears to only test the constituent with the least data. E.g. LYB history only goes back to 2010. Therefore, NT will only start testing when it has that data and not the other constituents which have more data.

    What are the options here? I want NT to start testing on the data it has. Is there some sort of override in the backtest?

    Thanks,

    ST10

    #2
    Hi ST10, your understanding is correct here for a MultiSeries script. A workaround can be using a single series strategy and then running a basket test in the Strategy Analyzer with it -

    Comment


      #3
      Hi, thanks Bertrand.

      If I understand the functionality correctly that would mean I can’t refer to the other instruments as NT fires a strategy instance for each instrument?

      I need to do a compare against the relative performance of the stocks (e.g. if GE has performed better in the last month than HP, buy GE). I don’t think I can do that with the workaround?

      Thanks,

      ST10

      Comment


        #4
        Hi ST10, that's correct in understanding as well - you would not be able to communicate across the instance in this approach. Wouldn't the missing data be an issue in relative comparisons as well then for you in any case? So I think it would make more sense to trim the list to a time frame for which you would have all data required.

        Comment


          #5
          No, the performance is Null and therefore gets discounted by my script.

          Other solutions?

          Comment


            #6
            Unfortunately none I'm aware of.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            117 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            166 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            85 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            130 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            88 views
            0 likes
            Last Post PaulMohn  
            Working...
            X