Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple servers/vps under one NT connection ( name)

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

    Multiple servers/vps under one NT connection ( name)

    Hi! I’m running multiple NT strategy’s on NQ tick charts. strategy and charts are CPU consuming. So where is no way for me to run 3 or more ( 2 charts/strategy runs OK) on my pc. My pc CPU i9-14900hx gpu -4050 RAM 32gd ( reference to the needed server capacity) cpu is never more of 25% but NT chart is starting to lag drastically if I put more charts/strategy’s on one pc. Since NT using single core for the same asset and I need to run few strategies on NQ only- Question: under one NT instance (license ) is it possible to run let’s say 5 vps to dedicate 5 different CPUs for 10 different strategies BUT ON ONE ASSET ? I do understand what all strategy’s would trade only one direction but using different parameters for entry’s and risk management. Because of a single connection rule - I can’t just install 5 NTs on 5 PCs and call it a day ….. I need to somehow have 5 singe core CPUs (vps or home servers ) under ONE NT connection/name. Any answers or workarounds is appreciated. And plz don’t suggest to clean the cash or load less bars on the chart or use utilization monitor - TRIED it all its just a lag of NT with the tick or range charts . This issue is in many topics on this forum.

    More technical question : is it possible to install NT on Windows 11 pro or enterprise ( supports up to 4 cpu ) . If yes - is NT capable to split the load between 4 CPUs ?
    thank you
    Last edited by termitikicloud; 01-11-2025, 05:55 PM.

    #2
    Hello termitikicloud,

    While I couldn't make any suggestions about running multiple instances of the platform to assist with performance I would suggest to look into optimizing how the strategy is programmed so it runs on your current pc. In general most users can run many strategies at once without issue so it sounds like there may be something with how the strategy was developed that is causing a problem. If the strategies code is doing something in a non optimized way that is making your machine lag that would be the main concern or to approach that problem directly.

    Comment


      #3
      Thank you for your answer. But it’s not about the strategy! It’s about tick charts and range charts on NQ. If 2 range charts of Mnq and 2 charts of Nq is open with NO STRATEGY OR INDICATORS after hour or at NY open charts start to lag without any drawing or indicators Only with mouse cursor movement and God forbid to draw few lines all charts are starting to be not responsive or slow.

      Comment


        #4
        Originally posted by termitikicloud View Post
        Because of a single connection rule - I can’t just install 5 NTs on 5 PCs and call it a day ….. I need to somehow have 5 singe core CPUs (vps or home servers ) under ONE NT connection/name.
        I'm not sure you understand what a VPS is.

        VPS instances don't run 'under' an NT connection.

        That's not how it works.

        Someone buys some very expensive server hardware,
        and also buys some very expensive virtualization software,
        usually from VMWare, and they use that VMWare software
        to create 100 different virtual servers -- and they all share
        the same CPU, memory, disk drives -- but everything is
        so fast that the server's CPU can switch between all 100
        virtual servers, running 100 different copies of Windows,
        (which themselves are running God knows what inside
        each Windows instance) and not one of the virtual
        servers knows they're sharing the physical CPU with
        99 other virtual servers. That's the power of VMWare.

        VMWare software slices up the physical hardware and allows
        100 different virtual servers to co-exist together -- they're called
        'virtual' because they don't know their hardware is being 'faked',
        I mean, shared, with a bunch of other 'virtual' servers. Each
        virtual server thinks it has total ownership of its own hardware,
        but VMWare is able to fake this so well that Windows itself does
        not even know what's going on under the hood.

        Each one of those 100 virtual servers is one VPS -- the
        owners create a business to sell you a monthly subscription
        to access your virtual server, aka, your VPS.

        Your VPS is running Windows.

        ... and Windows is running NinjaTrader.

        ... and NinjaTrader makes a data feed & order feed connection.

        Your strategy runs on that NinjaTrader connected to a specific
        data feed / order feed (aka, an account) on a single instance
        of Windows, all running on the one virtual server that has been
        assigned to you.

        NT itself runs under Windows, which could be real hardware
        sitting on your desk, or remote virtual hardware at some data
        center somewhere (like Chicago), which you pay to access.

        The 'remote virtual hardware' idea is known as a VPS, which
        means 'virtual private server', which runs Windows, inside of
        which you install NinjaTrader.

        Thus, a VPS does not run 'inside' NinjaTrader, it is NinjaTrader
        that runs inside the VPS.

        Make sense?

        Last edited by bltdavid; 04-29-2025, 05:43 PM. Reason: typos

        Comment


          #5
          Hello termitikicloud,

          If the charts are lagging without anything applied that could indicate an install problem, a problem with something imported or a hardware issue. Under normal use with nothing third party being used the charts should be able to be used without them becoming laggy. Having this happen after hours when no market data is happening would point to an install or hardware problem, the chart has no changes during that point so nothing should be adding to increase utilization. I have included steps to do a clean install below, please test without importing anything and see if that helps. As a side note a VPS would only increase the problem if that is specifically what you are seeing because VPS generally have much less system resources to use so it would only help to see the problem faster if this is some type of resource problem.


          Use the following steps to do a clean user folder test.
          1. Exit NinjaTrader
          2. Open the Documents folder
          3. Rename the NinjaTrader 8 folder to NinjaTrader 8 Old
          4. Download the installer from https://account.ninjatrader.com/download
          5. Install the platform, this will create a new user folder.
          6. Open the platform and test it

          To revert back to your previous data use the following steps.
          1. Exit NinjaTrader
          2. Open the Documents folder
          3. Rename the NinjaTrader 8 folder to NinjaTrader 8 Clean
          4. Rename the NinjaTrader 8 Old folder to NinjaTrader 8

          NinjaTrader looks for the folder named NinjaTrader 8 for your user data.

          Comment


            #6
            Originally posted by bltdavid View Post

            I'm not sure you understand what a VPS is.

            VPS instances don't run 'under' an NT connection.

            That's not how it works.

            Someone buys some very expensive server hardware,
            and also buys some very expensive virtualization software,
            usually from VMWare, and they use that VMWare software
            to create 100 different virtual servers -- and they all share
            the same CPU, memory, disk drives -- but everything is
            so fast that the server's CPU can switch between all 100
            virtual servers, running 100 different copies of Windows,
            (which themselves are running God knows what inside
            each Windows instance) and not one of the virtual
            servers knows they're sharing the physical CPU with
            99 other virtual servers. That's the power of VMWare.

            VMWare software slices up the physical hardware and allows
            100 different virtual servers to co-exist together -- they're called
            'virtual' because they don't know their hardware is being 'faked',
            I mean, shared, which a bunch of other 'virtual' servers. Each
            virtual server thinks it has total ownership of its own hardware,
            but VMWare is able to fake this so well that Windows itself does
            not even know what's going on under the hood.

            Each one of those 100 virtual servers is one VPS -- the
            owners create a business to sell you a monthly subscription
            to access your virtual server, aka, your VPS.

            Your VPS is running Windows.

            ... and Windows is running NinjaTrader.

            ... and NinjaTrader makes a data feed & order feed connection.

            Your strategy runs on that NinjaTrader connected to a specific
            data feed / order feed (aka, an account) on a single instance
            of Windows, all running on the one virtual server that has been
            assigned to you.

            NT itself runs under Windows, which could be real hardware
            sitting on your desk, or remote virtual hardware at some data
            center somewhere (like Chicago), which you pay to access.

            The 'remote virtual hardware' idea is known as a VPS, which
            means 'virtual private server', which runs Windows, inside of
            which you install NinjaTrader.

            Thus, a VPS does not run 'inside' NinjaTrader, it is NinjaTrader
            that runs inside the VPS.

            Make sense?

            Thank you for your answer ! Let me rephrase- one VM is full Win unit with NT installed ( one instance of NT) , multicore cpu is not helping to run NQ charts since NT using one core for one instrument , so only dual or quad motherboard for the server will have 2-4 physical CPUs with dedicated one core from each cpu. if another VM would be installed on the same server it would be the SECOND instance of NT open - and this is a limit. What I don’t know/understand if it’s possible to have ONE VM controlling multiple single cpu servers? or How to have multiple VM (for the single core usage ) if NINJA allowing only 2 connections. New servers are using multi core CPUs but how to take advantage if VR counted as One instance…..? is this an option with win server 2016,2022 or 2025 ? I feel like I’m lucking some basic knowledge about clusters/servers .thank you

            Comment


              #7
              To Add is it possible to have one main VM with NT controlling multiple single core servers? can’t wrap my mind around it

              Comment


                #8
                Another question to the NT tech support! - if NT connected to 3 different data feeds in multi provider mode let’s say Tradovate rhitmic and third one with kinetic and if I will open one Nq chart with Tradovate another Nq chart with rhitmic connection and third one with kinetic - IN THIS EXAMPLE How cores would be assigned by NT? same way ? all 3 connections would be using same one core because of Nq is on all 3 charts or ( I hope Im lucky and you will say - NO DIFFERENT CORES WOULD BE ASSIGNED BECAUSE ITS DIFFERENT DATA FEED ! - it would solve all the problems for me..lol PLZ CONFIRM THE LAST ONE

                Comment


                  #9
                  Hello termitikicloud,

                  I couldn't say how many cores could potentially be used in that use case. In general for your post the approach should be to troubleshoot why your PC is having problems displaying standard charts. If that can be alleviated you should be able to run your script assuming that it is programmed with performance in mind.

                  Comment


                    #10
                    could you plz ask developers- lot of people in here would be interested to know this detail. Thank you

                    Comment


                      #11
                      Hello termitikicloud,

                      While I cannot go into the internals of NinjaTrader with you I can assist in providing troubleshooting steps.

                      I would suggest with starting with the steps in post 5 and see if you still have lagging.

                      Comment


                        #12
                        Where is no trouble shoot for this issue! It’s in every thread with word LAGGING open Nq chart on range 2 and another one with Mnq on range 2 with no indicators and no drawings and try to trade in an houre or so - pc will be freezing and lagging! Not just my - anybody’s. I do understand you may not know the answer ! But developers DO KNOW how it’s done….. it’s not a big secrete big hash hash ingredient to the NT , so plz ask someone who knows…. It’s not a big deal for you but it would meter for me and people who got constant lagging and sending you same lagging questions again and again. Thank you

                        Comment


                          #13
                          To add because of this issue I’m personally looking for the solution with the servers and VMs -your customer service always saying problem is on my side and partially it is. But why would I want spend money on the servers if SIMPLE CLEAN UP AND REINSTALLATION will fix lagging

                          Comment


                            #14
                            Originally posted by termitikicloud View Post
                            Hi! I’m running multiple NT strategy’s on NQ tick charts. strategy and charts are CPU consuming. So where is no way for me to run 3 or more ( 2 charts/strategy runs OK) on my pc. My pc CPU i9-14900hx gpu -4050 RAM 32gd ( reference to the needed server capacity) cpu is never more of 25% but NT chart is starting to lag drastically if I put more charts/strategy’s on one pc. Since NT using single core for the same asset and I need to run few strategies on NQ only- Question: under one NT instance (license ) is it possible to run let’s say 5 vps to dedicate 5 different CPUs for 10 different strategies BUT ON ONE ASSET ? I do understand what all strategy’s would trade only one direction but using different parameters for entry’s and risk management. Because of a single connection rule - I can’t just install 5 NTs on 5 PCs and call it a day ….. I need to somehow have 5 singe core CPUs (vps or home servers ) under ONE NT connection/name. Any answers or workarounds is appreciated. And plz don’t suggest to clean the cash or load less bars on the chart or use utilization monitor - TRIED it all its just a lag of NT with the tick or range charts . This issue is in many topics on this forum.

                            More technical question : is it possible to install NT on Windows 11 pro or enterprise ( supports up to 4 cpu ) . If yes - is NT capable to split the load between 4 CPUs ?
                            thank you
                            Ya you can, I'm running multiple vps with ninjamobiletrader and using the same NinjaTrader license on all of them at the same time. I primarily trade NQ too with a mix of charting and strategies, and with 12 NQ charts on different timeframes and indicators, I have no problems at all. Main reason for the ninjamobiletrader vps is multiple different rithmic accounts, where I need a unique IP for trade copying and payouts, but where I've got multiple NQ charts not having any lag on them.

                            Comment


                              #15
                              Great to hear it from someone with experience! Could you plz share a little more about your set up ant timeframes on the charts. Thank you

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              55 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              37 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              17 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              19 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              49 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X