Skip to main content

Automated Futures Trading: Building a Rule-Based Bot

These are the actual gates Algo Lisa's engine evaluates before every order — published so you can copy the structure, not just the idea.

1. Session gates

Regular trading hours only. No new entries after 3:00 PM ET, and every position is flat before the close. The first fifteen minutes after the bell accept only the highest-scoring setups, because spreads are wide and the opening range is not defined yet.

2. Trend alignment rail

From 12:30 PM ET the average SPY/QQQ percent move must be at least 0.6% and aligned with the trade direction; from 2:00 PM the threshold rises to 0.8%. Flat or conflicted tape in the afternoon means no entry at all. This one rule removes the worst cluster of losers in the sample.

3. Risk rails

4. Order type

Marketable limit orders with a capped slippage allowance. A plain market order in a thin book is how a well-designed strategy loses to execution.

5. Exits, decided up front

6. Backtest honestly

Replay across a hundred-plus sessions with multiple random seeds, and compare a proposed change against the unchanged baseline. Most "improvements" are variance and disappear on the larger sample.

FAQ

Is automated futures trading profitable?
Only when the edge is small, repeatable and survives costs. Automation removes hesitation and revenge trading; it does not create an edge that backtesting cannot find.
What should an automated trading bot never do?
Enter without a hard stop attached, average down, hold through the close under a trailing drawdown, or trade a spread wider than its slippage assumption.
How many rules does a trading bot need?
Fewer than most people build. A session window, a trend alignment gate, a per-trade risk cap, a daily loss breaker and a time stop cover the majority of real-world damage.
Do I need to code to automate futures trading?
You need to specify the rules precisely — entry trigger, stop, target, sizing and invalidation. Writing them in plain English first is the hard part; the code is mechanical after that.

See the engine make these decisions out loud on the live stream or read the Algo Lisa bot overview.