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
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.JesseNinjaTrader Customer Service
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.
JesseNinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DJ888, Today, 10:57 PM
|
0 responses
6 views
0 likes
|
Last Post
by DJ888
Today, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Today, 10:23 PM | ||
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
7 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
Comment