Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to send out OCO orders using NT DLL?

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

    Is it possible to send out OCO orders using NT DLL?

    Is it possible to send out OCO orders using NT DLL? I am able to send out stop loss and taking profit orders independently without any problem. Why are these orders not shown up in NT if I set the oco fields of these two orders to the same non-null string? I am using Interactivebrokers paper trading account as testing account. They are also not shown when using Sim101 as the default account.

    - Clearpicks

    #2
    This is not supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      Why is this not supported? Is there any technical difficulty?

      - Clearpicks

      Comment


        #4
        I just found out that OCO is actually supported. The reason the orders did not show up was because I passed wrong order types to the DLL calls.

        - Clearpicks

        Comment


          #5
          My fault...yes of course they are suppported if you using the NTCommand() function. Sorry for the misinformation.
          RayNinjaTrader Customer Service

          Comment


            #6
            Ray,

            In which situation it is not supported? Did you mean using the file interface?

            - Clearpicks

            Comment


              #7
              It is supported, that's what I was saying about misinformation.
              RayNinjaTrader Customer Service

              Comment


                #8
                Hello,

                When using NT DLL, is it possible to send a limit buy order with stop loss and profit target orders attached at the same time which only become active when the limit buy order is executed?

                - Clearpicks

                Comment


                  #9
                  This is not supported.
                  RayNinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Mindset, 04-21-2026, 06:46 AM
                  0 responses
                  101 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by M4ndoo, 04-20-2026, 05:21 PM
                  0 responses
                  144 views
                  0 likes
                  Last Post M4ndoo
                  by M4ndoo
                   
                  Started by M4ndoo, 04-19-2026, 05:54 PM
                  0 responses
                  71 views
                  0 likes
                  Last Post M4ndoo
                  by M4ndoo
                   
                  Started by cmoran13, 04-16-2026, 01:02 PM
                  0 responses
                  125 views
                  0 likes
                  Last Post cmoran13  
                  Started by PaulMohn, 04-10-2026, 11:11 AM
                  0 responses
                  79 views
                  0 likes
                  Last Post PaulMohn  
                  Working...
                  X