Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to update historical chart data?

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

    How to update historical chart data?

    1) Is there any way to force an updating of a chart's historical data programmatically?

    2) Can I add my own historical data programmatically? I want to fix some data in realtime and programmatically

    #2
    Hello vstypilvninza,

    Thank you for your post.

    These inquiries appear to be in regards to NinjaScript programming and I have moved this post to a more appropriate forum.

    1) Is there any way to force an updating of a chart's historical data programmatically?
    While there is a way to do this, it comes with some warnings as you can see in the help guide. Please use caution if you use this method as this can cause heavy load or as noted it may become recursive.

    https://ninjatrader.com/support/helpGuides/nt8/reloadallhistoricaldata.htm

    If you have a different use from what the help guide suggests, I can also put in a feature request for a more specific option. Outside of this item, there is not necessarily a suggested way to do this programmatically.


    2) Can I add my own historical data programmatically? I want to fix some data in realtime and programmatically
    I'm unsure what you mean by "fix some data in real time and programmatically". The easiest way to get historical data into the platform would be to either download it directly from your data provider's historical data servers or to obtain data from a third party historical data provider and import that data.

    You could also consider creating an external application that connects to NinjaTrader via our DLL interface and feeds historical data to NinjaTrader through that, however, you would not be able to connect to a real time data feed at the same time.

    An example application which can pump data to NinjaTrader can be found on this post here:



    Please note that our support for the DLL interface is very limited.

    Please let us know if we may be of further assistance to you.


    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 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
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X