SPY 45 DTE Credit Spread AI Trading Prompt
This auto trader is instructed to automate a 45 DTE Credit Spread trade on SPY once a week on either or . Trades will be placed in the morning session. Trades will be managed with a take profit of 30.25%. Trades will also be managed with a stop loss of 200%. Trades will be closed early once there are 21 days or less left until the trade expires. Trades will roll at 21 DTE, roll at stop loss and increase DTE by 30 days (max 2 rolls). This auto trader is limited to trade with no more than $1,000 which means that this auto trader will continue placing trades until the buying power for all the open trades hits $1,000.
Live trades
21
Win rate
100.0%
Profit factor
0.00
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 SPY Put 25 Delta
- Buy 1 SPY Put 25 Offset
Entry
- Weekly on at 9:30 AM EST (Morning Session)
Exit
- Profit reaches 30.25%
- Loss reaches 200%
- Exit 21 days before expiration
- 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
- Roll at 21 DTE
- Roll at stop loss
- Roll action: Further Expiration by 30 days
- Maximum 2 rolls
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: SPY 45 DTE Credit Spread
What this bot does:
This auto trader is instructed to automate a 45 DTE Credit Spread trade on SPY once a week on either or . Trades will be placed in the morning session. Trades will be managed with a take profit of 30.25%. Trades will also be managed with a stop loss of 200%. Trades will be closed early once there are 21 days or less left until the trade expires. Trades will roll at 21 DTE, roll at stop loss and increase DTE by 30 days (max 2 rolls). This auto trader is limited to trade with no more than $1,000 which means that this auto trader will continue placing trades until the buying power for all the open trades hits $1,000.
Rules:
Trade:
- Sell 1 SPY Put 25 Delta
- Buy 1 SPY Put 25 Offset
Entry:
- Weekly on at 9:30 AM EST (Morning Session)
Exit:
- Profit reaches 30.25%
- Loss reaches 200%
- Exit 21 days before expiration
- 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
- Roll at 21 DTE
- Roll at stop loss
- Roll action: Further Expiration by 30 days
- Maximum 2 rolls
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": 25,
"legOneSelection": "delta",
"legTwo": true,
"legTwoType": "put",
"legTwoQuantity": 1,
"legTwoAmount": 25,
"legTwoSelection": "offset",
"legThree": false,
"legThreeType": null,
"legThreeQuantity": 1,
"legThreeAmount": null,
"legThreeSelection": null,
"legFour": false,
"legFourType": null,
"legFourQuantity": 1,
"legFourAmount": null,
"legFourSelection": null
},
"entryDetails": {
"symbol": "SPY",
"dte": 45,
"frequency": "weekly",
"days": [],
"session": "morning",
"entry_time": null,
"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": null,
"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": null,
"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": 30.25,
"take_profit_trailing_stop": null,
"stopLoss": 200,
"early": 21,
"early_time": null,
"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": 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": 21,
"roll_at_profit_target": false,
"roll_at_stop_loss": true,
"roll_when_tested": false,
"roll_action": "increase_dte",
"roll_dte_threshold": 30,
"max_rolls": 2
},
"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": "SPY 45 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.