NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 05-30-2010, 07:32 PM   #1
Delve
Junior Member
 
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
Default NT 7.0.0.16 incorrectly adjusts timestamps on historical data import

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!
Delve is offline  
Old 05-31-2010, 05:19 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,223
Thanks: 83
Thanked 333 times in 325 posts
Default

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'.
NinjaTrader_Jason is offline  
Old 05-31-2010, 06:40 AM   #3
Delve
Junior Member
 
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
Default

Great. Thanks for both answers Jason.
Delve is offline  
Old 06-02-2010, 01:26 AM   #4
NinjaTrader_Christian
NinjaTrader Development
 
NinjaTrader_Christian's Avatar
 
Join Date: Feb 2007
Location: Bamberg, , Germany
Posts: 279
Thanks: 0
Thanked 2 times in 2 posts
Default

Hi Delve !

The issue you reported is fixed, and the fix will be available with the next update of NinjaTrader.

Thanks for reporting,
Christian
NinjaTrader_Christian is offline  
Old 06-03-2010, 09:50 AM   #5
Delve
Junior Member
 
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks Christian!
Delve is offline  
 

Tags
data, historical, import, timestamp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 11:44 PM.