OHLCV history
everstrike_ohlcvCandlestick history for one market. Reports MARK prices by default — last-traded price is often stale on thin markets. Pass price for last or index. start/end are unix MILLISECONDS; omit them for the most recent candles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the period, unix MILLISECONDS. | |
| pair | Yes | Market. Everstrike keys markets QUOTE FIRST: the BTC/USD perpetual is USD_BTC_PERP, not BTC_USD_PERP. Spot is the other way round (USDT_USD is USDT/USD). Friendlier forms are resolved against the live market list, so "BTC/USD", "BTC-USD" and "BTCUSD" all work too; an unknown value comes back with suggestions. Use everstrike_pairs for the canonical list. | |
| limit | No | Number of candles (default 60, or 15 when price is 'all'). | |
| price | No | Which price to report: 'mark' (default), 'last' (traded), 'index', or 'all' for the raw candle with every field. Mark is the default because last-traded price goes stale on thin markets. Prefer one basis — `all` is about 3.5x larger per candle. | |
| start | No | Start of the period, unix MILLISECONDS. | |
| interval | Yes | Candle interval. One of: 15s, 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 24h, 7d. |