Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy stopped working, after trading properly for a week

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

    Strategy stopped working, after trading properly for a week


    I have used NinjaTrader for two weeks. I am already beyond frustrated with the number of bugs I encounter, especially since every bug has cost me money.

    Today, I encountered one that may be the final straw for me. One of my strategies just stopped trading, despite the fact it is active. Of course, this is a strategy that would have been very profitable this morning.

    It worked yesterday and traded without issue. Today, it is not making trades, despite the fact that an entry got triggered. Other strategies that were unprofitable today did run successfully, of course.

    I got curious, and loaded the exact same strategy with the exact same parameters on my local machine. And, lo and behold, it shows that it should have an open position.

    A screenshot below shows all information necessary:


    It shows my live strategy running on a virtual server, and another version of the strategy running on my local machine in a sim account (started during my debugging), and a chart showing that a trading signal occurred.

    The entry for this signal is effectively just a basic crossover. On my local machine, you can see that the strategy is yellow, indicating it was not flat when I started. When I run locally, it properly determines that a trade should have been made in the morning session. My remote server strategy, with the exact same params, shows green with no open positions. It has been active since last night so it definitely should have traded this morning. These two have the exact same settings, and I've checked that the time window and time zone on the server match my local machine.

    Can someone please advise? If I can't figure this out soon, I'm just going to switch to a different platform. I've already spent days dealing with Ninjatrader issues and I've barely started using the platform.

    Click image for larger version  Name:	Screenshot 2024-08-06 095521.png Views:	0 Size:	110.9 KB ID:	1313113
    Last edited by austingamez91; 08-06-2024, 10:44 AM.

    #2
    Hello austingamez91​,

    Thank you for reaching out.

    If the only difference in what you are reporting is the VPS where you are running NT8, there may be something there to point to

    Also, to touch on the instability you have mentioned, please note that a constant connection is not dictated by the platform. It soley relies on your local network, and its path to the Brokers servers. Now if you were to say the Tradovate/broker servers themselves are unstable, I would not argue that. Just wanted to point out it is not NT8 causing your connection losses.


    In any case,

    Is the automated strategy you are working with, a strategy coded by yourself using the Strategy Builder, or was it acquired from a 3rd party?

    If it is your own coded strategy, please contact our engineering team at

    [email protected]

    and they will be able to guide you further in reviewing and correcting strategy behaviors.

    If it is a 3rd party strategy, you would want to contact the developer for assistance with their software.

    Please let us know if you have any other questions.​
    Erick P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the response.

      This is a very simple automated strategy I coded myself.

      As a professional software engineer, the evidence does not point to the code being the issue, because it has been running fine the last week, and when I load the exact same strategy locally, it shows a trade should have been made. This seems a platform issue that caused one strategy to stop functioning. However, I have emailed the address given and will update the thread if I get help from them

      As mentioned before, I know the strategy works, because it has the expected functionality on my local machine, and it worked fine on my remote server until this morning. No logic has been changed since my initial deployment about a week ago.


      As far as the comment about connection instability, I expect that to happen occasionally, but Ninjatrader struggles with re-connecting. In metatrader, there would be a short downtime, along with an automatic reconnect with no resulting problems. In Ninjatrader, the connection gets lost every few days, and when it does, an entire restart of the platform is needed to restore the connection. That can definitely be improved. Especially since I log in with OAuth; those tokens are valid for long time if you use them properly.
      Last edited by austingamez91; 08-06-2024, 11:09 AM.

      Comment


        #4
        Originally posted by austingamez91 View Post
        I have used NinjaTrader for two weeks. I am already beyond frustrated with the number of bugs I encounter, especially since every bug has cost me money.

        Today, I encountered one that may be the final straw for me. One of my strategies just stopped trading, despite the fact it is active. Of course, this is a strategy that would have been very profitable this morning.

        It worked yesterday and traded without issue. Today, it is not making trades, despite the fact that an entry got triggered. Other strategies that were unprofitable today did run successfully, of course.

        I got curious, and loaded the exact same strategy with the exact same parameters on my local machine. And, lo and behold, it shows that it should have an open position.

        A screenshot below shows all information necessary:


        It shows my live strategy running on a virtual server, and another version of the strategy running on my local machine in a sim account (started during my debugging), and a chart showing that a trading signal occurred.

        The entry for this signal is effectively just a basic crossover. On my local machine, you can see that the strategy is yellow, indicating it was not flat when I started. When I run locally, it properly determines that a trade should have been made in the morning session. My remote server strategy, with the exact same params, shows green with no open positions. It has been active since last night so it definitely should have traded this morning. These two have the exact same settings, and I've checked that the time window and time zone on the server match my local machine.

        Can someone please advise? If I can't figure this out soon, I'm just going to switch to a different platform. I've already spent days dealing with Ninjatrader issues and I've barely started using the platform.

        Click image for larger version Name:	Screenshot 2024-08-06 095521.png Views:	0 Size:	110.9 KB ID:	1313113
        I don't know which vps provider you chose, but most of them are terrible at running ninjatrader for over 24 hours and will frequently disconnect accounts, and cause strategies to not run due to the disconnections. Check your Ninja log and trace files for account disconnections.

        In all my years of running strategies, the only vps provider that has consistently been flawless for leaving automated strategies running all week and I trust them with my live cash accounts everyday is ninjamobiletrader vps. I'm not affiliated with them, only a very happy long term customer.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        65 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        23 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        26 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        52 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X