Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetStopLoss() generates SLM order instead of STP

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

    SetStopLoss() generates SLM order instead of STP

    Hello,

    is there a way to generate STP order instead of Stop Limit one using SetStopLoss() in strategy?

    Sometimes TWS shows my stop loss (SLM) order that it can be triggered during trading hours, can that be a problem with its execution?

    #2
    Hello fLife,

    (edit)
    Yes, in the managed approach to submit a sell stop limit order call ExitLongStop().
    http://www.ninjatrader.com/support/h...itlongstop.htm

    To submit a buy stop limit order call ExitShortStopLimit().
    http://www.ninjatrader.com/support/h...tshortstop.htm

    In the unmanaged approach to submit any order SubmitOrder() would be used with the corresponding OrderAction and OrderType.
    http://www.ninjatrader.com/support/h...ubmitorder.htm


    Regarding the issue from TWS orders (unable?) to trigger. The order is showing in TWS correct? If so, I would ask Interactive Brokers about why the order is unable to trigger. It might be the TIF (Time in force) setting.
    Last edited by NinjaTrader_ChelseaB; 03-16-2015, 07:16 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,983 views
    3 likes
    Last Post jhudas88  
    Working...
    X