Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
time in log is way off from time of my machine
Collapse
X
-
time in log is way off from time of my machine
my strategy has a bool for timefortrade and its executing out of the hours of the bool and i'm not sure why. but, here is a snapshot of the log. and, it has a timestamp that is way earlier than me. is there a place where you set time for the instrument other than in the data series? i changed the 'trading hours' for the instrument to be pacific time. but, i'm thinking there is somewhere else.Tags: None
-
thanks for the reply. for some reason the strategy gets un-enabled. and, i check the log and that's there. is there any way to get that to stop affecting my strategy being enabled.
Comment
-
Hello SteveReiza,
That warning is not something which can disable a strategy, that is just letting you know 1 order was ignored. The strategy is likely being disabled if you have an error in your code, you would need to review the log and find where the strategy was disabled to see if there is an error or rejection listed.
Comment
-
thanks for the reply. alright i'll check into doing prints and trace.
question. why is something that happened hours before affecting an order in the present? an order being ignored isn't good.
Comment
-
Hello SteveReiza,
That depends on what you coded. If your logic was expecting an order but it was ignored for the given reason there could be no further trades. This comes down to how your strategy works and if it can accommodate that. Using prints is the best way to identify what happened in your specific script so you can see how it logically worked after the order was ignored.
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment