You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create backend/strategy_decoder/momentum_trader.py — the main paper trading loop. Monitors live Polymarket prices, executes entry/exit signals, manages positions with TP/SL, runs both strategy variants in parallel, records snapshots, enforces risk limits.
End-to-end: discover markets → poll prices → check entries → manage open positions (TP/SL) → record results → snapshot collection.
Acceptance criteria
MomentumPaperTrader class with async run loop
Discovers markets via crypto_markets module, polls prices every ~10s
Enters positions when strategy signals fire (both variants run simultaneously)
Manages open positions: checks TP/SL on every poll, exits when triggered
For trailing TP variant: tracks whether TP level was touched, switches to trailing mode
10% high-water-mark kill switch stops all trading when triggered
Kelly-based sizing using bankroll and estimated win rates from research
Parent PRD
#60
What to build
Create
backend/strategy_decoder/momentum_trader.py— the main paper trading loop. Monitors live Polymarket prices, executes entry/exit signals, manages positions with TP/SL, runs both strategy variants in parallel, records snapshots, enforces risk limits.End-to-end: discover markets → poll prices → check entries → manage open positions (TP/SL) → record results → snapshot collection.
Acceptance criteria
python -m backend.strategy_decoder.momentum_traderBlocked by
User stories addressed