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 wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    26 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, Yesterday, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    192 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,234 views
    0 likes
    Last Post xiinteractive  
    Working...
    X