Script to download nt replay data - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Script to download nt replay data
Started:May 27th, 2010 (10:06 PM) by vegasfoster Views / Replies:4,356 / 5
Last Reply:October 2nd, 2012 (01:24 AM) Attachments:1

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Script to download nt replay data

Old May 27th, 2010, 10:06 PM   #1 (permalink)
Elite Member
las vegas
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
Posts: 1,147 since Feb 2010
Thanks: 304 given, 832 received

Script to download nt replay data

Does anyone know of a ninja script or can you write a script that can download replay tick data for multiple instruments and multiple dates? Thanks.

Moderator Note
Moved from Platforms to NinjaTrader Programming. -- Big Mike

Last edited by Big Mike; May 27th, 2010 at 10:58 PM. Reason: moved
Reply With Quote

Old May 27th, 2010, 10:06 PM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old May 28th, 2010, 08:03 AM   #3 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker/Data: Zaner/Zen Fire
Favorite Futures: ES,6E,6B,GC,CL
Posts: 590 since Nov 2009
Thanks: 176 given, 115 received

good question Vegas. I know downloading one day at once takes long time, though NT 7 is lot better and easier than 6.5 as we don't need to record anymore.

Reply With Quote

Old May 28th, 2010, 03:19 PM   #4 (permalink)
 R.I.P. 1960-2010 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
ZTR's Avatar
Posts: 2,100 since Nov 2009
Thanks: 1,104 given, 1,382 received

I have been asking NT about this for a while. I hope someone finds a way to batch this with a script.

NT said they would look at it but were worried about the load on their servers. Or something like that.

I suggested limiting it to time the markets are less busy and set it up so it is a staggered batch. Users would Que up for multiple instruments, etc. Not sure of the logistics, but it should be possible to make the most efficient use of server capacity and bandwidth.

But they are on Beta 16, do not think this is a priority at this time.

Maybe Kinetick will do something like this? I will begin Beta testing that product as soon as they give me the go ahead & plan to give them the best input I can as well as address any thing else I can put forward, including this.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Reply With Quote

Old October 2nd, 2012, 01:21 AM   #5 (permalink)
Elite Member
Brisbane, Australia
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, FDAX
Posts: 1 since Jan 2011
Thanks: 27 given, 1 received

Automated NinjaTrader replay data download script

Futures Edge on FIO

What happens to the S&P 500 when a new President takes office?

Automated NinjaTrader replay data download script

I live in Brisbane Australia and I am interested in NinjaScript autotrading as I like to sleep when the US futures market is awake.
I have been an elite member of Big Mikes for more than one year and have been looking for a way to contribute. I found NinjaTrader replay data very tedious to download and saught a way to automate the process. A coder friend and I developed a script to achieve this.
Install AutoHotKey from AutoHotkey
RightClick on "Ninja_DataDL.ahk" and select "Edit"after you download and unrar it.
Change "Control Center" from the default "Untitled1" to whatever yours is called on the first 3 lines.
Change the startdate on line 7 to what you want in YYYYMMDD format.
Change the LoopCnt number on line 8 to the number of days you wish to download.
99 days should cover the life of most futures contracts.
DownloadTime on line 11 sets the time available to download each days data.
20 seconds is more than enough for my internet connection. 10 seconds would be the minimun.
Line 12 sets the Instrument to download. Unfortunately only one instance of any Instrument can be present in your instrument list. If you wish to download ES 12-12, it has to be the only ES contract in your Instrument List. Removal and addition of Instruments is simple in NinjaTrader.
3 months of data takes just over 20 minutes to download and it is best to let your PC get on with the job while you do something more rewarding like taking your dawg for a walk.


Attached Files
Register to download File Type: rar Ninja_DataDL.rar (968 Bytes, 253 views)
Reply With Quote
The following 2 users say Thank You to Peresai for this post:

Old October 2nd, 2012, 01:24 AM   #6 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 45,431 since Jun 2009
Thanks: 28,836 given, 79,551 received

I think similar script was posted a while back here:

And also, please do me a favor and share AHK scripts here:


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Script to download nt replay data

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT 7 Market Replay Help!!! tderrick NinjaTrader 4 December 29th, 2012 08:47 PM
NT indicator script compiling issuses / error while importing skyfly NinjaTrader Programming 8 July 20th, 2010 12:56 AM
How do you clear a NT script error from bad indi, cannot compile until addressed. dreambig The Elite Circle 6 July 6th, 2010 08:59 AM
Request: Script to download historical data Henrik Platforms and Indicators 2 January 4th, 2010 01:23 PM
IB tool data download (for NT) siscop NinjaTrader 4 September 9th, 2009 03:19 AM

All times are GMT -4. The time now is 12:52 PM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-21 in 0.12 seconds with 30 queries on phoenix via your IP