Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Issue with historical data in multi-instrument chart

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

    Issue with historical data in multi-instrument chart

    Hello everybody.

    I periodically run into some issue that I try to resolve for long time and I am still unsuccessful...
    I have some testing environment. There is 1-minute price chart of stocks BAYN_DE instrument from July 27 to August 2. Let's call it primary chart. There is also a simplest indicator in the chart. It assigns a secondary 1-second chart of futures FDAX 09-23 instrument with using of AddDataSeries method. OnBarUpdate callback just output the timestamps of the bars of primary and secondary charts into NT8 Ninja Output window. You can find the zip-archive of the indicator in the attachment.​ there is some issue with historical data of the secondary chart. What I can see as result in Output window.

    1st launch (see the attachment log_1.txt in logs.zip):
    - no historical data for FDAX on July 27
    - no historical data for FDAX on August 2

    Indicator was refreshed by F5 1 hour later (see the attachment log_2.txt in logs.zip):
    ​- no historical data for FDAX on July 27
    - no historical data for FDAX on August 2 from 10:00am to 11:10am

    Indicator was refreshed by F5 a couple of hour later (see the attachment log_3.txt in logs.zip):
    ​- no historical data for FDAX on July 27

    Could you please help me to figure it out? Why is the historical data provided ​​so unstable for FDAX?
    Attached Files

    #2
    Hello PopovDS,

    If you are having difficulty with historical data I would suggest trying to use the Right click Reload historical data option rather than using F5. F5 only reloads NinjaScript objects.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X