Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

interpreting multiple market backtesting results

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

    interpreting multiple market backtesting results

    Suppose I have a strategy which trades 1 contract of ES (as the primary) and 3 contracts of ZB (US 30-year treasury).

    If I backtest the strategy, will the results like returns, sharpe, drawdown etc., be calculated based on ES's contract value (because it is the primary)?

    Is it possible to write a strategy that has a notional amount, say $1 mn, in addition to saying 1 contract of ES, 3 contracts of ZB etc., so that when statistics like drawdown, returns, etc. are calculated and shown in the backtest, they reflect the notional amount, instead of the contract value of say ES or ZB?

    More specifically, is it possible to write a strategy for a "portfolio" where the rules for different markets (ES, ZB, CL, GC, etc.) are different?

    #2
    Hello uday12,

    Trades made to a secondary series do appear in the Strategy Analyzer results as well as the Strategy Performance results when running a script in real-time.

    Trades made to a secondary series will not appear on a chart, however.

    It would not be possible to alter the performance results.

    Yes, you can write a script that behaves differently with different instruments by writing conditions that are specific to the Instrument.MasterInstrument.Name.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    567 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X