I am using NinjaTrader.Client.dll library for sending data to NT7, and I have some problem. I send data from file, and how we can see there no data with time 9:59:59, but NT7 have it. And I see, that sometimes NT7 subtract 1 second (not only in the first ticks). When I debug my "sender", I see that time is correct. When and why time changing? This bug happen some times. I mean with same data, same time, same computer it can happen and not.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NinjaTrader.Client.dll LastPlayback function changing time.
Collapse
X
-
NinjaTrader.Client.dll LastPlayback function changing time.
Hello.
I am using NinjaTrader.Client.dll library for sending data to NT7, and I have some problem. I send data from file, and how we can see there no data with time 9:59:59, but NT7 have it. And I see, that sometimes NT7 subtract 1 second (not only in the first ticks). When I debug my "sender", I see that time is correct. When and why time changing? This bug happen some times. I mean with same data, same time, same computer it can happen and not.Tags: None
-
But it not the same problem. I use time without any conversions. In the text file I have date and time in "yyyyMMddHHmmss" format. And I have no problem with value. And I use NT7 and I need help in NT7 platform.Originally posted by vladko View Post
Comment
-
Hello,
Thank you for the post.
The platform would use the PC time, it is possible that an external application has a different time than when the platform gets the tick and timestamps it. As this is not a generally supported subject, you may or may not be able to use the LastPlayback method instead of Last as has been mentioned. This would be an item you would need to try. You can also try syncing the PC clock, in case you have some timestamped information incoming and the PC is out of sync that may be one possibility.
I look forward to being of further assistance.
Comment
-
But my external application send timestamps from text file. I mean, that I read text file, get "20170101100000", and send it to NT7, but NT7 write to base "20170101095959". I repeat, I am not convert DateTime.ToString(), I use ready formatted timestamp in string format.Originally posted by NinjaTrader_Jesse View PostHello,
Thank you for the post.
The platform would use the PC time, it is possible that an external application has a different time than when the platform gets the tick and timestamps it. As this is not a generally supported subject, you may or may not be able to use the LastPlayback method instead of Last as has been mentioned. This would be an item you would need to try. You can also try syncing the PC clock, in case you have some timestamped information incoming and the PC is out of sync that may be one possibility.
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
561 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
325 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment