Ready to go further
Next: put the cost in the break-even
Costs like a server are fixed per month. The break-even calculator shows the move a trade needs just to cover its costs.
What is included
- What it is, in plain words
- The formula or mechanism, with exact arithmetic
- How it hits grid, martingale and DCA bots
- A check you can run before you switch a bot on
Who it is for
- People who run or plan to run a trading bot
- Anyone reading a backtest or a bot sales page
- Readers who want the numbers, not the pitch
- Not advice, and not a signal service
Key facts
- A VPS, or virtual private server, is a computer you rent that runs all day in a data centre. A trading bot installed on it keeps running when your own computer is off.
- Uptime sets the downtime. At 99 percent a 30 day month has 7.2 hours of downtime and at 99.9 percent 43 minutes (calculated by us on 28 Oct 2026, exact).
- Latency is the delay to your broker. Light in fibre covers about 200 kilometres a millisecond, so 10,000 km is at least 100.0 ms there and back before any equipment adds to it (approximation).
- A server is a running cost. A made-up $30 a month is 3.00 percent of a $1,000 account every month and 0.12 percent of a $25,000 one.
- A VPS does not fix a bad strategy. It removes one cause of failure, a machine that goes off, and adds others, such as a restart that does not bring the bot back.
Why a bot needs a machine that stays on
A bot is software. It only watches prices and sends orders while it is running and connected. If a laptop sleeps, a power cut stops the computer or the internet drops, the bot stops. Trades that were open stay open. Orders that the bot was going to place, like closing a position or moving a stop, are not placed. For a bot that depends on acting at the right moment, being off is a failure, and it happens at the worst time as easily as at any other.
Two things help. A stop loss placed on the broker's server protects an open trade even when your machine is off, so a bot should set its stops there instead of holding them in its own memory. And a machine that stays on keeps the bot working. A VPS is the second one.
The arithmetic of uptime
Providers describe reliability as a percent of time the machine is up. The percent hides how large the gap is. Over a 30 day month there are 43,200 minutes, and the downtime is that number times (1 - uptime).
Downtime in a year = 525,600 minutes x (1 - uptime)
| Uptime | Downtime in a month | Downtime in a year |
|---|---|---|
| 99% | 7.2 hours | 87.6 hours |
| 99.9% | 43 minutes | 8.8 hours |
| 99.99% | 4.3 minutes | 53 minutes |
These are examples, not claims about any provider. A number like 99.9 percent is a target or a promise in an agreement, and what counts as downtime depends on its terms. Even 99.99 percent is minutes a month, and a market can move a long way in minutes.
Latency, with numbers
Latency is the time for a message to reach the broker's server and come back. Light in glass fibre travels at roughly 200000 kilometres a second, so the minimum round trip time is twice the distance divided by that speed. For 100 km it is 1.0 ms, 1,000 km it is 10.0 ms, 10,000 km it is 100.0 ms. Real routes are longer than the straight line and each device adds time, so real delays are higher.
A server near the broker's server cuts that delay. It matters for a bot that trades on very small moves and is competing on speed. It matters little for a bot that trades on hourly or daily candles, where a few tens of milliseconds are small next to the spread and slippage. Match the cost of the server to how fast the strategy really needs to be.
What a VPS does not fix
- The strategy. A losing bot loses just as steadily from a data centre. See overfitting and backtesting.
- A restart. A server may restart after an update or a fault. If the platform and the bot do not start by themselves and log in again, the bot is off until someone notices.
- Costs. The monthly price is a cost on the account, as in the picture, and it comes out whether or not the bot earned anything that month.
- Risk. A martingale or grid bot that runs without a break also runs without a break into a bad move. More uptime means more exposure to the one event that hurts it.
A short checklist
- Set stops on the broker's server, not inside the bot's memory.
- Make sure the platform and the bot start by themselves after a restart, and test it by restarting once.
- Put a monthly cost line on your results, so the net result includes the server.
- Check how far the server is from your broker only if the strategy needs speed.
- Know how you would be told if the bot stopped, and test that alert.
What this page does not tell you
It does not recommend any provider or price, since prices and terms change and the $30 figure is made up. It shows the arithmetic and the failure modes. Whether you need a VPS depends on the bot, the account and how much a stop in service would cost you.
Keep Going
Related Tools and Guides
Keep exploring
FAQ
Frequently Asked Questions
What is a forex VPS?
A virtual private server: a computer you rent that runs all day in a data centre. A trading bot installed on it keeps running when your own computer is off.
Do I need a VPS to run a trading bot?
Only if the bot must run when your own machine is off, or needs a steady connection. A bot on a computer that stays on and connected can run without one. The cost and the strategy decide.
What does 99.9 percent uptime mean?
About 43 minutes of downtime in a 30 day month. It is usually a target in an agreement, and what counts as downtime depends on the terms.
Does a closer server make a bot more profitable?
Only if the strategy depends on speed. For a bot that trades on candles of an hour or more, a few milliseconds are small next to spread and slippage.
What happens to open trades if my bot stops?
They stay open. A stop loss placed on the broker server still works, but a stop that only the bot holds in its own memory does not.
Are the numbers on this page real?
Example numbers are made up to show how the maths works, and the page says so. A figure only counts as exact when the page says it was calculated on a stated date. Nothing you enter in a calculator leaves your browser.
Can I use this to decide whether to run a bot?
It can show whether a bot's numbers hold together and how much an account can lose. It cannot say what the market will do, and it is not advice. Use it to ask better questions, then read the terms of your own broker or exchange.
Is this financial advice?
No. It is general education. The prices and uptime levels are examples, and your provider and broker will differ.
Know the Risk Before You Run It
Free calculators and guides, added every week. Leave your details and we will email you when new ones go up.
Trading carries a risk of loss