Skip to content
EN
Log in Start free
← Back to the blog

Internet Outage With Open Positions: What to Check

by Sebastian Saupe · Published on November 23, 2026 · Updated on November 23, 2026

Internet Outage With Open Positions: What to Check

The chart is running, a position is open, and then the internet connection drops. The screen stops responding, you can't step in anymore, and the first question is: what happens to your trade now?

This article looks at what you can actually influence beforehand: settings in StrategyQuant X that shrink the time window for an unattended position, a robustness test that shows how missed trades would have played out in the past, a security rule for any computer that runs around the clock, and the limits that remain even so.

Trading options that shrink the window for open positions

The two time based exit options shrink the window during which a position stays open unattended.
The two time based exit options shrink the window during which a position stays open unattended.

In the Builder trading options of StrategyQuant X there are two settings that address exactly this point: Exit At End Of Day and Exit On Friday.

Turn on Exit At End Of Day, and the strategy closes every open position at the end of the trading day. A trade then doesn't sit unattended in the market overnight if the connection happens to drop right then. You have to switch this option on deliberately though, it isn't the default state for every strategy, and it doesn't close a position the instant a disruption actually happens. It only shortens the window during which something can sit open unattended at all.

Exit On Friday works on the same principle for the weekend: the option closes open positions at the end of the trading week. That leaves less open over the weekend that could move around unattended if your connection drops. You'll also find this option in the Builder trading options, and you have to turn it on yourself, and it doesn't remove the weekend risk entirely either, it only reduces it.

Live trading needs active oversight

Once a strategy or a whole portfolio trades live, setting the options once and walking away isn't enough. Running it live means actively keeping broker or VPS outages and errors as small as possible, and keeping a central view of ongoing trading activity. Without that view, surprises from either side can easily go unnoticed, no matter how carefully you set the trading options in the Builder.

Security for a PC or VPS that runs around the clock

If you run the trading platform permanently on your own computer or a VPS, you usually need remote access so you can step in yourself if something goes wrong. This is exactly where the vendor warns about a trap: leaving remote access open over a public IP address without restricting the firewall to specific IP addresses, or leaving a publicly reachable VPS or router unprotected on the internet, is risky. A firewall that only allows known addresses protects access better. That alone still doesn't make for a fully secured setup.

What a robustness test can show about missed trades

What if, for a portion of your trades, the connection had dropped at exactly that moment and the trade simply hadn't been executed? You can't test that against the future, but you can test it against the past. The Randomly Skip Trades robustness test randomly skips trades in your backtest's historical data at a probability you choose. That gives you a picture of how the results would have looked if individual trades had been lost to a disruption. You can read more about the different kinds of such checks in the article Robustness tests for trading strategies.

The test skips trades in the historical data on purpose, to draw a what-if picture for missed trades.
The test skips trades in the historical data on purpose, to draw a what-if picture for missed trades.

What matters is what this test is not. It runs only on historical data, never on live execution itself, and you set the probability at which trades drop out yourself, there's no fixed default for it. If the result shows an improvement, that could be chance, or it could play out differently in real trading, because individual trades can affect each other. If you want to actually use a setting taken from a what-if scenario like this, test the strategy again with that setting before you rely on it. The method belongs to the family of Monte Carlo methods, which the article Monte Carlo simulation in trading describes in more detail.

Why a backtest and a live platform can differ

There's another limitation to keep in mind: backtest engines and the platform you'll later trade live on don't necessarily handle trades the same way. How a position gets opened, closed, or managed while it runs differs between engines, for instance between MetaTrader 4, MetaTrader 5, and TradeStation. The same strategy can therefore deliver different results or behave differently in two environments, independent of any internet outage. That doesn't mean results are never transferable, and it doesn't mean one platform is generally more reliable with outages than another. It's one more reason to test a strategy on the platform it will actually run on later. You can read more about why a bot can diverge from its backtest in live trading in the article Backtest to live gap: why a bot loses in real trading.

What these pieces show, and what they don't

Taken together, these pieces don't add up to a complete shield against an internet outage. Exit At End Of Day and Exit On Friday shrink the window during which a position sits open unattended, but they don't close a position the instant a disruption actually happens. Randomly Skip Trades shows, on past data, how missing trades would have played out, that's a look back, not a forecast for the next outage. And how your strategy opens and manages positions can differ between the backtest engine and the live platform, before any disruption even enters the picture.

What remains is the operation itself. A portfolio trading live needs active oversight and the work of keeping broker and VPS outages as small as possible. No setup takes that job off your hands completely.

This article is for education only and is not investment advice. Past results, including backtests, do not guarantee future results. Trading financial instruments involves risk, and you can lose money.

This article is for education only and is not investment advice. Past results do not guarantee future results.

How do you do it? Share it in the community. Free, in your language.

Sign up free