Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error Backtesting in strategy analyzer multi time series strategy

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

    Error Backtesting in strategy analyzer multi time series strategy

    Hello,

    I got an error (please see attached screen) about using milti data series strategy in Strategy Analyzer Backtest. I picked Historical fill option as High and 1 min as order fill. What exactly do I need to code, fill related, so that Strategy Analyzer would allow it? The reason why I want to use 1 min data for fills because I have it going 10 years back.

    Thanks,
    redduke
    Attached Files

    #2
    Hello RedDuke,

    You can find a sample of adding intrabar granularity for backtesting in the following link. The analyzer does something similar when you toggle this setting, however if you already have additional series in your script it cannot be used. You would instead just add the series yourself in code in that situation similar to the sample.



    The key in the sample is the BarsInProgress overload for the entries:

    Code:
    EnterLong[B](1,[/B] 1, "Long: 1min");
    I look forward to being of further assistance.

    Comment


      #3
      Hi Jesse,

      Thanks for your answer. I am very much aware how to custom code backtest manually. My question is can I use multi data series strategy in Strategy Analyser Optimization with using High for Historical Data along with using option of 1 min for fills (please see attachment)?

      Thanks,
      redduke
      Attached Files

      Comment


        #4
        Hello RedDuke,

        No as the error states you need to use a single series script to use that feature. You would need to use the suggestion the error mentions and manually code the series you wanted into your script to achieve that. If you wanted to use 1 minute for fills in a multi series script, you have to add 1 minute series and modify your logic to use that series for your orders.


        I look forward to being of further assistance.

        Comment


          #5
          Thanks a lot for clarifying this.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          56 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          132 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          73 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          45 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          49 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X