SPX 0 DTE Credit Spread AI Trading Prompt
This auto trader is instructed to automate a 0 DTE Credit Spread trade on SPX every thursday, monday, tuesday and wednesday. This auto trader will also avoid placing trades on Federal Open Market Committee (FOMC) meeting days. Trades will be managed with a take profit of 70%. Trades will also be managed with a stop loss of 70%. This auto trader is limited to trade with no more than $1,000 which means that it will not place a trade if the trade costs more than $1,000 to place.
Live trades
17
Win rate
70.6%
Profit factor
0.96
Past performance is not indicative of future results. Win rate and profit factor are calculated from this bot's filled trades. This is not financial advice.
Trade
- Sell 2 SPX Put 20 Delta
- Buy 2 SPX Put 10 Offset
Entry
- Every Thursday, Monday, Tuesday and Wednesday between 9:45 AM and 10:30 AM EST
- Will not enter on FOMC meeting days
- Price is above 5-minute EMA
- RSI is greater than 40 and RSI is less than 72
- Enter only if it breaks the high of the 30min ORB (opening range breakout) based on the 5 minute data
- Stock movement is greater than -0.4% and Stock movement is less than 1.2%
- Price is greater than $1 and Price is less than $3
- Reward to risk percentage is greater than 25%
- VIX is greater than 11 and VIX is less than 23
- VIX overnight move is less than 5%
- Stock gap is greater than -0.4% and Stock gap is less than 1%
Exit
- Profit reaches 70%
- Loss reaches 70%
- Exit if option is ITM 30 minutes before expiration
- Do not allow take profit exits overnight
- Do not enter or take profit in the first and last 10 minutes of the session
- At 14:00 on 0 days before expiration
Management
- Only allow trades until $1,000 buying power hit
Prompt
You are setting up an options trading bot on Options Auto Trader.
Connect to the Options Auto Trader MCP server at https://app.optionsautotrader.com/mcp.
If the user does not have an Options Auto Trader account, send them to start a 14-day free trial at https://app.optionsautotrader.com/trial-checkout before creating the bot.
Ask the user how much buying power they want to allocate, then call the create-paper-bot tool with confirm false. Map the settings JSON below onto the tool arguments: strategy, bot_name (strategyName), trade_details (tradeDetails), entry_details (entryDetails), management_details (managementDetails), safeguards, take_profit_type (takeProfitType), stop_loss_type (stopLossType), buying_power_selection (buyingPowerSelection), and calendar_option (calendarOption). Set safeguards.buying_power_allocation to the dollar amount they choose and buying_power_selection to amount. Show the preview, and only call create-paper-bot again with confirm true and that same preview_id after they approve.
Bot: SPX 0 DTE Credit Spread
What this bot does:
This auto trader is instructed to automate a 0 DTE Credit Spread trade on SPX every thursday, monday, tuesday and wednesday. This auto trader will also avoid placing trades on Federal Open Market Committee (FOMC) meeting days. Trades will be managed with a take profit of 70%. Trades will also be managed with a stop loss of 70%. This auto trader is limited to trade with no more than $1,000 which means that it will not place a trade if the trade costs more than $1,000 to place.
Rules:
Trade:
- Sell 2 SPX Put 20 Delta
- Buy 2 SPX Put 10 Offset
Entry:
- Every Thursday, Monday, Tuesday and Wednesday between 9:45 AM and 10:30 AM EST
- Will not enter on FOMC meeting days
- Price is above 5-minute EMA
- RSI is greater than 40 and RSI is less than 72
- Enter only if it breaks the high of the 30min ORB (opening range breakout) based on the 5 minute data
- Stock movement is greater than -0.4% and Stock movement is less than 1.2%
- Price is greater than $1 and Price is less than $3
- Reward to risk percentage is greater than 25%
- VIX is greater than 11 and VIX is less than 23
- VIX overnight move is less than 5%
- Stock gap is greater than -0.4% and Stock gap is less than 1%
Exit:
- Profit reaches 70%
- Loss reaches 70%
- Exit if option is ITM 30 minutes before expiration
- Do not allow take profit exits overnight
- Do not enter or take profit in the first and last 10 minutes of the session
- At 14:00 on 0 days before expiration
Management:
- Only allow trades until $1,000 buying power hit
Settings JSON:
{
"strategy": "Credit Spread",
"tradeDetails": {
"exact_strike": false,
"legOne": true,
"legOneType": "put",
"legOneQuantity": -2,
"legOneAmount": 20,
"legOneSelection": "delta",
"legTwo": true,
"legTwoType": "put",
"legTwoQuantity": 2,
"legTwoAmount": 10,
"legTwoSelection": "offset",
"legThree": false,
"legThreeType": null,
"legThreeQuantity": 1,
"legThreeAmount": null,
"legThreeSelection": null,
"legFour": false,
"legFourType": null,
"legFourQuantity": 1,
"legFourAmount": null,
"legFourSelection": null
},
"entryDetails": {
"symbol": "SPX",
"dte": 0,
"frequency": "daily",
"days": [
"thursday",
"monday",
"tuesday",
"wednesday"
],
"session": null,
"entry_time": null,
"entry_times": [],
"entry_time_range_start": "09:45",
"entry_time_range_end": "10:30",
"open_trade_red_day": false,
"enable_fomc": true,
"enable_cpi": false,
"band_zone": [],
"sma_period": null,
"sma_direction": null,
"ema_period": 5,
"ema_direction": "above",
"rsi_min": 40,
"rsi_max": 72,
"rsi_timeframe": "5min",
"orb_timeframe": "30min",
"orb_direction": "high",
"orb_candle_interval": "5min",
"enter_on_half_days": false,
"gex_entry_sign": null,
"gex_entry_dte": null,
"gex_walls_entry": null,
"gex_walls_dte": null,
"pin_entry_level": null,
"pin_entry_dte": null,
"open_trade_minimum_price": 1,
"open_trade_maximum_price": 3,
"open_trade_minimum_profit": null,
"open_trade_maximum_profit": null,
"min_stock_movement": -0.4,
"max_stock_movement": 1.2,
"min_reward_to_risk": 25,
"max_reward_to_risk": null,
"vix_min": 11,
"vix_max": 23,
"vix_overnight_min": null,
"vix_overnight_max": 5,
"vix_intraday_min": null,
"vix_intraday_max": 0,
"vix1d_min": null,
"vix1d_max": null,
"vix1d_overnight_min": null,
"vix1d_overnight_max": null,
"vix1d_intraday_min": null,
"vix1d_intraday_max": null,
"stock_gap_overnight_min": -0.4,
"stock_gap_overnight_max": 1,
"tradingview_live": 0,
"advanced_bot_type": null,
"leg_one_dte": null,
"leg_two_dte": null,
"leg_three_dte": null,
"leg_four_dte": null
},
"managementDetails": {
"takeProfit": 70,
"take_profit_trailing_stop": null,
"stopLoss": 70,
"early": 0,
"early_time": "14:00",
"dit_management": null,
"enable_itm_expiration": false,
"enable_exit_at_short_strike": false,
"pin_exit_level": null,
"gex_walls_exit": null,
"exit_on_gex_flip": false,
"sma_exit_period": null,
"sma_exit_direction": null,
"ema_exit_period": null,
"ema_exit_direction": null,
"overnight_take_profit_closing": false,
"avoid_market_open_close": true,
"exit_at_short_strike": null,
"convert_into_hedge": null,
"default_trade_management": true,
"enable_notifications_for_stops": false,
"enable_notifications_for_profits": false,
"roll_at_dte": null,
"roll_at_profit_target": false,
"roll_at_stop_loss": false,
"roll_when_tested": false,
"roll_action": null,
"roll_dte_threshold": null,
"max_rolls": 1
},
"safeguards": {
"buying_power_allocation": 1000,
"vix_based_buying_power": null,
"max_trade_size": null,
"max_draw_down": null,
"account_buying_power_usage": null,
"email_approval_enabled": null
},
"takeProfitType": "percentage",
"stopLossType": "percentage",
"buyingPowerSelection": "amount",
"calendarOption": false,
"strategyName": "SPX 0 DTE Credit Spread"
}
How to use this prompt
- Start the 14-day free trial and connect your brokerage account.
- Connect your AI to the Options Auto Trader MCP server.
- Paste the prompt. Your AI rebuilds this bot and asks you to approve it.
Prefer to click and use this bot? Open the no-code page.
14 days free. Cancel anytime.