Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

send many orders in one instrument

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

    send many orders in one instrument

    I am looking to send two orders, one buy and one sell, at the same time in one instrument. I am trying this:

    EnterLongLimit(0,true,size,bid,"quoter");
    EnterShortLimit(0,true,size,ask,"quoter");

    where size, bid and ask are defined before. But the system only sends the first order. Any ideas why?

    Possibly could it be related to the bug reported here:


    #2
    This violates internal order entry handling rules, scroll to bottom of page referenced at link below.

    RayNinjaTrader Customer Service

    Comment


      #3
      ok I now understand that my second order violates the safety rules and is ignored. Is there any way I can enter two orders, one buying and one selling from one strategy?

      Comment


        #4
        Not simultaneosly, you could run two separate strategies or, simulate when they should be filled and then submit a market order for either the short or long.
        RayNinjaTrader Customer Service

        Comment


          #5
          From my point of view I think you should add this possibility. That a side, can one strategy call another strategy?

          Comment


            #6
            No this is not supported.
            RayNinjaTrader Customer Service

            Comment


              #7
              understood, thanks for your help Ray!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              81 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              42 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              64 views
              2 likes
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              66 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              54 views
              0 likes
              Last Post CarlTrading  
              Working...
              X