Quick navigation
What this is
A day-trading options research desk. It reads market data, turns technical indicators into directional signals, and (optionally) places long options trades on your Alpaca account — paper-first, with hard risk guards.
How it works
data → signals → trade → manage positions
- Signals — 5 strategies each say LONG SHORT or FLAT; a majority vote combines them (ties → FLAT).
- Trade — LONG buys a call, SHORT buys a put. A contract is picked by targeting a delta, then risk-checked.
- Manage — stop-loss / take-profit, manual or automatic close, an unattended run loop.
The pages
Dashboard — account, market status, open positions, quick actions at a glance.
Signals — read-only; what the strategies say right now.
Trade — preview the exact contract it would buy; flip to live to actually place a paper order.
Positions — what you hold, live P&L, and one-tap close.
Run Loop — hands-off: opens on signals and manages exits, with a kill switch.
Backtest / Sweep — test strategies on history; sweep ranks strategy × delta combos.
Journal — every order, recorded.
The strategies
- EMA crossover — trend: long when the fast average is above the slow one.
- RSI reversion — buys oversold, sells overbought.
- VWAP trend — long above the day's volume-weighted average price, short below.
- Opening-range breakout — trades breaks of the session's first range (intraday).
- MACD momentum — long when momentum turns up.
Glossary
- Call / Put — a call wins if the stock rises; a put if it falls.
- Delta — how much the option moves per $1 of stock. ~0.5 ≈ at-the-money.
- Premium / Notional — premium is per share; 1 contract = 100 shares.
- Dry-run vs Live — dry-run shows everything but places nothing; live actually trades.
- Stop / Target — auto-close levels on a position's profit/loss (default −50% / +100%).
Safety
- Dry-run is the default; live trading is off unless enabled on the server.
- Long options only; risk checks (cost, notional, position count) gate every order.
- Run loop has a kill switch plus max-trades/day and daily-loss limits.