eugeneilyin / nrdtocsv

NinjaTrader 8 AddOn to convert NRD (*.nrd) market replay files to CSV (*.csv)
MIT License
25 stars 12 forks source link
addon csv csv-export market-replay ninjatrader ninjatrader-8 nrd

NRDToCSV

![image](https://user-images.githubusercontent.com/14204888/132671281-c7f68d43-cbfa-47da-87db-3092c60ec55c.png)

# NinjaTrader 8 AddOn to convert NRD (*.nrd) market replay files to CSV (*.csv)
(based on not yet documented MarketReplay.DumpMarketDepth feature)

Quick Start

  1. Download the latest zip file with AddOn from Releases
  2. Import AddOn into NinjaTrader 8 via Tools / Import / NinjaScript Add-On...
  3. Open NRD to CSV tool via Tools / NRD to CSV
  4. Press Convert button to convert all *.nrd replay files (could take some time to proceed)
  5. Check Documents \ NinjaTrader 8 \ db \ replay.csv folder with the results

Filter files to convert

You can specify filenames to convert with semicolon-separated regular expressions (experiment here):

Converted *.csv file format

Content example

L1;0;20210120050050;2300000;1855.8;2
L1;1;20210120050107;2140000;1855.4;8
L2;0;20210120050000;70000;0;0;;1855.5;1

L1 Records

L2 Records

Change Log

This project adheres to Semantic Versioning.
Every release, along with the migration instructions, is documented on the GitHub Releases page.

License

The code is available under the MIT license.

Contacts

Feel free to contact me at @gmail.com: eugene.ilyin