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 StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,967 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    4 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    55 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by iceman2018, Today, 05:07 PM
    0 responses
    6 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    8 views
    0 likes
    Last Post lightsun47  
    Working...
    X