Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Local OCO Simulation Setting

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

    Local OCO Simulation Setting

    Questions:
    1. What are the advantages of the Local OCO simulation setting?
    2. If this setting is true will this reduce the delay between submission of strategy based stop and target orders?

    Reason for asking:
    In a custom strategy, OCO is handled implicitly by NinjaScript and does not appear to react quick enough when the market is moving at an incredible rate (when instrument has a short range i.e. a range of 4 the target and stop get filled at the same time and an overfill occurs).

    References:
    http://www.ninjatrader.com/Connectio...tion-Guide.php
    1. "Local OCO simulation: Enables NinjaTrader to handle OCO (one cancels other order handling) on your local PC. DO NOT enable this unless otherwise instructed by a technical support representative"

    2. (also from the CGQ-Connection-Guide) There will be an approximated 200ms delay between submission of strategy based stop and target orders.

    #2
    Hello,

    The advantage would be that the OCO handling is managed directly by NinjaTrader methods. However this does require that NinjaTrader is running and connected to your broker.

    As you pointed out, there is a 200ms delay to assign the OCO handling with the native OCO methods.

    We really do not recommend using the Local OCO simulation unless we may need to troubleshoot and isolate behavior related to OCO. At this time, there are no open items with the CQG OCO methods and aside from the 200ms delay, the server side OCO should work out to your benefit
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    414 views
    0 likes
    Last Post CaptainJack  
    Working...
    X