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 CarlTrading, Yesterday, 11:51 AM
|
0 responses
16 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:51 AM
|
||
|
Started by CarlTrading, Yesterday, 11:48 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
16 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
13 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
19 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment