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 monday, tuesday, wednesday, thursday and friday. Trades will be managed with a take profit of 50%. The take profit will be converted into a trailing stop loss of 25% when the take profit is hit. Trades will also be managed with a stop loss of 50%. 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

4

Win rate

25.0%

Profit factor

0.04

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 1 SPX Put 11 Delta
  • Buy 1 SPX Put 20 Offset

Entry

  • Every Monday, Tuesday, Wednesday, Thursday and Friday at 6:36 AM EST
  • Price is greater than $1.05
  • VIX is less than 30

Exit

  • Profit reaches 50%
  • Loss reaches 50%
  • 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
  • Trailing stop of 25% is triggered

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 monday, tuesday, wednesday, thursday and friday. Trades will be managed with a take profit of 50%. The take profit will be converted into a trailing stop loss of 25% when the take profit is hit. Trades will also be managed with a stop loss of 50%. 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 1 SPX Put 11 Delta
- Buy 1 SPX Put 20 Offset

Entry:
- Every Monday, Tuesday, Wednesday, Thursday and Friday at 6:36 AM EST
- Price is greater than $1.05
- VIX is less than 30

Exit:
- Profit reaches 50%
- Loss reaches 50%
- 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
- Trailing stop of 25% is triggered

Management:
- Only allow trades until $1,000 buying power hit

Settings JSON:
{
    "strategy": "Credit Spread",
    "tradeDetails": {
        "exact_strike": false,
        "legOne": true,
        "legOneType": "put",
        "legOneQuantity": -1,
        "legOneAmount": 11,
        "legOneSelection": "delta",
        "legTwo": true,
        "legTwoType": "put",
        "legTwoQuantity": 1,
        "legTwoAmount": 20,
        "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": [
            "monday",
            "tuesday",
            "wednesday",
            "thursday",
            "friday"
        ],
        "session": null,
        "entry_time": "06:36",
        "entry_times": [],
        "entry_time_range_start": null,
        "entry_time_range_end": null,
        "open_trade_red_day": false,
        "enable_fomc": false,
        "enable_cpi": false,
        "band_zone": [],
        "sma_period": null,
        "sma_direction": null,
        "ema_period": null,
        "ema_direction": null,
        "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.05,
        "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": null,
        "vix_max": 30,
        "vix_overnight_min": null,
        "vix_overnight_max": null,
        "vix_intraday_min": null,
        "vix_intraday_max": null,
        "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": 50,
        "take_profit_trailing_stop": 25,
        "stopLoss": 50,
        "early": null,
        "early_time": null,
        "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": true,
        "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