Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Output Window Print Sequence
Collapse
X
-
Output Window Print Sequence
I have some print statement in my code that outputs the daily equity values for my strategy. When running a backtest with a list of equities the ouput sequence gets mixed up between the different equities. It seems that NT runs the equities in sequence, so why does the output have the daily equity printed values mixed up?Tags: None
-
Double Bogie, what do you expect to see? The daily PNL for all equities tested lining up for review? The Prints would be fired whenever your code / instance hits that specific section, you could not rely on a particular sequence here as backtesting / optimizing is multithreaded in NT.
It might be better to export / write those values to txt files.
-
I guess you answered my question. Basically you are saying that the strategy code for each equity in the list can be running simultaneously and outputting data as it hits the print statements.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
152 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
87 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
131 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
127 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
106 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment