Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing external historical data

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

    Importing external historical data

    Hello,
    I am having trouble importing some years of historical data for the ES. The data file I have is just called ES.txt
    The data looks like:
    20240515 000001;5275.25;5275.25;5275.5;1
    20240515 000001;5275.25;5275.25;5275.5;1
    20240515 000001;5275.25;5275.25;5275.5;1
    20240515 000001;5275.25;5275.25;5275.5;1
    20240515 000001;5275.25;5275.25;5275.5;2
    20240515 000001;5275.25;5275.25;5275.5;1
    20240515 000001;5275.5;5275;5275.5;1
    20240515 000009;5275.5;5275.25;5275.5;1
    20240515 000020;5275.25;5275.25;5275.5;1

    I believe this format is okay, and it imports fine, but I think I may be naming the file incorrectly. This is last, bid, ask data, and I see on your guides that the format for naming should be:

    Formatting the File Name
    When using the NinjaTrader format, the name of the text file to be imported must be the NinjaTrader instrument name followed by a period and "Last", "Bid", or "Ask" depending on the data type. For example:
    MSFT.Last.txt for Microsoft stock last price data

    ES 12-09.Bid.txt for the S&P E-mini December contract bid price data

    EURUSD.Ask.txt for the Euro/U.S. dollar currency pair ask price data


    For the ES, i want to load a few years through one text file, but when I do, it makes a new ticker called ES, which I understand. So my question is, how can I import the data so that it uses the correct contracts throughout the years? Should i use .Bid.txt or .Ask.txt also, or is it something else? Any insight would be really appreciated.

    Thanks

Latest Posts

Collapse

Topics Statistics Last Post
Started by Hwop38, 05-04-2026, 07:02 PM
0 responses
161 views
0 likes
Last Post Hwop38
by Hwop38
 
Started by CaptainJack, 04-24-2026, 11:07 PM
0 responses
308 views
0 likes
Last Post CaptainJack  
Started by Mindset, 04-21-2026, 06:46 AM
0 responses
245 views
0 likes
Last Post Mindset
by Mindset
 
Started by M4ndoo, 04-20-2026, 05:21 PM
0 responses
349 views
0 likes
Last Post M4ndoo
by M4ndoo
 
Started by M4ndoo, 04-19-2026, 05:54 PM
0 responses
179 views
0 likes
Last Post M4ndoo
by M4ndoo
 
Working...
X