PDA

View Full Version : Downloading Data


HelloHello
08-11-2007, 12:25 AM
Is there a way to do this?

What I would like to do is type 250 stock symbols, and be able to walk away from my computer and download all the files into a text file. is this possible using ninja trader?

NinjaTrader_Josh
08-11-2007, 03:12 AM
Not that I am aware of yet. I think you have to do it manually for every symbol, but it would be a nice feature to be able to export a list of instruments quickly. http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?Export

NinjaTrader_Dierk
08-11-2007, 04:11 AM
Is there a way to do this?

What I would like to do is type 250 stock symbols, and be able to walk away from my computer and download all the files into a text file. is this possible using ninja trader?
Unfortunately this is not supported. However, you as run a backtest on those 250 symbols on the strategy analyzer while connected to your data provider, NT will download the historical data for these 250 symbols before backtesting. Note: You can not batch export this data for 250 symbols at a time.

NinjaTrader_Dierk
08-11-2007, 11:24 PM
Here is an idea: You could code a "pseudo" strategy which just writes its data to a file. You then could "backtest" this strategy in strategy analyzer on any set of instruments.

Concept:
- open a file stream on first call of OnBarUpdate
- write data to file with every call of OnBarUpdate
- close the file stream by overwriting the Dispose method (Dispose method: see help guide)