I do some modeling with stocks on daily charts. I don't have access to intraday data (for now). I understand how strategy works OnBarUpdate() but is there any way I can make fake intraday data series so strategy analyzer will work? Pic related. I don't care about intraday activity, all price levels I need are from daily bars.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Fake intraday data
Collapse
X
-
Fake intraday data
Hi,
I do some modeling with stocks on daily charts. I don't have access to intraday data (for now). I understand how strategy works OnBarUpdate() but is there any way I can make fake intraday data series so strategy analyzer will work? Pic related. I don't care about intraday activity, all price levels I need are from daily bars.1 PhotoTags: None
-
Hello Leeroy_Jenkins,
Thank you for the inquiry.
For the strategy analyzer that will need historical data so you would need to import data for that or have a data feed.
If you wanted fake data you could generate a text file full of data-points and then import that. It doesn't need to be real data just in the formats shown here: https://ninjatrader.com/support/help...AndDataFormats
I am not certain if there are any sources online that have fake intraday data but it would be worth a few google searches to see if there are any existing things you can use. You might try searching for "fake stock data" or "generate fake stock data C#" as some examples. Whatever you may find you will want to make it format the data as shown above in the help guide.
You could make an indicator that exports the data it sees to file and then use the Simulated data feed to generate data: https://ninjatrader.com/support/help...tsub=simulated
You can additionally design an import type in the NinjaScript editor if the data you find cannot be changed or is in some specific format. You can find examples of some import types in the editor. https://ninjatrader.com/support/help...mport_type.htm
I look forward to being of further assistance.JesseNinjaTrader Customer Service
-
Comment
-
Hello Leeroy_Jenkins,
You could make an indicator and use the market analyzer or multiple charts to automate that. The previously mentioned items would be the starting place for getting the data in various ways. If you mean to automate exporting the simulated data you would need to do that as a market analyzer indicator column or multiple charts with your indicator.
If you need text, you can write a text file. The platform will read its own proprietary data as needed and present it in the platform in various ways such as processing that data in an indicator. If you wanted to export that data you could write it to file in the needed format. There is a sample of writing data to file in the help guide here: https://ninjatrader.com/support/help...o_write_to.htm
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mattbsea, Today, 05:44 PM
|
0 responses
3 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
20 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
Comment