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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X