Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO order error

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

    OCO order error

    Hi. When I place a profit target order and a stop loss order throught setstoploss and setprofittarget, and my stop loss is filled, I see the following error. Can you tell me what is going on?


    [IMG]file:///C:/Users/CES/Desktop/error1.jpg[/IMG][IMG]file:///C:/Users/CES/Desktop/error1.jpg[/IMG]
    Attached Files

    #2
    cesas, which TWS version do you use? We recommend using 892.7 with NinjaTrader 6.5.1000.11 as per the IB connection guide - http://www.ninjatrader.com/webnew/su...ivebrokers.htm

    On top of that, please check with IB tech support on their error message 161
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand. I am using ninjatrader 6.5.1000.11 already and I am using TWS version from ninjatrader website. If I understand what youre saying, the problem is not form ninjatrader, is from TWS, ok?

      Comment


        #4
        cesas, yes this appears to be a native error (error code 161). If you like I can take a look at your trace and log files, for this please contact me using the Help > Mail to Support feature and put Attn Bertrand in the subject. Thanks!
        BertrandNinjaTrader Customer Service

        Comment


          #5
          sent........

          Comment


            #6
            Ok thanks got them, will follow up via email.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Hi bertrand. I receive your e mail, I sent an email to IB. But I receive another error. See the attach.
              Thanks
              Attached Files

              Comment


                #8
                cesas,

                Please provide background information as to what you were doing when this occurred. Thank you.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Hi. Fully automated trading this way when happens:

                  -Short SP eMINI Futures.
                  -Large order, about 200 contracts
                  -Several partial fills, about 8.
                  -When the short order was filled, my strategy put in a take profit and stop loss order throght setprofittarget and setstoploss conditions.
                  -My profit was filled and the error appear
                  -several partial fills at take profit
                  -Using IB paper trading account
                  -Using 1min chart
                  Last edited by cesas; 06-22-2009, 02:18 PM.

                  Comment


                    #10
                    Please attach your trace and log files. Thank you.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      josh, another useful information. The first attach (error 161) occurs when the stop loss is hit. The second attach (error 201) occurs when the take profit is hit.

                      Comment


                        #12
                        If you could send in trace/log files just like you have done earlier with the 161 errors, we would like to see when the 201 occurs. Thank you.
                        Josh P.NinjaTrader Customer Service

                        Comment


                          #13
                          how I do that?

                          Comment


                            #14
                            I already sent to you the files

                            Comment


                              #15
                              cesas,

                              Unfortunately I did not receive any files. Please send it in to support [at] ninjatrader [dot] com with Attn Josh in the subject line and mention this thread. Thank you.
                              Josh P.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by aguison, 06-19-2024, 02:32 PM
                              4 responses
                              22 views
                              0 likes
                              Last Post MiCe1999  
                              Started by phenqreviews, Today, 12:11 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post phenqreviews  
                              Started by WHICKED, Yesterday, 08:47 PM
                              1 response
                              4 views
                              0 likes
                              Last Post MiCe1999  
                              Started by phenqreviews, Today, 12:04 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post phenqreviews  
                              Started by junhan11, Yesterday, 11:36 PM
                              0 responses
                              5 views
                              0 likes
                              Last Post junhan11  
                              Working...
                              X