Skip to main content
Trade API (64)

Does my computer need to stay on while my strategy runs?

Yes. Your code runs on your machine, not on ours — SAHI doesn't host or run strategies. If your computer sleeps, restarts or loses its connection, your strategy stops.

What doesn't stop is anything already at the exchange. Orders you've placed stay live and open positions stay open — nothing is cancelled because your machine went away. A strategy that relies on placing an exit later will leave that position unmanaged.