Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get Backtest Data Series parameters

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

    Get Backtest Data Series parameters

    Hi!

    I would like to know how to obtain through my code the values ​​of the Data Series parameters used in the backtest, as "Type" and "Value".



    Tks.

    #2
    Hi brunoviveiros, thanks for your question.

    Those values can be accessed through the BarsPeriod property e.g.:

    Print(BarsPeriod.BarsPeriodType);
    Print(BarsPeriod.BaseBarsPeriodValue);

    If my strategy analyzer is set to 1 minute, it will print "Minute" then "1"

    Kind regards,

    ChrisL

    Comment


      #3
      ChrisL,

      Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      57 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      39 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      45 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      35 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      156 views
      0 likes
      Last Post SalmaTrader  
      Working...
      X