j2
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Live Print statements
Collapse
X
-
Live Print statements
I'm using Print statements throughout my strategy, so I can monitor prices, indicators, and internal diagnostics in the Output window at regular intervals. This works as expected when running backtests, but I expected my live strategies to be printing to the Output window as well. I'm not getting any output from my live strategies. Are Print statements ignored for live strategies? Is there a setting that controls this?
j2Tags: None
-
Thanks for the suggestion. The live time-stamp test worked fine, so I double-checked my live strategies. The lack of output was due to the connection problem we addressed earlier. My Print statements were in the OnBarUpdate handler for the instrument that wasn't delivering bars. Now that the connection is working, I'm seeing the Outputs I was expecting. Thanks again.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
71 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
39 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment