Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical Data for backtesting

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

    Historical Data for backtesting

    I have my NT settings to automatically merge historical data. I have minute data going back to April 2018 for the ES 06-18 contract. I am currently using the ES 03-20 contract. If I run a backtest for 365 days using the ES 03-20 contract, will it be accurate, or would I need to run the test for each quarter for each of the contracts?

    I am testing a day-trading strategy which has excellent results for the current contract, but the results become worse as I go back beyond July for the current contract. Looking a the daily bars, I don't see any correlation between the daily bar characteristics and the success of the strategy. The strategy shows profits for up trends as well as down trends, losses for up trends as well as down trends,, and this occurs without regards to whether the day was a strong bar or a bar with tails. I need to know if it is my strategy or the test itself which is producing the poor results prior to July.

    Thanks

    #2
    Hello Bionian,

    NinjaTrader processes the data and runs through the historical fill agorithm the same.

    Use prints and TraceOrders to understand why the orders are being submitted at the time and prices.

    Below is a link to a forum post that demonstrates using prints to understand behavior.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    34 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Yesterday, 02:41 AM
    0 responses
    15 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    25 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X