Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with Order Management

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

    Help with Order Management

    Hi,

    I`m developing a scalper strategy and I`m having a situation, could you please help me?

    I have a logic to plan my position, but I would like to place my exit order before the entry, using a Limit Order, in order to get a better place in the execution queue.

    Example:
    - "Exit" Limit short order on 2880,00.
    - Entry long market on 2879,00.

    I`ve tried to enter that using the "EnterShortLimit" method, but as soon my Long Order is executed, the Short Limit order is canceled with the message: "Cancelled pending entry order on opposite side of the market"

    Also have tried to enter using the "ExitShortLimit"method but I`m getting the message: ''This was an exit order but no position exists to exit'

    Is there a way to handle with that scenario?

    Thank you in advance.

    Best regards,

    Guilherme

    #2
    Hi Guilherme, thanks for your question.

    In the Managed approach you can not have entry orders on opposite sides of the market. You would need to use the Unmanaged approach to submit those two orders. Please see the order handling rules for the managed approach for more info:

    https://ninjatrader.com/support/help...d_approach.htm

    Please let me know if I can assist any further.
    Last edited by NinjaTrader_ChrisL; 05-08-2020, 09:25 AM.

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hi Guilherme, thanks for your question.

      In the Managed approach you can not have entry orders on opposite sides of the market. You would need to use the Unmanaged approach to submit those two orders. Please see the order handling rules for the unmanaged approach for more info:



      Please let me know if I can assist any further.
      Hi, Chris.

      It worked exactly as needed.

      Thank you.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      29 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      46 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X