![]() |
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
According to v7's Help, "NinjaTrader stamps a bar with the closing time of the bar. For example, a minute bar with a time of 9:31:00 AM has data from 9:30:00 AM through 9:30:59 AM."
In contrast, I have some historical 1-min data with bars stamped with their starting time. For example, a minute bar with a time of 9:30:00 AM has data from 9:30:00 AM through 9:30:59 AM. So if I import that data into NinjaTrader, clearly I should select Format = "NinjaTrader (timestamps in import file(s) represent start of bar time)" in the Import tab of the Historical Data Manager. Then NinjaTrader should change a 9:30:00 AM timestamp to 9:31:00 AM during the import process. However, instead of ADDING 1 minute to the imported timestamps, it is SUBTRACTING 1 minute therefrom. You can easily check this by importing a file which contains only one 1-minute bar, such as: 20060101 000000;1.98415;1.98435;1.98410;1.98425;100 The bar in this import-file example represents data for the very first minute of 2006. So the correct NinjaTrader timestamp after importing would be 01/01/2006 00:01. However, on importing this (using Format = NinjaTrader (timestamps in import file(s) represent start of bar time)), NinjaTrader converted the date & timestamp to 31/12/2005 23:59 instead. That's two minutes out. ----------------------------------- Note that using Format = "NinjaTrader (timestamps in import file(s) represent end of bar time)" when importing historical data correctly results in no changes to timestamps. The above error only applies to selecting "NinjaTrader (timestamps in import file(s) represent start of bar time)" ----------------------------------- One more thing: How do I get threads in this forum to display in the right order, ie., with the oldest post 1st? Thanks! |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,217
Thanks: 82
Thanked 332 times in 324 posts
|
Hello Delve,
I tested the historical data import on my end and I was able to reproduce the issue. Once you import historical data that is time stamped at the starting time, the time stamp is two minutes off. I have forwarded your findings to Development to fix it. Thank you for reporting. You can configure it via 'User CP'-->Settings & Options-->Edit Options-->Thread Display Mode and set it to 'Linear - Oldest First'.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
Great. Thanks for both answers Jason.
|
|
|
|
|
|
#4 |
|
NinjaTrader Development
Join Date: Feb 2007
Location: Bamberg, , Germany
Posts: 279
Thanks: 0
Thanked 2 times in 2 posts
|
Hi Delve !
The issue you reported is fixed, and the fix will be available with the next update of NinjaTrader. Thanks for reporting, Christian
Christian
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks Christian!
|
|
|
|
| Tags |
| data, historical, import, timestamp |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Both NT 6.5 & NT 7? | diamondpearl | Installation and Licensing | 2 | 05-28-2010 02:08 PM |
| Historical Data Import | nicktheninjauser | Charting | 1 | 12-16-2009 06:06 AM |
| Import historical data | lifestyleoptions | Miscellaneous Support | 1 | 08-25-2009 03:04 AM |
| data feed missing split adjusts | mjtrader | Strategy Analyzer | 1 | 05-05-2009 08:56 AM |
| import of historical data | majkie | Miscellaneous Support | 8 | 09-01-2008 05:38 AM |