4-Leg Iron Butterfly on SPY (S&P 500 ETF) — Alpaca Paper Account P&L, Risk Metrics & Trade Analytics

● Paper Trading 🦋 Neutral / Non-Directional 📊 Performance Report 📈 Backtests ⚠️ Educational Only

📡 Strategy Overview

This strategy runs a Weekly Iron Butterfly on SPY (S&P 500 ETF) via the Alpaca paper-trading API. The Iron Butterfly is a net-credit, defined-risk, non-directional options strategy. Both short strikes are placed at the money — this maximises premium collected but creates a narrow profit zone. The trade is profitable only if SPY closes near the ATM strike at expiry.

The butterfly is opened every Monday morning (9:40 ET) and closed every Thursday afternoon (15:45 ET), targeting the following Friday's weekly expiry. All performance metrics are scoped exclusively to SPY option legs (OCC symbols matching SPY[date][CP][strike]).

4-Leg Butterfly Construction

LEG SIDE STRIKE PREMIUM
Long Put Buy to open ATM − wingWidth (ATM − 10) PAY (outer hedge)
Short Put Sell to open ATM ← both shorts at ATM COLLECT
Short Call Sell to open ATM ← both shorts at ATM COLLECT
Long Call Buy to open ATM + wingWidth (ATM + 10) PAY (outer hedge)
Net Credit = shortPut_mid + shortCall_mid − longPut_mid − longCall_mid (both shorts @ ATM)