Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

What does "days to load" mean?

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

    What does "days to load" mean?

    Suppose that I am configuring a chart and under Time Frame I set Load data based on -> Days and put a number under Days to load. What precisely does "days to load" mean? From experimenting I deduce that it means "go back from now N calendar days and then backwards from there to the start of the session". Can you confirm?

    The reason that this is important is that I have been wondering about differences in strategy performance between realtime and backtesting. I finally realized that in realtime the strategy only has the data available in the chart, whereas when backtesting the entire range specified is available. I want to modify my strategy to match the realtime chart/data behavior.

    Thanks!

    #2
    Hello aworldnervelink,

    correct, this would be the number of days to load from the current time which would also incorporate the session as you noted. The backtest and realtime testing will have some general differences in how they operate so it would be difficult to get them to match exactly. The backtest specifically won't be able to select data by Days in the same way as the chart, it instead uses the custom range. If you need to do a comparison where the chart uses the same historical data s the backtest you would need to configure the chart like the backtest instead of the backtest like the chart. You can use the Custom range instead of days in the chart to gather the whole range of data.


    I look forward to being of further assistance.

    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    12 responses
    3,239 views
    0 likes
    Last Post Leafcutter  
    Started by AveryFlynn, Today, 04:57 AM
    0 responses
    4 views
    0 likes
    Last Post AveryFlynn  
    Started by RubenCazorla, 08-30-2022, 06:36 AM
    3 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Started by f.saeidi, Yesterday, 12:14 PM
    9 responses
    25 views
    0 likes
    Last Post f.saeidi  
    Started by Tim-c, Today, 03:54 AM
    0 responses
    3 views
    0 likes
    Last Post Tim-c
    by Tim-c
     
    Working...
    X