• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

working - accepted

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

    working - accepted

    Hello,

    I´m not sure now anymore what orders are showing in the orderstab:

    I bring in stop and target in onexecution with
    stopOrder1 = ExitLongStop(.......)
    targetOrder1 = ExitLongLimit(......)

    When position is filled why is in orderstab
    stoporder = accepted
    targetorder = working

    a.) Why not both accepted OR working?
    b.) Which is on the exchange?

    Thank you
    Tony

    #2
    Hello Tony,

    A limit order will become working when it is on the exchange.

    A stop limit order has to become a different type of order when it is on the exchange and will be Accepted until the stop is touched and the order becomes a limit at which point it will become Working. When the limit fills the order becomes Filled.

    An order that is Accepted is on the exchange.
    An order that is Working is also on the exchange.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Tony,

      I think I am seeing what you are getting at.

      While the profit target shows as working on the Orders tab of the Control Center and the Stop loss shows as Accepted, in the code they are both in the OrderState of Working.

      I will ask if this is intended.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by GMiller64, Today, 01:13 PM
      3 responses
      5 views
      0 likes
      Last Post GMiller64  
      Started by itrader46, Today, 12:51 PM
      4 responses
      30 views
      0 likes
      Last Post itrader46  
      Started by hemlock, Today, 11:45 AM
      3 responses
      9 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by gbulle, Today, 11:31 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by JPPoulin, Today, 10:43 AM
      6 responses
      20 views
      0 likes
      Last Post JPPoulin  
      Working...
      X