# Markets and feeds

> Index pools on any EVM chain or Solana, read every Hyperliquid, Lighter and Polymarket market, use free shared feeds, and follow order books and listings live.

## Pools on any chain

Add a pool on the Sources page (or with `add_pool`) by its address and chain, and ftw.trade starts indexing it, reading back as many hours of history as you ask for.

- **EVM chains**: Robinhood Chain, Ethereum, Base, Arbitrum, Optimism and Unichain read through ftw.trade's hosted RPC; add any other EVM chain with your own RPC URL. Uniswap V2, V3 and V4 pools, and Metric pools.
- **Solana**: PumpSwap, Raydium (CPMM and CLMM), Orca Whirlpool and Meteora DLMM pools.

A pool has bars of 5s, 15s, 1m, 5m, 15m, 1h, 4h and 1d, built from its swaps. A strategy on a pool steps each bar the moment the pool has been read through it, about 5 to 7 seconds on 5-second bars. It can also read every swap: side, amounts, price, trader and transaction.

`bars.usd(market, interval)` is each close in dollars (a pool quoted in ETH or SOL is converted at that coin's price when the bar closed), so a market cap is `bars.usd(…) * supply`.

## Perps and spot on Hyperliquid and Lighter

Every Hyperliquid and Lighter market is listed under **Markets → Perps & spot**: perps, Hyperliquid's builder perps (stocks, gold and more, like `xyz:TSLA`) and spot pairs. Add one to your sources and read it as `perp:<venue>:<symbol>`, with its funding rate.

## Prediction markets

Every open Polymarket event is under **Markets → Predictions**. Each outcome is the series `poly:<token id>`, its price the probability from 0 to 1, with nothing to add. Every trade as it prints is on the `trades` stream.

## Shared feeds

Crypto, stocks, commodities and lending rates, streamed once for every account and free: Coinbase, Kraken and Chainlink prices, and more. Strategies read them as `feed:<name>` (1-minute bars and up).

## Order books

Any Hyperliquid, Lighter or Derive market's book, or a Polymarket outcome's, can be read now or followed live:

- **Now**: the book's levels, from the market's page or `get_order_book`.
- **Live**: a source on the `books` stream sends each change at most once a second, with best prices and sizes, microprice, spread, depth within 0.1% to 1% of the middle, imbalance and the top 10 levels each side.
- **History**: record a book every 15 seconds for strategies to backtest on. See [Order book strategies](https://docs.ftw.trade/strategies/order-books).

## New and closed markets

**Markets → New & closed** lists every Hyperliquid, Lighter and Polymarket listing, delisting, closing and resolution, checked every 5 minutes. The `markets` stream sends each as it happens, so a workflow can act on a new listing, and a strategy on a market that goes away stops, saying why.

## Liquidations

On Hyperliquid's largest perps, ftw.trade records where real open positions would be liquidated, a minute at a time. Strategies read it with `liq.*`, and the charts draw it.
