Skip to main content
Options Auto Trader

SPX 0 DTE Credit Spread AI Trading Prompt

This auto trader is instructed to automate a 0 DTE Credit Spread trade on SPX every wednesday, thursday, tuesday, monday and friday. This auto trader will ONLY enter on red days. 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 45%. Trades will also be managed with a stop loss of 250%. 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

10

Win rate

80.0%

Profit factor

0.92

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 Wednesday, Thursday, Tuesday, Monday and Friday between 10:20 AM and 11:00 AM EST
  • Enter on red days (price is less than open price)
  • Will not enter on FOMC meeting days
  • Price is above 20-minute EMA
  • Price is greater than $1.8
  • VIX is greater than 15 and VIX is less than 30
  • VIX intraday move is less than 0.99%

Exit

  • Profit reaches 45%
  • Loss reaches 250%
  • Exit if option is ITM 30 minutes before expiration
  • Short strike is hit
  • Do not allow take profit exits overnight
  • Do not enter or take profit in the first and last 10 minutes of the session
  • At 15:45 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 wednesday, thursday, tuesday, monday and friday. This auto trader will ONLY enter on red days. 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 45%. Trades will also be managed with a stop loss of 250%. 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 Wednesday, Thursday, Tuesday, Monday and Friday between 10:20 AM and 11:00 AM EST
- Enter on red days (price is less than open price)
- Will not enter on FOMC meeting days
- Price is above 20-minute EMA
- Price is greater than $1.8
- VIX is greater than 15 and VIX is less than 30
- VIX intraday move is less than 0.99%

Exit:
- Profit reaches 45%
- Loss reaches 250%
- Exit if option is ITM 30 minutes before expiration
- Short strike is hit
- Do not allow take profit exits overnight
- Do not enter or take profit in the first and last 10 minutes of the session
- At 15:45 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": [
            "wednesday",
            "thursday",
            "tuesday",
            "monday",
            "friday"
        ],
        "session": null,
        "entry_time": null,
        "entry_times": [],
        "entry_time_range_start": "10:20",
        "entry_time_range_end": "11:00",
        "open_trade_red_day": true,
        "enable_fomc": true,
        "enable_cpi": false,
        "band_zone": [],
        "sma_period": null,
        "sma_direction": null,
        "ema_period": 20,
        "ema_direction": "above",
        "rsi_min": null,
        "rsi_max": null,
        "rsi_timeframe": null,
        "orb_timeframe": null,
        "orb_direction": null,
        "orb_candle_interval": null,
        "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.8,
        "open_trade_maximum_price": null,
        "open_trade_minimum_profit": null,
        "open_trade_maximum_profit": null,
        "min_stock_movement": null,
        "max_stock_movement": null,
        "min_reward_to_risk": null,
        "max_reward_to_risk": null,
        "vix_min": 15,
        "vix_max": 30,
        "vix_overnight_min": null,
        "vix_overnight_max": null,
        "vix_intraday_min": null,
        "vix_intraday_max": 0.99,
        "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": null,
        "stock_gap_overnight_max": null,
        "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": 45,
        "take_profit_trailing_stop": null,
        "stopLoss": 250,
        "early": 0,
        "early_time": "15:45",
        "dit_management": null,
        "enable_itm_expiration": false,
        "enable_exit_at_short_strike": true,
        "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

  1. Start the 14-day free trial and connect your brokerage account.
  2. Connect your AI to the Options Auto Trader MCP server.
  3. 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.

Start 14-Day Free Trial

14 days free. Cancel anytime.

Similar bots