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

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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by llanqui, Today, 03:53 AM
    0 responses
    4 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Working...
    X