Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Constant Error Message
Collapse
X
-
Hello edgeliner,
An overfill is generated by your strategy when you have an order that is marked to fill and cancel within the same second. Your NinjaScript / C# Code will always be logically processed and evaluate according to your set logic this can of course lead to unexpected results at times
You will need to debug your logic to determine where the cancel is being called from. This can be directly from CancelOrder(), or and OCO pair or when a limit order is set to cancel when the condition is no longer true.
For strategies add TraceOrders = true to your Initialize() method and you can then view valuable output related to strategy submitted orders through Tools > Output window - TraceOrdersMatthewNinjaTrader Product Management
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
114 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
160 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
81 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
126 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
80 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment