Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting Question

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

    Backtesting Question

    Hello,

    Is there a way I can create an automation to run a backtest of a strategy for 1 year say 2022 but then run independently on year 2 , 2023 and provide results for both years?

    I want to test an in sample and out of sample year in one go. Not just run 1/1/22-12/31/23 but rather 1/1/22-12/31/23 and 1/1/13-12/31/23 in one go.

    Any ideas how to approach it?

    #2
    Hello johnny72,

    Thank you for your post.

    I don't think I am fully understanding your question. You mentioned, " Not just run 1/1/22-12/31/23 but rather 1/1/22-12/31/23 and 1/1/13-12/31/23 in one go"
    So you are saying you would like to see results from 1/1/22-12/31/23 and 1/1/13-12/31/23 (perhaps you meant 1/1/23-12/31/23?) from the same backtest?

    What you have described sounds similar to a Walk Forward Optimization, though that also includes an optimization of a parameter:

    You could always set up a parameter that does not affect the way the logic is processed and it would walk forward through time running the same logic and provide results over separate periods of time.

    Otherwise, you could consider running a backtest for the full period of time, then export the results via the Right-Click > Export menu and save them as an Excel file. You could then open them in a spreadsheet and manipulate the results as desired to see results for different periods of time.

    For more information regarding the Strategy Analyzer in general, please see the following section of the help guide:


    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    88 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    30 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    33 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    68 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X