Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Clarify with SubmitOrderUnmanaged for OrderType == StopMarket

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

    Clarify with SubmitOrderUnmanaged for OrderType == StopMarket

    There are 4 OrderAction under SubmitOrderUnmanaged :
    1) Buy
    2) BuyToCover
    3) Sell
    4) SellShort

    What i want to confirm is the price of the orderaction with OrderType == StopMarket as we might faced the error like " An order has been ignore at stop price "
    For Buy OrderAction
    The price have to greater than GetCurrentAsk().

    For Sell OrderAction
    The price have to be smaller than GetCurrentAsk().

    For SellShort OrderAction
    The price have to be smaller than GetCurrentAsk().

    For BuyToCover OrderAction
    The price have to greater than GetCurrentAsk()

    Am I right ???

    #2
    Hello cincai,

    Thank you for your post.

    Buy stop orders must have the stop price placed above the ask price (GetCurrentAsk).

    Sell stop orders must have the stop price placed below the bid price (GetCurrentBid).

    BuyToCover stop orders must have the stop price placed above the ask price (GetCurrentAsk).

    SellShort stop orders must have the stop price placed below the bid price (GetCurrentBid).

    Please let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Thanks, this really help a lot

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Fitspressorest, Today, 01:38 PM
      0 responses
      2 views
      0 likes
      Last Post Fitspressorest  
      Started by Jonker, Today, 01:19 PM
      0 responses
      2 views
      0 likes
      Last Post Jonker
      by Jonker
       
      Started by futtrader, Today, 01:16 PM
      0 responses
      6 views
      0 likes
      Last Post futtrader  
      Started by Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,791 views
      0 likes
      Last Post aligator  
      Started by Jimmyk, 01-26-2018, 05:19 AM
      6 responses
      844 views
      0 likes
      Last Post emuns
      by emuns
       
      Working...
      X