Is this a configuration issue on my part? Or is there something I need to do in my Ninjascript to prevent it from trying to cancel the unfilled half of the OCO that the broker already cancelled?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Problem with IB native OCO
Collapse
X
-
Problem with IB native OCO
I'm having a problem with my strategy with IB native OCO. When one side of the OCO fills, IB immediately cancels the unfilled order on their side. However Ninja also tries to cancel the unfilled side of the OCO, generating order doesn't exist or overfill errors, sometimes closing all positions and shutting the script down.
Is this a configuration issue on my part? Or is there something I need to do in my Ninjascript to prevent it from trying to cancel the unfilled half of the OCO that the broker already cancelled? -
bartlb,
Please send your log and trace to platformsupport [at] ninjatrader [dot] com
Put ATTN Cal in the subject and reference this thread in the body.
You will find the log file on your PC in the (My) Documents > NinjaTrader 7 > Log folder.
The log file will be named "log.20141017.txt"
You will find the trace file on your PC in the (My) Documents > NinjaTrader 7 > Trace folder.
The trace file will be named "trace.20141017.txt"Cal H.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
93 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
31 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
34 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
69 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment