How to Automate Cash-Secured Puts: A Step-by-Step Guide for Options Income

By OptionBots TeamJuly 3, 20269 min read
Illustration of automated cash-secured put trading showing a stock price chart with a put strike level, gold cash reserves, and an automation gear motif

Key Takeaways

  • Automating CSPs means defining rules for strike, expiration, and exits once, then letting a bot execute them without daily monitoring.
  • Target a 0.20–0.30 delta strike and 21–45 DTE window to capture the steepest part of theta decay.
  • Close at 50% of max profit and stop out at 2x the premium received to keep risk defined.
  • An IV Rank filter (e.g., only sell above 30) keeps the bot out of low-premium environments.
  • Automated CSP strategies typically generate 1–3% monthly premium on reserved capital, depending on IV and strike selection.
  • Assignment is expected, not a failure — it hands you shares you were already prepared to own, setting up the next leg of the Wheel strategy.

Automating cash-secured puts means setting rules for when to sell puts, which strikes and expirations to target, and when to close — then letting software execute those rules without you watching the market all day. Here's exactly how it works and how to set it up.

Cash-secured puts (CSPs) are one of the most straightforward options income strategies: you sell a put option and hold enough cash to buy 100 shares if you get assigned. In exchange, you collect premium upfront. Do it consistently, and it becomes a reliable income stream — but doing it manually every week is tedious. Automating it changes everything.

This guide covers what CSPs are, why they're well-suited to automation, how to set up a cash-secured put bot, and what parameters to configure for consistent results.

What Is a Cash-Secured Put?

A cash-secured put is an options strategy where you sell a put option on a stock or ETF you're willing to own, while keeping enough cash in your account to buy 100 shares if the option is exercised.

Here's the basic mechanics:

  • You sell a put option at a strike price below the current stock price
  • You collect the premium immediately
  • If the stock stays above your strike price at expiration, the option expires worthless and you keep the premium
  • If the stock drops below your strike price, you buy 100 shares at the strike price (minus the premium you collected)

Cash-secured puts are the foundation of the Wheel strategy — the first step before you might get assigned shares and start selling covered calls. (See our full guide: How to Automate the Wheel Strategy)

Why Cash-Secured Puts Are Ideal for Automation

Cash-secured puts are one of the easiest options strategies to automate because the logic is straightforward and repeatable.

The rules don't change week to week. You're always selling the same type of contract — a put, on an underlying you've chosen, at a delta and expiration you've defined. There's no discretionary judgment required once you've set your parameters.

Entry signals are simple. Most CSP traders sell puts when implied volatility (IV) is elevated enough to justify the premium. You can encode this as a rule: sell when IV rank is above a threshold, skip when it's too low.

Exits are predictable. Many traders close CSPs at 50% of max profit. That's a simple condition a bot can monitor and execute automatically.

Assignment is manageable. Unlike some options strategies where assignment is catastrophic, CSP assignment just means you buy shares you were already prepared to own — and then you can start selling covered calls on them.

The result: a strategy that runs on a defined ruleset, week after week, without requiring you to be glued to your screen.

How to Set Up a Cash-Secured Put Bot

Setting up an automated cash-secured put strategy involves five key decisions. Get these right, and the bot can handle execution from there.

1. Choose Your Underlying

Pick a stock or ETF you're comfortable owning at the strike price. Key criteria:

  • Liquid options market (tight bid-ask spreads, high open interest)
  • Stable enough that you'd be okay getting assigned
  • High enough IV to generate meaningful premium

ETFs like SPY, QQQ, and IWM are popular for this reason. Individual stocks like AAPL, MSFT, or AMD work well too, though they carry more stock-specific risk.

2. Select Your Strike Price (Delta)

Most systematic CSP sellers target a delta of 0.20 to 0.30 — meaning the option has roughly a 20–30% chance of expiring in the money. This balances premium collection against assignment risk.

Some traders go further out of the money (0.10–0.15 delta) to reduce assignment risk at the cost of lower premiums. Your bot needs a specific delta target — a range like 0.20–0.25 gives it flexibility to find the closest available strike.

3. Pick Your Expiration Window

Most CSP automation targets options with 21–45 days to expiration (DTE). This range captures the steepest part of the theta decay curve — the point where time value erodes fastest, which is what you're selling.

At 45 DTE, you enter the position. At 21 DTE (or when the position reaches 50% profit), many traders close and roll to the next cycle.

4. Set Your Profit Target and Stop Loss

Two exit rules to define:

  • Profit target: Close the position at 50% of max profit (i.e., buy back the put at half the premium you collected). This locks in most of the gain while freeing up capital.
  • Stop loss: Close if the position reaches 2x the premium received (i.e., you've lost double what you collected). Some traders use 200% of premium as the stop; others use a strike-based rule.

5. Add a Volatility Filter (Optional but Recommended)

Selling puts when IV is low means you're collecting thin premiums for the same risk. Adding an IV Rank filter (e.g., only sell when IV Rank is above 30) keeps your bot from selling in low-vol environments where the math doesn't favor you.

Running a CSP Bot on OptionBots

OptionBots lets you build cash-secured put automation without writing code. You define the rules above in a visual interface, backtest them against historical data, and deploy to a live or paper trading account.

The platform supports:

  • Delta-based strike selection
  • DTE-based entry windows
  • Profit target and stop-loss exits
  • IV Rank filters
  • Automated position monitoring and closing

You can paper trade the strategy first using the built-in paper trading feature — no broker account required to start. See our guide: How to Set Up a Paper Trading Bot. This lets you validate your parameters before deploying real capital.

What to Expect From Automated CSP Trading

Automated cash-secured put strategies typically generate monthly premiums of 1–3% of the capital held in reserve, depending on the underlying, IV environment, and strike selection. In higher-volatility environments, premiums are richer. In low-volatility environments, they're thinner.

A few realistic expectations:

  • You will occasionally get assigned. That's by design. Have a plan for what to do with the shares (covered calls are the natural next step).
  • Not every week will be profitable. Assignment can temporarily tie up capital and reduce returns.
  • The edge comes from consistency and compounding, not from any single trade being a home run.
  • Automation removes the emotional component — you don't skip a week because the market feels uncertain, and you don't hold past your stop because you're hoping for a recovery.

Common Mistakes to Avoid

Selling too close to the money for higher premium. High premiums feel good until you get assigned repeatedly in a down market. Stay disciplined about your delta range.

Not accounting for assignment capital. Your bot needs enough cash to actually buy shares if assigned. Size positions so you can handle assignment without being overextended.

Ignoring earnings dates. Selling puts into earnings creates outsized risk. Most experienced traders skip or adjust the week before earnings. Build this into your bot's filters.

Chasing premium in low-IV environments. When IV is crushed, the premium doesn't justify the risk. An IV Rank filter prevents this automatically.

The Bottom Line

Cash-secured puts are simple in concept: sell puts on stocks you're okay owning, collect premium, repeat. The challenge manually is staying consistent — remembering to enter positions, monitoring them, and closing at the right time.

Automation solves that. A well-configured CSP bot enters at the right IV environment, targets the right delta and expiration, exits at your profit target, and stops out if the trade goes wrong — all without you touching it.

If you're looking to generate consistent options income without babysitting your positions, automated cash-secured puts are one of the cleanest starting points. OptionBots is built specifically for this — start with paper trading to dial in your parameters, then deploy live when you're confident in the setup.

Cash-Secured PutsOptions IncomeWheel StrategyOptions AutomationCSPNo-Code Trading

Frequently Asked Questions

What's the difference between a cash-secured put and a naked put?

A cash-secured put means you hold the full cash needed to buy 100 shares at the strike price. A naked put doesn't hold that cash, making it a margin strategy with higher risk. Cash-secured puts are approved for basic options accounts; naked puts require higher margin approval.

How much capital do I need to automate cash-secured puts?

It depends on the underlying. For ETFs like SPY, a single CSP at a $500 strike would require $50,000 in reserved capital. For lower-priced stocks or ETFs, you can start with $5,000–$10,000 and sell puts on correspondingly cheaper underlyings.

What happens when I get assigned?

You buy 100 shares at the strike price, net of the premium you collected. Your cost basis is the strike minus the premium received. From there, you can sell covered calls on those shares — that's the Wheel strategy.

Can a bot handle assignment automatically?

Platforms like OptionBots track positions through assignment and can trigger covered call logic automatically after assignment, allowing you to run the full Wheel on autopilot.

Is automated CSP trading legal?

Yes. Automated options trading is legal for retail traders. You're placing real trades through a licensed broker — the automation just handles the timing and execution of those trades based on your rules.

Run a Hedge Fund From Your Bedroom

Finally have an excuse to call yourself a quant trader. Because that's what you'll be.