Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with IB native OCO

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X