It just isn't practical to manually click the buttons for 250 stocks one at a time.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
automate the export of data
Collapse
X
-
automate the export of data
I want to export data to txt files for a number of stocks, and I need to do this weekly. I know NT allows us to export data using the historical data manager, but is there anyway to automate this process with a script? Or can we at least export data for groups of stocks all at once?
It just isn't practical to manually click the buttons for 250 stocks one at a time.Tags: None
-
Hello MM345,
Yes, this would be possible to do.
Below is a link to a reference sample that demonstrates writing historical data to a file.
As well as a link to all of the reference samples.
Following are links to all available NinjaScript reference samples within this forum section: Strategy Reference Samples (NinjaTrader 8) - also applicable to NT7 Using a time filter to limit trading hours (http://www.ninjatrader.com/support/forum/showthread.php?t=3226) Using multiple entry/exit signals simultaneously
For multiple series, below is a link to the help guide on the AddDataSeries() method.
A link to the help guide on BarsInProgress.
And a link to the help guide on Multi-Time Frame & Instruments. Please see the section 'How Bar Data is Referenced', and 'Accessing the Price Data in a Multi-Bars NinjaScript'.
Last, below is a link to an official reference sample that demonstrates how to add intra-bar granularity.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment