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 michi08, 10-05-2018, 09:31 AM
    3 responses
    740 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by sightcareclickhere, Today, 01:55 PM
    0 responses
    1 view
    0 likes
    Last Post sightcareclickhere  
    Started by Mindset, 05-06-2023, 09:03 PM
    9 responses
    258 views
    0 likes
    Last Post ender_wiggum  
    Started by Mizzouman1, Today, 07:35 AM
    4 responses
    18 views
    0 likes
    Last Post Mizzouman1  
    Started by philmg, Today, 01:17 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X