Write JavaScript: receives prices (array) and position (null or {side:'LONG'|'SHORT'}).
Return: "LONG", "SHORT", "CLOSE", or null.
Helpers: sma(arr,n)std(arr,n)rsi(arr,n)ema(arr,n) Runs every tick. Price→music mapping is automatic.
ALGO_RAVE::TRADER
LIVE
128 BPM
🐸 SAFE
SIM · GBM
ETH/USDT▼
$—P&L+$0.0000:00:00
strategy.py — livez-score momentum breakout — trades when price deviates >1.5σ from 20-period mean
pythontone.js
◈ HyperliquidWebSocket · ~500ms · perp mids
⚡ CoinGeckoREST API · ~10s polls · spot
✕ Disconnectback to simulated GBM
BASS60
RESO30
ACID50
LEAD50
ATK20
REV25
DLY15
DIST0
PRICE ACTIONσ 0.00
oscilloscope
EXECUTION LOGreal-time trade journal — every entry, exit, signal & mutation timestamped0 trades