• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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:

    http://www.ninjatrader.com/support/f...7076#post27076
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by seagraph, Today, 03:27 PM
    0 responses
    11 views
    0 likes
    Last Post seagraph  
    Started by dedouglas, Today, 02:54 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by elkhatabi, 08-01-2019, 06:36 PM
    5 responses
    52 views
    0 likes
    Last Post NinjaTrader_RyanL  
    Started by mr_trade, Today, 01:01 PM
    4 responses
    19 views
    0 likes
    Last Post mr_trade  
    Started by Renorail, Today, 12:31 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X