Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simulated Stop-Loss

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

    Simulated Stop-Loss

    I've recently switched from using real stop-loss to simulated stop-losses using the SetStopLoss() method.
    I've noticed a change in the sequence of the order statuses as reflected in OnOrderUpdate(), in real time trading.

    Can you please specify the order statuses, the order in which they appear, and how they are related to real events (i.e. order sent, acknowledged etc.).

    Thanks,
    Boaz

    #2
    boza,

    When using a simulated stop order, you will first see the order go to "Initialized".

    This Initialized state tells you that the stop is ready on your PC and will be submitted to your broker as soon as the conditions are met.

    Once the order has been sent, you should see it go to "Pending Submit" when is sending the order to your broker. You will next set it go to an "Accepted" state once it has been received by the broker, and at this point the order will either be "Rejected" by your broker or the exchange, or it will be "Working" on their servers, and then "Filled" if applicable.

    Where the order actually resides or the state will vary from connection technology. Please check our forum post on order location for more information:

    Note: This information is relevant for NinjaTrader 7 only. For NinjaTrader 8, please click here (https://ninjatrader.com/support/helpGuides/nt8/where_do_your_orders_reside_.htm). CQG Orders in a state "Accepted" or "Working" are at the exchange. If the exchange does not support a specific order type, the
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Today, 06:40 PM
    0 responses
    10 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    7 views
    0 likes
    Last Post maybeimnotrader  
    Started by quantismo, Today, 05:13 PM
    0 responses
    7 views
    0 likes
    Last Post quantismo  
    Started by AttiM, 02-14-2024, 05:20 PM
    8 responses
    168 views
    0 likes
    Last Post jeronymite  
    Started by cre8able, Today, 04:22 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X