CME index futures and US stock options · one bot builder

Futures and Options Trading Automation

Send a buy or sell signal and the bot places the order on your broker: a futures contract with its stop and target, or an options contract picked by delta and expiry. You set the rules once; the bot checks them before every order.

Paper account first · no coding · exits placed with every order

A Micro E-mini S&P 500 futures bot in the Trader Frame editor: a TradingView signal, one contract with a bracket, a 20-point stop and 30-point target, on Interactive Brokers

Trades today on

Interactive Brokers
Paper and live accounts
CME index futures
MES, MNQ, ES, NQ, YM, RTY
US stock and ETF options
Long calls and puts
TraderFrame Bridge
for Mac and Windows

How the bot works

One builder for both. A signal comes in, your rules place the order.

Futures and options bots are built the same way: a signal source, a broker, and the rules in between. Only the order panel changes with the instrument.

A new bot with an empty Brokers slot, ready to pick the Interactive Brokers account

Step 01

Connect your broker

Run TWS or IB Gateway with the TraderFrame Bridge beside it on your Mac or Windows computer, then pick the account in the bot. Your broker login stays on your machine. Start on paper.

The Trade Agent panel on a bot: autonomy tier, entries, schedule and the Swing style

Step 02

Choose who calls the trades

A TradingView alert, or Pip, the AI trading agent, reading the chart on your schedule. The signal only says buy or sell; the bot works out the order.

The order panel with Futures selected: MES Micro E-mini S&P 500, front month auto-roll, one contract, bracket entry, session hours

Step 03

Pick futures or options, and the size

Futures: the product, whole contracts, the entry type and the trading session, with the contract month rolled for you. Options: a rule that picks the strike and expiry.

The futures exit panel: stop 20 points and target 30 points, shown as $100 and $150 on one contract

Step 04

Set the exits, then switch it on

Stop and target in points, ticks, ATR or dollars, with the dollar amount shown per contract. They go to your broker with the entry, so they hold even if your computer sleeps.

Futures or options

Choose the instrument per bot

Run a futures bot and an options bot side by side from the same signal, on the same Interactive Brokers account.

 
Futures
Options
What it trades
CME stock-index futures: MES, MNQ, ES, NQ, YM, RTY
Long calls and puts on US stocks and ETFs
What a signal does
Buy goes long, sell goes short
Buy buys a call, sell buys a put
Which contract
The front month, rolled three trading days before it stops trading, or a month you pick
The strike nearest your target delta, in an expiry window you set
Size
Whole contracts per signal
Whole contracts, under the most a trade may cost
Entry
Market, limit at the signal price, or a bracket
Limit at the ask, exits attached
Exits
Stop and target in points, ticks, ATR or dollars; optional move to break-even
Take profit and stop in % of premium, a time exit before expiry, a premium trail
Hours
Regular 09:30–16:00 New York, or extended; optional flatten time
Regular hours
Most a trade can lose
The stop distance, and more if price gaps through it
The premium paid

Not supported: selling options, spreads or other multi-leg orders, and futures outside the six index products.

Options, step by step

The signal picks the side. Your rule picks the contract.

At signal time the bot reads the live option chain, picks the contract your rule describes and refuses it if it breaks one of your limits.

The options contract rule: underlying SPY, target delta 0.45 with a 0.30 floor, expiry 30 to 60 days

Options contract rule

Strike by delta, expiry by days

Pick the underlying, a target delta with a floor, an expiry window such as 30 to 60 days, contracts per signal and the most a trade may cost. Add IV-rank and earnings filters if you want them.

Options exits: take profit and stop loss as percent of premium, a time exit before expiry, and a premium trail

Options exits

Exits in % of premium

Take profit and stop loss as a percent of what you paid, held at IBKR, a time exit that sells before expiry whatever the P&L, and an optional trail that follows the premium up.

Built for futures and options

The checks a trader runs, before every order

Futures

The contract month is handled

Futures bots trade the front month and move new entries to the next one three trading days before it stops trading. Open positions never carry across a roll.

Futures

Sessions and a flatten time

Regular hours only, or extended hours too. A flatten time stops new entries and closes what is open, for bots that should never hold overnight.

Options

Strikes picked by delta

The strike nearest your target delta on the signal's side, never below the floor you set, in the nearest expiry inside your window.

Options

IV rank and earnings filters

No new contract when implied volatility ranks above your line or earnings fall inside your window. A filter with no reading refuses; it never passes on a guess.

Both

Refused before it is sent

Market closed, wrong symbol, not enough margin or buying power, over your cost cap, spread too wide: the order is refused and the log says why.

Both

Exits live at the broker

Stops and targets go to Interactive Brokers with the entry, so they work even when your computer or the Bridge is offline.

From signal to order

One buy signal, two ways to trade it

The same TradingView alert, sent to a futures bot and to an options bot. Each places its order with the exits already set.

MES · buy signal → long
Example
Rule
1 contract · bracket · regular hours
Contract
MESZ6 · Micro E-mini S&P 500 Dec 2026
Point value
$5.00 per point
Target · 30 points
+$150.00
Stop · 20 points
−$100.00
Reward to risk
1.5
Planned loss
$100at the stop, before commissions
SPY · buy signal → call
Example · illustrative prices
Rule
Δ 0.45 · 30–60 days · cap $2,500
Contract
SPY 20 Nov 2026 765 call
Premium paid
$14.20 × 100 = $1,420
Take profit · +100%
sell at $28.40 · +$1,420
Stop loss · −40%
sell at $8.52 · −$568
Time exit
13 Nov 2026, 15:45 New York
Planned loss
$568at the stop; at most $1,420, the premium

Examples only. Futures losses can exceed the stop when price gaps past it. Option prices are illustrative.

FAQ

Futures and options automation questions

What is futures and options trading automation?

Software that turns your trade signals into futures or options orders: it picks the contract, sizes it, places it on your broker and manages the exits, following rules you set once.

Which broker does it work with?

Interactive Brokers today, through TWS or IB Gateway and the TraderFrame Bridge on your Mac or Windows computer. Paper and live accounts both work.

Which futures can I trade?

The CME stock-index futures: Micro E-mini S&P 500 (MES), Micro E-mini Nasdaq-100 (MNQ), E-mini S&P 500 (ES), E-mini Nasdaq-100 (NQ), E-mini Dow (YM) and E-mini Russell 2000 (RTY).

Can I trade from TradingView alerts?

Yes. Point an alert at the bot's webhook. A futures bot goes long or short; an options bot buys a call or a put. The contract comes from your rules, not the alert. TradingView automation.

What happens when a futures contract expires?

The bot trades the front month and moves new entries to the next contract three trading days before the current one stops trading. It never carries an open position across the roll.

How does it choose an options contract?

From the live chain at signal time: the nearest expiry inside your day window, then the strike closest to your target delta that is not below your floor.

What is the most I can lose?

On options, the premium you paid. On futures, the stop distance, but in a fast market price can gap past the stop, so a loss can be larger. Size in whole contracts you can afford to lose.

Can I test it on a paper account?

Yes, and that is where to start. On an IBKR paper account quotes can run 15 minutes late, so fills and trails on paper are only a guide to live trading.

Start on a paper account

Your signal picks the side. Your rules place the trade.

Build a futures bot, an options bot, or both. Prove them on paper, then point them at your live account.

No coding
Your broker login stays on your computer
Exits placed with every order