Cloud vs self-hosted trading software in 2026
Hosting determines who keeps the process running, where logs are retained and how much you can control during a restart. Start with the target connector and any dependencies the strategy needs. Then decide whether to compare a managed runtime, a self-hosted deployment or both.
| Setup | What to test | What to keep for recovery |
|---|---|---|
| QuantConnect Cloud or local LEAN CLI | Verify the brokerage, data entitlement and settings used by the chosen target. Repeat one strategy startup after pinning versions. | Project revision, configuration and reconciliation record for the account. |
| Self-hosted StockSharp Runner | Start the strategy on the target Windows or Linux host. After a restart, check market-data subscriptions and reconcile open orders. | Runner version, strategy file, connection configuration and reconciliation log. |
| cTrader Cloud or local cBot | Check whether the bot’s dependencies and execution requirements are compatible with the chosen mode. | Tested build of the cBot, symbol, parameter export and account history. |
| Freqtrade on Docker | Start the selected image and restore its user-data directory from a backup. Verify the configuration and trade database. | Image tag, persistent strategy and database, configuration and secret references. |
QuantConnect cloud deployment · LEAN local and cloud deployment · StockSharp Runner command line · cTrader cloud execution · Freqtrade Docker setup
Add one operational rehearsal to the cost spreadsheet
Run on a demo account, interrupt the process with an open order, and time the next usable update. Reconcile the order and position before releasing new actions. Recover a second copy from the backup on a separate machine or instance and verify that only one instance can send submissions. Record restoration time, log retention and how many operator minutes the exercise took. These are inputs to the hosting decision.
Screenshots and examples
Count the time spent operating the bot
Example monthly costs for one strategy
Monthly cost adds compute, data and hours of operating work at rate w.| Self-host support, min | Fixed self-host cost, USD | Self-host labor, USD | Self-host total, USD | Managed total, USD | Self-host minus managed, USD |
|---|---|---|---|---|---|
| 30 | 45.0 | 15.0 | 60.0 | 95.0 | -35.0 |
| 60 | 45.0 | 30.0 | 75.0 | 95.0 | -20.0 |
| 100 | 45.0 | 50.0 | 95.0 | 95.0 | 0.0 |
| 120 | 45.0 | 60.0 | 105.0 | 95.0 | 10.0 |
| 180 | 45.0 | 90.0 | 135.0 | 95.0 | 40.0 |
Chart unavailable. The table above shows the calculated values.
The example prices are assumptions in USD per month, not vendor quotes. The managed runtime costs 55, data costs 25 in either option, and half an hour of managed support is valued at 30 per hour. The total is 95 USD. Self-hosting starts with a 20 instance and the same data, so its fixed cost is 45. At 100 minutes of monthly work it reaches the same 95. At three hours it reaches 135.
Price the work measured during the rehearsal
Measure routine upgrades and recovery separately. Add backup storage and extra data connections if the deployment requires them. If a low-cost configuration necessitates a second live process during an upgrade, include the extra runtime and the work of preventing duplicate submissions. Cost comparisons are useful once the operating procedures are feasible for the same strategy.
Reproduce the result in Python
import json
from decimal import Decimal as D
HOURLY_RATE = D(30)
DATA = D(25)
HOSTED_PLAN, INSTANCE = D(55), D(20)
HOSTED_MINUTES = D(30)
def monthly(plan, minutes):
support = D(minutes) * HOURLY_RATE / 60
return plan + DATA + support
def run():
hosted = monthly(HOSTED_PLAN, HOSTED_MINUTES)
rows = []
for minutes in (30, 60, 100, 120, 180):
self_hosted = monthly(INSTANCE, minutes)
support = D(minutes) * HOURLY_RATE / 60
rows.append([minutes, float(INSTANCE + DATA), float(support),
float(self_hosted), float(hosted), float(self_hosted - hosted)])
break_even_minutes = (hosted - INSTANCE - DATA) * 60 / HOURLY_RATE
assert break_even_minutes == 100
assert rows[2][-1] == 0 and rows[-1][-1] == 40
return rows
if __name__ == "__main__":
print(json.dumps(run()))Change the price and support inputs before applying the break-even formula. Recovery and missing decisions · Prevent repeat submissions after timeouts.