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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    70 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    78 views
    0 likes
    Last Post PaulMohn  
    Working...
    X