Run automation on your computer: keep it awake

5 min read · Updated November 6, 2026

In short
  • With "Run on this device", your strategy runs in a TradeHarbor browser tab and its orders go from your computer to your broker, not from our servers.
  • It runs only while that tab is open and the computer is awake, so plug in, turn off sleep while plugged in, and stop the browser from putting the tab to sleep.
  • The screen can turn off. The computer can't sleep, and the tab can't close.
  • If the tab does close, an open position keeps its stop and target at the broker, but nothing manages it until you start the automation again.

Some prop firms only allow orders that come from your own device. Topstep's API terms, for example, let a server read a TopstepX account but not trade it. "Run on this device" is for that: you start the automation from a browser tab on your computer, and every order it places goes from that browser straight to your broker. You choose it on the automation's card in TradeHarbor, under Runs on.

The cost is that your computer has to stay on and the tab has to keep running for as long as you want the automation trading. Here's how to set that up.

Before the session

  1. Plug the computer in. Batteries, battery-saver modes and browsers' energy savers all slow or pause background tabs.
  2. Open TradeHarbor in its own browser window, go to Automation and press Start on this device on the automation's card. A bar at the top of the app says it's running on this device.
  3. Leave that window open. It can sit behind other windows, but don't close it, and don't let anything close the browser.

While the tab is in front, TradeHarbor asks the browser to keep the screen on. Once it's behind other windows that request ends, which is fine as long as the computer itself doesn't sleep.

Windows 11

Mac

Your browser

Browsers save memory and power by putting tabs you aren't looking at to sleep, and a sleeping tab stops trading. Tell the browser to leave TradeHarbor alone:

Settings names change between versions. If one isn't where this guide says, search the browser's or the system's settings for "sleep".

If something goes wrong

Account-level risk guard enforcement, which locks the account and closes positions when one of your guards trips, runs on TradeHarbor's servers whichever way the automation runs.

Servers or your device?

Running on TradeHarbor's servers means nothing on your side has to stay on. Running on your device keeps your orders coming from your own computer. Which one fits depends on your firm's rules and on whether you can keep a computer running through your sessions. Check your firm's current API terms before you choose; if they don't allow trading from a server, running there is your risk.

Next steps

New to automation? Start with how to automate a trading strategy, or see how automated trading works from signal to order.

Build it, test it, then automate it

Describe your idea in TradeHarbor's Strategy lab and see the rules and the Python they become. Test it on real futures history on Pro, then let it trade for you with automation.

Start free

Educational content only. Nothing here is investment, financial, or trading advice, and TradeHarbor is not affiliated with any prop firm or broker mentioned. Trading futures involves substantial risk of loss. Each firm's current published rules always govern.