Download

There is no installation for this application. Download and extract to the folder/location of your choice and run it directly. It is a .net 6.0 application.

Usage

Here is an example command line

pjsncdexport /fromdate 022023 /sourcepath “E:\Paulhome\Documents\NinjaTrader 8\db” /instrument “@SPX500”

Updates

Please see the release notes in the documentation for details of updates

Requirements

Ninjatrader 7/8

Whilst Ninjatrader 7 should be supported for tick resolution export, I have not tested it.
Minute resolution is not currently enabled in this download

Licensing

This software is coffee ware. It is free to download and use, but, if you find it useful, please consider using the link in the app or the link on the right of this page to show the author you care and buy him a coffee. Just 1 coffee ( you can buy more if you want! ) – Or, consider it a beer! That’s not a lot for the time it saved you, is it? Without support, the author will neither maintain this product nor make new ones available publicly. Please be sure to check out some of my other Ninjatrader bits and pieces.  Remember, I’ve got to eat and keep the lights on too! Thanks for your support!

3 Comments

  • Raghu says:

    Hi paul,

    having few issue with this utility. c:\xxx> pjsncdexport /fromdate 022023 /sourcepath “C:\Users\asraghu\Documents\Amibroker\NT8Data” /instrument SPY /resolution minute
    In the folder NT8Data I have subfolder tick and inside that SPY with all the minute data ncd files. I had to do this because I dont have tick data in NT8, the util is always looking by default into tick folder if I point it to the Ninjatrader database path. This is the first issue. The second issue, with that command line, I get a error ____ (_) (_) | | |
    / __ \ _ __ _ ___ _ __ ___ _| |_| |__
    / / _` | ‘_ \| / __| ‘_ ` _ \| | __| ‘_ \
    | | (_| | |_) | \__ \ | | | | | | |_| | | |
    \ \__, _| .__/| |___/_| |_| |_|_|\__|_| |_|
    \____/| | _/ |
    |_| |__/
    NCDExport V1.0 (c) @pjsmith – No commercial distribution permitted – https://ko-fi.com/pjsmith

    Using from date : ‘022023’
    Using source : ‘C:\Users\asraghu\Documents\Amibroker\NT8Data’
    Instrument : ‘SPY’
    Days to export : ‘7’
    Instrument : ‘SPY’
    Output format : ‘csv’
    ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────0.00% Processing data from 4 files 00:00:21
    C:\pjsNCDExport>der.NCDUtility.ReadTicks(Stream stream)+c()
    C:\pjsNCDExport>[] A_0)

    Is this because minute data download is not enabled ? can you please enable it ?

  • Adrian says:

    Hi Paul,
    Two things in relation to the free version running on Win7 in 2026.
    1. The sourcepath has to NOT terminate in “.
    This syntax does not work
    pjsncdexport /fromdate 042925 /instrument “ES” /sourcepath “C:\Users\xxx\Documents\NinjaTrader 8\db\”
    Using from date : ‘042925’
    Using source : ‘C:\Users\xxx\Documents\NinjaTrader 8\db” ‘
    Instrument : ‘ES’
    Days to export : ‘1’
    Instrument : ‘ES’
    Output format : ‘csv’
    Output file : ‘ES-data.csv’
    Resolution : ‘tick’
    Unhandled exception. System.IO.IOException: The filename, directory name, or volume label syntax is incorrect. :
    ‘C:\Users\fawcett10\Documents\NinjaTrader 8\db” \tick\ES’

    while this syntax work — observe the missing ” at the end of command line:

    >pjsncdexport.exe /fromdate 042925 /instrument “ES” /sourcepath “C:\Users\xxx\Documents\NinjaTrader 8\db\
    Using from date : ‘042925’
    Using source : ‘C:\Users\xxx\Documents\NinjaTrader 8\db’
    Instrument : ‘ES’
    Days to export : ‘1’
    Instrument : ‘ES’
    Output format : ‘csv’
    Output file : ‘ES-data.csv’
    Resolution : ‘tick’

    2. The data is there but pjsncdexport.exe cannot find it:

    C:\Users\xxx\Documents\NinjaTrader 8\db\tick\RTY 03-25
    202502060100.Ask.ncd
    202502060100.Bid.ncd
    202502060100.Last.ncd
    . . .
    202502062300.Ask.ncd
    202502062300.Bid.ncd
    202502062300.Last.ncd
    202502070000.Ask.ncd
    202502070000.Bid.ncd
    202502070000.Last.ncd
    . . .
    202502071800.Ask.ncd
    202502071800.Bid.ncd
    202502071800.Last.ncd

    >pjsncdexport.exe /fromdate 020625 /instrument “RTY 03-25” /numdays 1 /sourcepath “C:\Users\xxx\Documents\NinjaTrader 8\db\
    Using from date : ‘020625’
    Using source : ‘C:\Users\fawcett10\Documents\NinjaTrader 8\db\’
    Instrument : ‘RTY 03-25’
    Days to export : ‘1’
    Instrument : ‘RTY 03-25’
    Output format : ‘csv’
    Output file : ‘RTY 03-25-data.csv’
    Resolution : ‘tick’
    Unhandled exception. System.Exception: No files found for date range: 02/06/2025 – 02/07/2025.
    at d.a(String[] A_0)

    Is there a fix for the issue #2 ? Thanks. Adrian.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share