Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Strategy Lag when opening positions

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

    NT8 Strategy Lag when opening positions

    Hello All,

    I have ML strategy I am running and I use NT8 to execute the signals. I am seeing a delay of about 7 seconds from when the signal comes in and when the order is executed. I’m wondering if this is due to the account I am using Rithmic with TopStep which is why there is such a delay from when signal comes to when it is executed on NT8. My theory is if I was just using NT8 and there data feed maybe there wouldn’t be such a delay ? Has anyone encountered this or have a solution or better think my theory is correct?

    #2
    Hello princechukwu,

    From the given details that sounds more like however your strategy is detecting the signal. For this type of situation you would have to debug the strategies code to see at what point there is a delay. Once the platform receives the notification to send the order from the strategy it will do it right away and there is generally only a small delay in milliseconds once an order is submitted.



    Comment


      #3
      Hello Jesse,

      Thanks for your response. I think I should expand on the issue I am see a little more for full context.

      I am using NT8 strategy as a way to send buy & sell orders to the broker.

      To give context when I refer to strategy. I mean I have a ML model in python that is the strategy. What I am doing is taking signals generated via Python to a TXT file and NT8 is reading from that file and placing the orders to the broker. I can observe that the file reading after Python provides the signal from when NT8 reads it is about 100ms if not instantaneous.

      The issue as I mentioned above is after NT8 reads the file it take ~7 seconds for the order to be placed.

      Comment


        #4
        Hello princechukwu,

        Do you also see this if you manually create files and move them into the folder? While we cannot assist with the python side of the question if you can reproduce the issue without that we may be able to further investigate that part.

        Comment


          #5
          Hello Jesse,

          I don’t think the issue is coming from the Python side. I believe the issue is NT8 to broker transmission. As I can observe that the Python to NT8 file reading is 47ms. Then NT8 to place the order is taking 7 secs.

          I tired using playback but there is a natural delay when using playback.

          Comment


            #6
            Hello princechukwu,

            We can't help with the python side at all so to ensure that is not causing a problem please try manually saving a OIF file into the folder. If your python script is preventing NinjaTrader from reading the file that may cause delays.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            566 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X