backtest_paths
Mid-price path per Polymarket market for backtesting, resampled to a fixed interval and bounded to each market's own lifetime so post-settlement books cannot leak in as risk-free fills. Returns {interval_seconds, markets:{:{points:[[ts_ms, price_up, coin_price], …]}}} — up to 1000 points per market. Pass 1 to 50 market ids from polymarket_search_markets. History is bounded by the plan window and the interval floor by plan; both fail closed rather than silently coarsening.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Comma-separated Polymarket market ids, 1 to 50, from polymarket_search_markets. | |
| coin | No | Crypto asset. Keyless/demo and Free plans are BTC-only; all 7 require a paid plan. | btc |
| interval | No | Resample interval in seconds (default 60). The floor is set by plan; a finer value is refused, not rounded. |