# Tide Arena > Tide Arena is a public, year-round benchmark for trading bots written in TypeScript. A bot is one file that default-exports a `Strategy` from the npm package `@chest-tide/arena`. Arena feeds it closed bars from a frozen, SHA-256-verified historical data pack, fills the trades it asks for with fixed fees and slippage, and scores the result. - Engine: `@chest-tide/arena@0.5.15`, Node 22.13 or newer. Starter kit: `npx @chest-tide/arena@0.5.15 init my-bots`. Pin this exact version. - Dev pack: 5 pairs at 15m, 1h, 4h, 1d, 1w: BTC from Binance (BTCUSDT perpetual). Tradathon 2027 judges on this same pack. Scored 2022-02-21 to 2026-09-28 UTC (end exclusive), after 300 warmup bars per pair. SHA-256 `3c9bfbb26273420b4341f8197f4151ac3e6727cf1bdcbef40db74d356f282d73`. - Score: each pair the bot runs on starts at equity 1.0 and every trade risks 1% of that pair's equity. The book is an equal stake in each pair it traded, valued at every UTC midnight with open trades marked at the last close. The score is the Sharpe ratio of the book's daily returns, annualised with √365. Return (the equal-weight geometric mean of the traded pairs' final equity, minus 1) is shown and breaks ties. Untraded pairs are not counted. - Rules to rank (be eligible): at least 30 trades in total, at least 5 on every pair it trades, no trade above 5× leverage (the stop at least 0.2% from the entry), no pair above 20% drawdown. Ranking: eligible first, then higher Sharpe ratio, higher return, lower worst-pair drawdown, more trades, name. - Fills: at the next bar's open plus 1 bp adverse slippage; the stop counts first when one bar touches both stop and target. Fees per side in bp (taker/maker): Binance 5.5/2. No funding. - A bot is one TypeScript file under 64 KB that default-exports a `Strategy` and imports only `@chest-tide/arena`. `decide` is pure and synchronous: no network, files, clock, randomness, async code or hard-coded dates. - Tradathon 2027 is judged on Arena: entries close 2027-02-26T06:00:00Z. Browser and kit scores are unofficial previews. Official ranking is `npm run arena -- judge` (isolated Docker) on 1 window: the same public development pack builders preview and submit on; forward testing is phase 2, outside hackathon judging, each from a fresh start, ranked by the Sharpe ratio of their daily returns together; an entry must make money in at least 1 of them, with a Sharpe ratio above 0. Eligible entries that clear their luck line (a Sharpe ratio above zero and above the one 95% of 200 no-skill twins stay below) rank first. Tide's public host has no Docker daemon. - Results are historical simulations, not forecasts or trading advice. ## Docs - [Everything in one file](https://tide.chest.chat/llms-full.txt): quick start, the rules for coding agents, the bot contract, the API, the dev pack's pairs and the starter bots. Read this one if you can read only one. - [Bot contract (GUIDE.md)](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/GUIDE.md): what `decide` receives and returns, how trades fill, the score, the rules and the checks - [API reference](https://tide.chest.chat/arena-api.md): every type and helper a bot can import, with signatures - [Rules for coding agents (AGENTS.md)](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/AGENTS.md): the kit's instructions for Claude Code, Codex and similar agents - [Starter kit README](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/README.md): set-up, scoring, testing on another window and submitting ## Starter bots - [breakout-bot.ts](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/bots/breakout-bot.ts) - [coin-flip-bot.ts](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/bots/coin-flip-bot.ts) - [crypto-bot.ts](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/bots/crypto-bot.ts) - [example-bot.ts](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/bots/example-bot.ts) - [value-area-bot.ts](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/template/bots/value-area-bot.ts) ## Tools - [npm package `@chest-tide/arena`](https://www.npmjs.com/package/@chest-tide/arena): the engine, the starter kit (`npx @chest-tide/arena@0.5.15 init my-bots`) and its TypeScript source in `src/` - [Arena](https://tide.chest.chat/arena): sign in to submit a bot and read its results; create an Arena key at [MCP keys](https://tide.chest.chat/mcp-keys) - MCP server (Streamable HTTP): `https://api.tide.chest.chat/mcp`, header `Authorization: Bearer `. Tools: `arena_get_guide`, `arena_get_starter_bot`, `arena_submit_bot`, `arena_list_submissions`, `arena_get_result`, `arena_set_entry` ## Optional - [Changelog](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/CHANGELOG.md): what each engine version changed - [Engine source: types](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/src/backtest/types.ts): `Strategy`, `Intent` and `Trade`, with comments - [Engine source: market state](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/src/market/types.ts): `Candle` and `MarketState` - [Engine source: the fill model](https://cdn.jsdelivr.net/npm/@chest-tide/arena@0.5.15/src/backtest/engine.ts) - [Tradathon 2027](https://tide.chest.chat/competitions/tradathon2027) and its [rules](https://tide.chest.chat/competitions/tradathon2027/rules.html)