• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Wingo, Today, 04:52 PM
    1 response
    9 views
    0 likes
    Last Post bltdavid  
    Started by Bionian, Today, 10:10 AM
    3 responses
    20 views
    0 likes
    Last Post Bionian
    by Bionian
     
    Started by D Trader, Today, 01:41 PM
    0 responses
    13 views
    0 likes
    Last Post D Trader  
    Started by rexmie888, Today, 04:00 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by terminatorT1000, Today, 01:23 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Working...
    X