Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ghost strategies running in background

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

    Ghost strategies running in background

    I experienced an issue with live trading where there appeared to be 2 instances of my strategy running, but I could only see 1 instance. I had only 1 chart open and only 1 workspace open, but instead of submitting a single order, two separate orders were submitted. This happened twice on the same day before I shut things down and attempted to resolve the issue. To resolve the issue, I created a new workspace and created a new chart and added the exact same strategy back to the chart. The issue has not occurred since.

    Prior to this issue occurring, I had noticed that on several occasions the strategy on my chart would disappear (without me removing it) and I would have to add it back to my chart. This was a nuisance but not a major issue. But, when this other issue occurred, with the 2 separate entries, it seemed that maybe these issues are related. Is it possible that when the strategy disappears from my chart, that it could still be running?

    There is logic in my strategy to prevent entries when we aren't already flat. Basically, I only submit an order if Position.MarketPosition==MarketPosition.Flat.
    I am using desktop version 8.0.28.0 64-bit.

    Since the issue with the multiple entries went away once I created a new workspace and new chart, I am thinking the issue is something with the platform rather than the strategy.

    I appreciate any assistance you can offer.
    Paul

    #2
    Hello Paul,

    All NinjaScript Strategy instances (running or disabled) will be listed on the Strategies tab of the Control Center.

    Do you see multiple instances of your strategy on the Strategies tab of the Control Center when the behavior occurs?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      No, I did not see multiple instances of the strategy on the Strategies tab of the Control Center.

      Comment


        #4
        Hello Paul,

        Just confirm, the behavior occurred again and you checked the Strategies tab of the Control Center and there are not multple instances of strategies listed, is this correct?

        Are you certain the one strategy instance is not submitting the order?

        Have you checked the historical and real-time performance on the Orders display and the order is not listed?


        Have you enabled TraceOrders and printed the order.ToString() object in OnOrderUpdate()?
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        83 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        47 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X