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
Exporting tick data across multiple contracts
Collapse
X
-
Exporting tick data across multiple contracts
Hi, I am seeking to export tick data from ES across multiple contracts going back a number of years. Is this possible? I know NT8 normalizes data between contracts from what I understand, does data exported from NT8 do this as well?Tags: None
-
Hello alcorr247,
If you are using the historical data export tool that will only export data for a single contract at a time. If you wanted to export the data with the merge policy enabled you would need to create an indicator that writes a .csv file of the data on the chart. The chart would need to be on the current contract and then you would set the days to load to the amount of days that you wanted to export and apply the indicator. You can find a sample that writes price data as a .csv ifle here: https://ninjatrader.com/support/help...o_write_to.htmJesseNinjaTrader Customer Service
-
Hi Jesse,
Thanks for the suggestion.
I appear to be having two issues. First, I added that indicator and in the data series configuration set it for 3 years worth of days, but when the chart loaded it only went to march of last year, which is when the current 2024 June contracts began. Perhaps I misunderstand, are my merge settings incorrect? I have mergebackadjusted currently.
Second, I tried that sample script you linked to and it only appears to copy data for each bar of the chart, but I am seeking granular tick data down to each transaction to export. If I understand how the script currently works correctly, this would mean I would have to set my settings to 1 tick bars in order for the indicator to write to this level of granularity. Is my understanding correct?Last edited by alcorr247; 03-22-2024, 08:25 PM.
Comment
-
Hello alcorr247,
The length of data would depend on your data provider and what they offer. Most providers only provide around a year or less of tick data. If you have imported data from further back you could request a further back date.
For tick data you would need to open a tick chart.
JesseNinjaTrader Customer Service
Comment
-
Yes, you can definitely export tick data from ES for multiple contracts over several years. NinjaTrader 8 (NT8) makes sure the data is consistent between contracts, which is super handy. When you export this data from NT8, it should keep that consistency, giving you a clear picture of how prices have moved over time across different contracts. I had to do something similar recently, and I found that being able to export normalized tick data from NT8 really helped with my analysis. Just a heads-up, though: how much historical tick data you can get and how complete it is might depend on where you're getting your data from, so it's a good idea to check with your data provider about any limits or details.
Comment
-
Originally posted by ClarissaGalloway View PostYes, you can definitely export tick data from ES for multiple contracts over several years. NinjaTrader 8 (NT8) makes sure the data is consistent between contracts, which is super handy. When you export this data from NT8, it should keep that consistency, giving you a clear picture of how prices have moved over time across different contracts. I had to do something similar recently, and I found that being able to export normalized tick data from NT8 really helped with my analysis. Just a heads-up, though: how much historical tick data you can get and how complete it is might depend on where you're getting your data from, so it's a good idea to check with your data provider about any limits or details.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by poplagelu, Today, 05:00 AM
|
0 responses
3 views
0 likes
|
Last Post
by poplagelu
Today, 05:00 AM
|
||
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,407 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
98 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
8 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
160 views
0 likes
|
Last Post Yesterday, 10:23 PM |
Comment