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 kevinenergy, 02-17-2023, 12:42 PM
    115 responses
    2,699 views
    1 like
    Last Post kevinenergy  
    Started by prdecast, Today, 06:07 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Christopher_R, Today, 12:29 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by chartchart, 05-19-2021, 04:14 PM
    3 responses
    577 views
    1 like
    Last Post NinjaTrader_Gaby  
    Started by bsbisme, Yesterday, 02:08 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X