# Prediction markets

> Every open Polymarket market as a series to backtest and run strategies on, traded on paper or from a live project's Polygon wallets, with books, trades and resolutions as streams.

## Every market, as a series

**Markets → Predictions** lists every open Polymarket event. Each outcome is the series `poly:<token id>`, its price the probability from 0 to 1, with nothing to add first. Strategies backtest and run on it like spot (5-minute bars and up).

## Trading

- **On paper**, like any series.
- **Live**, from a live project's Polygon wallets. Ready each wallet once (it needs USDC.e and a little POL on Polygon), then run a strategy with a dollar amount per buy: each buy spends that from each wallet and a sell closes the shares held.
- **By hand** from the market's page, including limit orders.

## Books and trades

- Each outcome's **order book** can be read now, followed live (at most once a second) or recorded every 15 seconds for backtests. The **Polymarket book pressure** starter trades it.
- Every **trade** as it prints is on the `trades` stream: price, shares, dollars, side and fee.

## New and resolved markets

The `markets` stream sends each new Polymarket market as it's listed (you can leave out the 5- and 15-minute ones) and each resolution with the outcome that won. A workflow can act on either, and a strategy on a market that resolves stops, saying why.
