# API changelog

Changes to the Sister Song streaming API, newest first. Each date is the day the change reached production.

## 2026-10-27

- **Added**: This documentation now lives at [song.brainanalytics.co/docs](https://song.brainanalytics.co/docs) and replaces the PDF.
- **Added**: [Try it live](https://song.brainanalytics.co/docs/try) streams real messages in your browser with your own token, over SSE or a WebSocket.
- **Fixed**: On handicap markets, `handicap` on bet slips and tips had the wrong sign: a bet on Home −0.5 came with `0.5`. New slips and tips carry the actual line (`-0.5`) and `handicap_is_line: true`. Older ones without the marker keep the wrong sign. `wager_selection_id` and `selection_id` were never affected. See [Bet slips](https://song.brainanalytics.co/docs#bet-slips).
- **Fixed**: Handicap bets now settle on the line that was bet. Before, they settled on the opposite line, so a Home −1 bet that lost could show as a push. This affected each bet's `state`, `live_state` and `pnl`, the strategy's `settled_pnl`, and tips' `bet_state`. See [`ai_results`](https://song.brainanalytics.co/docs#ai_results).
- **Fixed**: WebSocket subscriptions now receive live messages. Before, they received the replay but no live messages.
