tocOn this page 6 sections
To run NinjaTrader 8 on a Windows VPS for automated futures trading, install it on a Windows Server VPS with the Desktop Experience. Set your data and brokerage connection to connect on startup, then make Windows sign in and launch NinjaTrader on its own after a reboot. When you finish working over RDP, disconnect the session instead of signing out, so your strategies keep running. The rest of this guide covers each step, plus the Windows tuning that stops the platform from being interrupted.
Prepare the VPS before installing
NinjaTrader 8 is a .NET desktop application with a full graphical interface, so it needs Windows Server with the Desktop Experience, not Server Core. Connect over RDP as an administrator and do these checks first:
- Install all pending Windows updates and reboot, so an update doesn't force a restart in the middle of a trading session later.
- Check the .NET Framework version. The installer needs a recent .NET Framework 4.x. Windows Server 2019 and later usually have it already.
- Pick a location near your broker's or data feed's servers. Futures order routing is mostly US-based, so a US data center usually gives the lowest round-trip time.
This PowerShell command shows the installed .NET Framework release number:
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' | Select-Object Release, Version
Switch the power plan to High performance so the CPU doesn't throttle while your strategies calculate on each bar or tick:
powercfg /setactive SCHEME_MIN
powercfg /getactivescheme
Install NinjaTrader 8 and connect
Download the installer from your NinjaTrader account inside the RDP session and run it as the account that will do the trading. NinjaTrader keeps its settings, workspaces, databases and custom NinjaScript code under that user's Documents\NinjaTrader 8 folder, so it matters which account installs it. Use one dedicated account for trading, not a shared admin login.
After the first launch:
- Open Connections in the Control Center and add your brokerage or data connection.
- Turn on the option to connect automatically when the platform starts. If the platform restarts after a reboot and doesn't reconnect, your strategies are left with no data feed.
- Import your NinjaScript strategies and indicators, then compile them in the NinjaScript Editor to make sure there are no errors.
- Set up a workspace with the charts and strategies you need, and save it. NinjaTrader reopens the last workspace when it starts.
Test every strategy on a simulation account on the VPS before you enable it on a live account. A strategy that worked on your laptop can still run differently with a new connection, time zone or historical data load.
Keep strategies running when you close RDP
The most common mistake is signing out of Windows. Signing out closes every application in the session, NinjaTrader included. Close the Remote Desktop window instead, or run tsdiscon from inside the session. The session stays open on the server and NinjaTrader keeps running.
A Windows Update reboot or a host restart still closes NinjaTrader. To have it come back on its own:
- Turn on automatic sign-in for the trading account. Sysinternals Autologon is a good tool for this because it stores the password encrypted instead of in plain text in the registry.
- Launch NinjaTrader at sign-in with a scheduled task or a Startup folder shortcut. Our guide to launching apps automatically when users sign in walks through both options.
- Check the strategies after each restart. After the workspace reopens, look at the Strategies tab in the Control Center. Depending on your settings, a strategy may load disabled or wait to sync with your account position before it trades.
Use Group Policy or Settings > Windows Update to set active hours and a restart time that falls outside the futures trading hours you care about. Weekend maintenance windows work well for most traders.
Tune Windows for an unattended trading box
Some small changes stop Windows from getting in the way of the platform:
- Keep the clock accurate. Bar timestamps and session templates depend on the system time. Force a sync and check its status:
w32tm /resync
w32tm /query /status
- Exclude the data folder from real-time scanning if Defender is slowing down historical data loads. Scope the exclusion to that one folder only:
Add-MpPreference -ExclusionPath "$env:USERPROFILE\Documents\NinjaTrader 8"
- Raise the process priority if other jobs share the server. A scheduled task can start NinjaTrader with a higher priority. See setting scheduled task priority on a Windows Server VPS for the details.
- Don't open too many charts. Each chart that loads tick data uses memory. Watch Task Manager during a busy session. If memory use gets close to the limit, close charts you don't need or move to a larger plan.
Back up your configuration
Your strategies, workspaces and settings all live in the Documents\NinjaTrader 8 folder. Close NinjaTrader or wait until the market is closed, then copy that folder somewhere off the server on a schedule. You can also export your NinjaScript files as a backup archive from the platform's Tools menu. To send nightly copies to cloud storage, follow our guide to reliable cloud backups with Rclone. Restoring the folder onto a new VPS gets you trading again quickly.
For more on choosing a server for this workload, see our page on Windows VPS for NinjaTrader and futures trading.
FAQ
Does NinjaTrader keep running if I close my RDP window?
Yes, as long as you disconnect instead of signing out. Closing the Remote Desktop client leaves the session open on the server, so the platform and its strategies keep running.
How much RAM does NinjaTrader 8 need on a VPS?
It depends on how many charts, instruments and days of tick data you load. A few strategies on a handful of charts run comfortably on a mid-sized plan. Watch memory use during your busiest session and size the server from that, not from a general guess.
Can I run NinjaTrader on a Linux VPS?
Not natively. NinjaTrader 8 is built for Windows and .NET Framework, so a Windows VPS is the reliable choice for live automated trading.
Run this on your own Windows VPS
Get a Windows VPS from WindowsVPS in about 60 seconds, with full Administrator access over RDP, NVMe storage and the Windows license included.
Written by the WindowsVPS Team
We run Windows Server VPS hosting and write these guides from the same setups our customers use: RDP, PowerShell, trading terminals and always-on bots. Questions about a guide? Contact us.