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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    71 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    43 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    25 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    28 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    58 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X