Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Playback OCO not working

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

    Playback OCO not working

    I've been having issues with my orders not filling correctly. Previously, everything functioned properly, but now, whenever I'm in a trade and my stop or profit target is reached, the remaining order doesn't get cancelled as it should.
    Attached Files

    #2
    Hello scrapsalll,

    On the orders tab of the Control Center are you seeing the same OCO ID on this order with another order?

    Are you able to reproduce using the UnmanagedOCOBracketExample_NT8​ and ProfitChaseStopTrailUnmanagedExample_NT8?



    Are you on the latest release of NinjaTrader 8.1.3.1?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea B,

      Yes, I've reproduced using the unmanaged OCO.

      No, I am not using the latest version. I'm still using 8.1.2.1.

      Below is using the Unmanaged OCO order. After getting filled.

      Click image for larger version  Name:	image.png Views:	0 Size:	28.1 KB ID:	1318645
      After: Order failing to exit correctly


      Click image for larger version  Name:	image.png Views:	0 Size:	28.6 KB ID:	1318646
      Dangling Order

      Click image for larger version  Name:	image.png Views:	0 Size:	26.1 KB ID:	1318647

      Comment


        #4
        Hello scrapsalll,

        Please update to the latest release and test once more using the UnmanagedOCOBracketExample.

        Updates to NinjaTrader will contain the latest security updates and bug fixes, as well as occasional new features and instruments.

        To update NinjaTrader
        • Shutdown all programs including NinjaTrader *important
        • Download NinjaTrader from the link below
          Click here to download NinjaTrader
        • Double click the downloaded file to execute it
        • Follow the on screen instructions
        • Restart NinjaTrader
        You can read about changes to this release in the release notes linked below.
        https://ninjatrader.com/support/help...ease_notes.htm

        Please let me know if the behavior still occurs with the latest release.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi Chelsea B,

          I've installed the latest version and I'm experiencing the same issue.

          I have a script that uses the ATM strategy, and it works. However, the Unmanaged OCO isn't working nor is the managed approach using SetProfitTarget() and SetStopLoss().

          Best,
          Jamal

          Comment


            #6
            Hello Jamal,

            I tested just to be sure there isn't something wrong with the strategy code and this did perform as expected.

            Below is a link to a video of the test.


            I suspect possibly the installation is corrupted.

            I would like you to generate a new environment folder and test again using the exact steps shown in the video.

            To create a clean temporary NinjaTrader folder:
            1. Shutdown NinjaTrader
            2. Rename (My) Documents\NinjaTrader 8\ to (My) Documents\NinjaTrader 8.original\
            3. Download the NinjaTrader installation package from the link below
            4. NinjaTrader - Download
            5. Run the repair from this (if the repair is unsuccessful, uninstall and then re-install NinjaTrader)
            ​Please let me know if after creating a clean environment folder if the behavior from the video is not what you experience.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by MiCe1999, Today, 06:49 AM
            0 responses
            7 views
            0 likes
            Last Post MiCe1999  
            Started by gaz0001, 12-12-2023, 09:36 AM
            13 responses
            282 views
            0 likes
            Last Post kevinenergy  
            Started by timwey, Today, 06:01 AM
            0 responses
            6 views
            0 likes
            Last Post timwey
            by timwey
             
            Started by patrickgeys7, Today, 06:01 AM
            0 responses
            2 views
            0 likes
            Last Post patrickgeys7  
            Started by ayham12, Today, 05:42 AM
            0 responses
            11 views
            0 likes
            Last Post ayham12
            by ayham12
             
            Working...
            X