Backtesting Arena

v1.13.0
io.github.Schoasch/backtesting-arena Checked 2 days ago Published 1 month ago

Crypto backtesting & Bitcoin cycle analytics.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

arena_get_pulse Get Arena Pulse Today

How hot is the Bitcoin market today? Daily 0-100 heat score for the Bitcoin market, aggregated from 8 components (BTC-Cycle, F&G, Altcoin-Season, Bullmarket-Ampel, Funding-Rate, Hash-Ribbons, Mayer-Multiple, MVRV-Z). Returns score, band label, color, 7d/30d delta, verdict, components breakdown, score_percentile, score_semantics and band_driver — each explained by a note in the payload. Pass fields="full" for `drivers[]` (per component: value, weight, contribution, percentile_rank). [Free tier]

ParameterTypeDescription
fieldsstringOmit for the default response. 'full' adds `drivers[]` — each component with value, weight, contribution (the contributions add up to the headline score), percentile_rank against its own stored hist…

arena_get_cycle Get Crypto Cycle Snapshot (BTC / ETH / SOL)

Crypto cycle position — where are we in the cycle? Default BTC: point-in-time 9-indicator aggregation (Pi-Cycle Top & Bottom, Mayer Multiple, weekly RSI, 200-week-MA distance, halving position, Fear & Greed, BTC-dominance trend, mining-difficulty trend — each indicator’s 0-100 sub-score is in the score_* fields; the weights are in drivers[] under fields="full"; indicator_coverage says which had input). Includes an `ath` block (its note states basis and reference prices). Pass asset=ETH or asset=SOL for a per-coin cycle read built from the transferable price-derived indicators (Mayer, wee…

ParameterTypeDescription
assetstringWhich asset’s cycle. Default BTC. ETH/SOL return a price-derived cycle read with not_applicable fields for BTC-native indicators.
fieldsstringBTC only. 'full' adds `drivers[]` (indicator sub-scores with renormalized weight, contribution summing to raw_score, percentile_rank with basis and n) plus drivers_note.

arena_get_spot_price Get BTC/ETH/SOL Spot Price

Current BTC, ETH and SOL spot price — what is Bitcoin (or ETH/SOL) worth right now? Live USDT-quoted last price plus 24h change %, high and low from Binance. Use this to anchor the connector’s own analytics (cycle, historical-analog, gem scores) with the current market price instead of switching to web search mid-analysis. [Free tier]

arena_get_stablecoin_supply Get Stablecoin Supply Trend

Aggregate stablecoin supply (crypto-liquidity proxy) — is the liquidity impulse turning or accelerating? macro_regime only gives the 30d delta; this exposes the trend: current supply, 30d/90d change (USD + %) plus a daily time series (`days`, default 365; `resolution` states points and spacing) so direction and speed are visible, not just a single delta. Read `impulse` for what the supply change is doing — four states (accelerating / decelerating / reversal / flat). The neighbouring `acceleration_usd` is the signed difference last-30d minus prior-30d and gets LARGE exactly when the trend r…

ParameterTypeDescription
daysintegerLength of the returned daily series in days. Default 365, clamped 7–1095.

arena_get_etf_flows Get Spot-ETF Net-Flow Trend (BTC / ETH / SOL / XRP and more)

Spot-ETF net flows (USD millions) — is the flow impulse turning or accelerating? The summary only gives point-in-time deltas; this exposes the trend: 30d/90d net flow, a direction label (inflows/outflows/flat) and a daily series (every US trading day: cumulative inflow + that day's net flow; `resolution` states points and spacing) so direction and speed are visible, not just a single delta. Read `impulse` for what the flow is doing — it has four states (accelerating / decelerating / reversal / flat) and is the field to quote. Two neighbouring fields measure different things and are easy to…

ParameterTypeDescription
assetstringWhich US spot-ETF flows. Default BTC. XRP/LTC/HBAR/DOGE/LINK/AVAX/DOT: stored history starts 2026-09-21 (grows daily).
daysintegerLength of the returned daily series in days (every US trading day in the window). Default 365, clamped 7–1095.
formatstringDefault 'rows' (series[] of objects). 'columns' returns series_columns instead — parallel arrays (date, cum_net_inflow_usd_m, net_flow_usd_m, market_closed) with each field name once; use it for lon…

arena_get_altcoin_season Get Altcoin Season Snapshot

Is it altcoin season? Daily Altcoin-Season indicator; the Layer-1 signal comes from weekly closes (methodology.version names the method). Returns BTC-, alt- and stablecoin dominance, the 4 Layer-1 signals, overall color (red/yellow/green) and Layer 2: altcoin_season_pct with altcoin_season_pct_basis and altcoin_season_pct_provenance (fields="full" names the missing coins), plus the CoinGecko snapshot of the 30 largest coins (field top50_snapshot). The `methodology` block in the payload defines inputs, weights and denominators. [Free tier]

ParameterTypeDescription
fieldsstringOmit for the default response, which carries `provenance` in short form (grade full/partial/thin, sources_used, sources_expected). 'full' adds the long form: sources_missing (named), sources (licence…

arena_get_fear_greed Get Fear & Greed Index

How fearful or greedy is the market right now? Crypto Fear & Greed Index (alternative.me). Returns the current `value` (0-100) and `classification` (extreme fear / fear / neutral / greed / extreme greed) as their own fields, plus `history` — the last 90 daily readings by default, so you can see whether today is a move or a plateau. The window is capped in SIZE but free in POSITION: `end_date` moves it anywhere in the history since 2018 (e.g. end_date=2025-10-06 reads the sentiment around the October 2025 top), and the `range` block states requested / granted / available days with the reason…

ParameterTypeDescription
daysintegerHow many daily readings to return (1-365, default 90). The full history since 2018 is deliberately not offered in one response — it is ~3,100 points and does not fit a tool response. The cap limits…
end_datestringLast day of the window (YYYY-MM-DD, inclusive). Positions the window anywhere in the history since 2018-02 — e.g. end_date=2025-10-06 answers "what was sentiment at the October 2025 top". Omit for a…

arena_get_bullmarket_ampel Get Bullmarket Ampel Snapshot

Is this still a bull market? Bitcoin Bullmarket-Ampel current state (0-5 active stages). Returns active_count, a stages[] breakdown (each stage with key, label, active and `since` = first day of its current state; null when the state predates the 400-day lookup) and stage_history — per day active_count PLUS all five per-stage booleans, so which stage flipped when is readable directly (history_days 1-365, default 30). Higher count = more bull-market signals firing. Stages evaluate weekly 20W/50W-MA conditions. [Free tier]

ParameterTypeDescription
history_daysintegerDays of stage_history to return (1-365, default 30). Each row carries active_count plus all five per-stage booleans, so stage flips are readable per day instead of only via the derived `since` of the…

arena_get_funding_rate Get Funding Rate Snapshot

Are longs or shorts paying right now? Latest BTC perpetual funding rate, averaged across up to 4 exchanges (Binance, Bybit, OKX, Deribit; 8h settlement cadence). Returns the day's averaged value plus each exchange's own value (no moving average or Z-score — for the history use arena_get_funding_rate_history via arena_call_extended). Positive = longs pay shorts (bullish bias), negative = shorts pay longs (bearish bias). Read `coverage` before comparing values across dates: it says how many exchanges stand behind that day (4 = full average, 1 = a single exchange), and a day-over-day move can b…

ParameterTypeDescription
fieldsstringOmit for the default response, which carries `provenance` in short form (grade full/partial/thin, sources_used, sources_expected). 'full' adds the long form: sources_missing (named), sources (licence…

arena_get_macro_regime Get Macro Regime Snapshot

What is the macro backdrop doing? Daily Macro Regime snapshot from 18 components in 6 tiers (Liquidity 30%, Financial Conditions 20%, Risk Appetite 15%, Crypto Liquidity 10%, Business Cycle 15%, Inflation/Real Rates 10%). FRED-sourced. Returns composite_score (0-100), regime_label (risk_off/neutral/risk_on_leaning/risk_on), cycle_phase_label (contraction/early_expansion/mid_expansion/late_expansion), matrix_quadrant (sweet_spot/late_cycle_warning/crisis/recovery), tier_scores (6 sub-scores), components (flat key/value of all 18), stale_components_detail and provenance. Four component keys mean…

ParameterTypeDescription
fieldsstringOmit for the default response, which carries `provenance` in short form (grade full/partial/thin, sources_used, sources_expected). 'full' adds the long form: sources_missing (named), sources (licence…

arena_get_btc_market_structure Get BTC Market Structure

Is the trend up or down, and how fresh is the flip? Daily Bitcoin market structure from 1000-bar Phantomflow adaptation (BTCUSDT 1d). Returns current_trend (up/down/sideways), last trend change timestamp, counts of waves + fractals, last-5 fractals on each side (up = pivot highs, down = pivot lows), and trend_context: previous trend + its duration, flip_age_days, and a descriptive historical flip base rate over the SAME 1000 bars (total flips, share reverted within 5 bars, median trend duration) — a fresh same-day flip is the least settled observation — the base rate tells you how often su…

arena_get_key_levels Get BTC Key Levels (S/R clusters + indicator levels)

Which price levels matter above and below spot? Reproducible Bitcoin structural levels on BOTH sides of spot, in TWO distinct provenance classes. (1) resistance/support: swing-pivot clusters — where past pivot highs+lows cluster into price zones (touch-count, band, last-touch date, signed distance), resistance above spot, support below, nearest-first; price_in_band=true: spot inside the zone (side can flip). (2) indicator_levels.above / .below: named indicator STANDS as marks — 200-day & 200-week simple moving averages, Bull Market Support Band (20-week SMA, 21-week EMA) and 50-week SMA of…

arena_get_iv_snapshot Get Deribit IV Snapshot

What is the options market pricing in? Latest Deribit volatility snapshot for BTC or ETH as SHAPE and RANK, not levels: term_structure (ATM implied vol 30/60/90/180d as slope, contango/backwardation and rank per tenor), dvol_rank_1y (DVOL rank 0..1 in our own history) and `vol_risk_premium_30d`. DVOL, ATM-IV and realized-vol VALUES are not returned (licensed exchange data, see disclosure; realized vol: arena_get_volatility_history). `vol_risk_premium_30d`, which is the TRAILING spread: ATM implied vol (30d, from the options chain — not DVOL) minus the realised volatility of the PAST 30 days.…

ParameterTypeDescription
currency *stringCurrency to fetch IV snapshot for
include_impliedbooleanDefault false (response unchanged). When true, adds an `implied` block with the FORWARD volatility risk premium, its percentile and the historical base rate.

arena_list_onchain_series List Available BRK On-Chain Series

Which on-chain series are available? Lists all 86 available Bitcoin Research Kit (BRK) on-chain series across the groups pilot, sentiment, mining, supply, cointime, activity, liquidity (e.g. MVRV, NUPL, SOPR, Realized-Price, Mayer, Puell, STH/LTH SOPR, Hash-Ribbons). Returns id + label + group. Use the id with arena_get_onchain_latest / _history. [Free tier]

arena_get_onchain_latest Get On-Chain Series Latest Value

What does this on-chain metric read right now? Returns the most recent value of ONE on-chain series from the Bitcoin Research Kit as { series_id, metric_name, date, value }. Cheapest way to answer "what is X right now" (MVRV, SOPR, realized price, hash rate, …). Discover valid series_ids with arena_list_onchain_series; for the history behind the number use arena_get_onchain_history. A single reading has no context — pair it with the series percentile before calling any level high or low. [Free tier]

ParameterTypeDescription
series_id *stringBRK series id, e.g. 'mvrv', 'sopr', 'realized_price'.

arena_get_sth_cost_basis Get BTC Short-Term-Holder Cost Basis (latest)

What did recent buyers pay on average — and how far is spot from that? Latest BTC short-term-holder cost basis (realized price of coins younger than ~155 days, BRK brk_sth_realized_price), derived STH-MVRV (spot ÷ STH cost basis), an in_loss flag, plus ±1σ/±2σ bands: basis × exp(±k·σ), σ of ln(price ÷ basis) over a 730-day ROLLING window (sigma_method/sigma_window_days travel in the payload; similar construction to public STH band charts, own convention — not a rebuild). band_zone names the state (above/below basis, beyond ±2σ); sth_mvrv_percentile is the rolling 730d rank. Me…

arena_get_onchain_history Get On-Chain Series Historical Values

How has this on-chain metric moved over time? Returns the full TIME SERIES of one on-chain metric from the Bitcoin Research Kit — date/value pairs in ascending order, with history back to 2009 for most series. Use it for trend and percentile work; for the single current reading call arena_get_onchain_latest, and to discover valid series_ids call arena_list_onchain_series. Values are as-reported: on-chain metrics can be revised retroactively, so this is not a point-in-time vintage. Range capped by tier — the response carries a `range` block (requested_days, granted_days, clamped, clamp_reas…

ParameterTypeDescription
series_id *stringBRK series id, e.g. 'mvrv'.
daysintegerDays back from today (clamped by tier).

arena_get_max_pain Get Deribit BTC Max Pain (latest + upcoming)

What happened at the last Deribit expiry? Max pain and how spot settled against it: max_pain_strike, spot_at_expiry, %-diff, put_call_ratio, notional. Plus up to 10 upcoming expiries, each with the max-pain level of the latest daily snapshot (not live), days_to_expiry, open_interest_contracts and open_notional_usd. Field semantics: days_to_expiry is floored at 0 and cannot separate "expires later today" from "already settled" — settles_at (full ISO timestamp) and hours_to_settlement (SIGNED; negative = settled but not yet finalized) carry that distinction. settlement_time_utc names the settl…

ParameterTypeDescription
expiry_datestringOptional YYYY-MM-DD of ONE open expiry: upcoming[] (and its strike_ladder/gex) is restricted to it, which keeps ladder/GEX responses small; gex_totals still covers the whole book. An expiry that is no…
include_gexbooleanDefault false (response unchanged). DERIBIT_BTC only. When true, each upcoming expiry carries a `gex` block plus `gex_totals` across the whole book: Black-Scholes gamma notional (USD per 1 % spot move…
include_strike_ladderbooleanDefault false (response unchanged). When true, every expiry carries a `strike_ladder`: open interest per 2.5 % price band around the snapshot spot (±25 %, calls/puts separate, absolute contracts, sha…
marketstringOptions market. Only DERIBIT_BTC is served: IBIT (BlackRock spot-ETF options) is still collected daily but no longer delivered — the chain comes from an unlicensed source, so it cannot be redistribu…

arena_get_max_pain_history Get Deribit BTC Max Pain History

Does max pain actually pull price to the strike? Settled Deribit BTC options expiries with the max-pain level we compute per expiry, for measuring the convergence question: does spot drift toward the max-pain level as expiry approaches? Each row: expiry_date, max_pain_strike, spot_at_expiry, %-diff, P/C ratio, notional, expiry-type flags. The mandatory base_rates block answers the convergence question PER expiry class (n, median |diff|, shares within 1%/2%, max, sample_adequate at n>=30) — the pooled median mixes tiny daily expiries with large quarterlies, which is what the per-class split s…

ParameterTypeDescription
daysintegerDays back from today (default 90, capped by tier).
expiry_typestringFilter expiries AND open_snapshots to one expiry class (label = highest level reached; the nesting booleans stay untouched). base_rates are always computed BEFORE this filter.
include_open_snapshotsbooleanDefault false. When true, adds open_snapshots[] (daily observations of not-yet-expired contracts) plus open_snapshot_coverage. Omit for the unchanged response.
marketstringOptions market. Only DERIBIT_BTC is served: IBIT (BlackRock spot-ETF options) is still collected daily but no longer delivered — the chain comes from an unlicensed source, so it cannot be redistribu…
min_contractsintegerOnly finalized expiries with total_contracts >= this (rows with unknown contracts drop out when set).
snapshot_expiry_datestringReduce open_snapshots[] to exactly this expiry date (YYYY-MM-DD). Only meaningful with include_open_snapshots=true. Works for settled expiries too: returns that book's daily series up to expiry (open_…

arena_status Connection, Auth & Quota Status

Am I connected, and what can this key do? Returns auth status (key kind: oauth connector or bearer API key, tier), server version, current UTC time, and the rate-limit state (hour/day used, remaining, reset) WITHOUT consuming extra quota beyond this call itself. Call this first when other tools fail: it separates auth problems (reconnect), tier problems (upgrade) and rate limits (wait) from real outages. [Free tier]

arena_list_strategies List Available Trading Strategies

Which strategies can I backtest here? Lists all backtest strategies (key, label, plan, supported asset classes, primary indicators, free_params = number of user-tunable parameters incl. mode switches). Filterable by asset class and plan. Use this before calling arena_run_backtest to discover valid strategy names. Entries deprecated for an asset class stay listed (historical results depend on them) and carry deprecated_for + deprecation {since, reason} — do NOT call arena_run_backtest or validate_strategy for those combinations, they return 400. [Free tier]

ParameterTypeDescription
asset_classstringFilter to strategies supporting this asset class (crypto or tokenized_rwa).
langstringLocalized names/taglines. Default 'en'.
planstringFilter to strategies of this plan tier.

arena_list_universes List Asset Universes

Which asset universes can I test against? Lists all crypto asset universes (BTC, top-10 crypto, top-50 crypto, etc.) — the underlying pair-sets used by custom-report and universe-backtest endpoints. [Free tier]

arena_get_universe Get Universe Detail

Which pairs are in this universe? Returns one pair universe in full: its id, label, selection rule and the complete list of pairs it currently contains. Use it to see what you are about to test BEFORE handing a universe_id to arena_run_universe_backtest, or to resolve a universe into explicit pairs. For the list of available universes call arena_list_universes. Without as_of the universe reflects the CURRENT membership (CoinGecko market-cap rank) — a backtest over it carries survivorship bias for the earlier years; the `pit` block in the payload says so. With as_of (YYYY-MM-DD, >= 2026-07-14…

ParameterTypeDescription
universe_id *stringUniverse id, e.g. 'crypto-top-50'.
as_ofstringOptional YYYY-MM-DD. Point-in-time membership on that day (recorded since 2026-07-14, volume-ranked).

arena_get_strategy_insights Get Strategy Insights Matrix or Detail

Which strategy and interval combinations actually performed? Aggregated backtest performance per (strategy × interval) cell. If `strategy` AND `interval` provided, returns detail with per-asset breakdown + param variants. Otherwise returns the matrix. Free tier is limited to the same strategies that are free in the backtester itself (rsi_sma, golden_cross, rsi_ob_os, bnh_fixed, dca_reference, dca_reference_v2); the response then carries `plan_capped: true`. Detail mode on a Pro-only strategy returns 403 rather than a silently empty answer. API Pro and Power receive every cell. The envelope de…

ParameterTypeDescription
asset_typestringRestrict to one asset class.
assets_modestring'top10' restricts to top-10 pairs by run-count.
detailstringMatrix mode: 'compact' = every cell, core fields only (~40 % size). Default 'full'.
intervalstringDetail mode: interval. Candle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. M…
min_runsintegerMatrix mode: minimum runs per cell. Default 5.
ref_strategystringBenchmark reference. Default 'bh'.
strategystringDetail mode: strategy key (used together with `interval`).

arena_get_strategy_performance Get Strategy Performance Snapshot (per Asset)

How did this exact strategy, asset and interval perform? Aggregated backtest performance for ONE specific (strategy, asset, interval) combination. Returns run_count, avg_cagr, avg_win_rate, avg_drawdown, effective_years, vs_buy_hold comparison (beats_buy_hold, cagr_delta, plus noise_floor_pp + distinguishable — whether the gap clears the measured noise of parameter and window choices; use that verdict, do not hold other gaps against this floor yourself) and an `evidence` block declaring the gate machine-readably (gate_applies_to: stats.run_count, threshold 5 runs, benchmark value, aggregatio…

ParameterTypeDescription
asset *stringCrypto pair / symbol (e.g. BTCUSDT, ETHUSDT). Case-insensitive.
strategy *stringStrategy key (e.g. rsi_sma, golden_cross). See arena_list_strategies for valid keys.
asset_typestringOptional asset class filter to disambiguate (e.g. when same pair-name exists in two classes).
intervalstringDefault '1w'. Candle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. Measured o…
ref_strategystringBenchmark reference. Default 'bh' (Buy & Hold).

arena_get_strategy_filter_effect Get Strategy Filter Effect Snapshot (per Asset)

What would each entry filter have changed for this strategy? Per-(strategy, asset, interval) filter-effect analysis. Returns baseline-stats (no filters) + each observed filter-variant's stats with cagr_delta / drawdown_delta / win_rate_delta vs the time-overlap-matched baseline + best_by_cagr pick (null with best_by_cagr_reason when every variant is low_data or none beats the baseline — no pick below the data gate) + not_applicable_filters list (e.g. altcoin_season excluded on BTC-pair). Baseline and each variant carry their aggregation `window` (from/to + avg_run_years) — CAGR is time-nor…

ParameterTypeDescription
asset *stringPair / symbol (e.g. BTCUSDT). Case-insensitive.
strategy *stringStrategy key (see arena_list_strategies).
intervalstringDefault '1w'. Candle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. Measured o…

arena_get_strategy_performance_by_regime Get Regime-Aware Strategy Performance

In which macro regime has this strategy worked? Historical backtest performance for ONE (strategy, asset, interval) combination SPLIT BY macro market regime (sweet_spot / late_cycle_warning / crisis / recovery — classified at each trade's entry date), PLUS the CURRENT live regime so you can align the buckets yourself. You get the per-regime numbers to weigh directly (per-bucket verdicts live in the per-cell tools, where the pool is stable). Each regime bucket returns trades, trades_per_config, win_rate, avg_pnl_pct, reward_risk_ratio, share_of_time_pct (calendar-day-weighted — each regime…

ParameterTypeDescription
asset *stringCrypto pair / symbol (e.g. BTCUSDT, ETHUSDT). Case-insensitive.
strategy *stringStrategy key (e.g. rsi_sma, golden_cross). See arena_list_strategies.
asset_typestringOptional asset class filter to disambiguate identical pair-names.
intervalstringDefault '1w'. Candle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. Measured o…

arena_get_edge_reports Get Edge Library — Filter Effect Reports

Which entry filter carries a real edge? Platform-wide aggregated analysis: how each Pro+ entry filter (200 WMA, ATR low/high/expansion, Altcoin Season, Bullmarket confirm/strict) affects strategy CAGR — baseline vs. filtered, asset-equal-weighted (per-asset medians over param-deduplicated runs, then the median across assets — no single asset's run grid can dominate an arm). delta_cagr is the median of PER-ASSET deltas over MATCHED assets only (present in both arms) — so it usually differs from filtered_cagr − baseline_cagr; pairs_matched/pairs_filtered and the baseline pairs count decl…

ParameterTypeDescription
market *stringMarket to analyze (crypto or tokenized).
limitintegerStrategies per page (1–100). Omit for all.
offsetintegerStrategies to skip (paging).
strategystringRestrict to a single strategy key (e.g. golden_cross). Omit for all strategies.
verdictstringFilter by verdict. Default 'all'. Note 'insufficient_evidence' is NOT the same as 'insufficient_data': the former has enough runs but they disagree (the effect's 90% interval straddles the ±1pp line)…

arena_list_backtests List Your Backtests

Which backtests have I run? Lists the backtest runs belonging to the authenticated user — newest first, with id, strategy, pair, interval, date range and headline metrics per run. Use it to find a run_id, then call arena_get_backtest for its detail or arena_get_backtest_trades for the individual trades. Only your OWN runs; for the public cross-user leaderboard use arena_get_winners. Paginated via limit + offset. [API Pro tier]

ParameterTypeDescription
asset_typestringFilter by asset class, e.g. 'crypto'. Omit for all.
intervalstringFilter by candle interval; omit for all. Candle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible ali…
limitintegerPage size, max 100, default 50.
offsetintegerRows to skip for paging; default 0.
pairstringFilter by pair symbol, e.g. BTCUSDT. Omit for all.
strategystringFilter by strategy key, e.g. 'rsi_sma'. Omit for all.

arena_get_backtest Get Backtest Detail

What exactly did that backtest do? Returns the full record of ONE backtest run by id: strategy, pair, interval, date range, parameters, filters and the aggregate metrics (CAGR, total return, win-rate, max drawdown, trade count, Buy & Hold comparison, net-of-fees figures). Only your own runs. Get ids from arena_list_backtests; for the individual trades add arena_get_backtest_trades; to create a new run use arena_run_backtest. [API Pro tier]

ParameterTypeDescription
id *stringUUID of the backtest run.

validate_strategy Validate a strategy/signal (honest backtest)

Does this strategy survive an honest test? Backtest a trading strategy honestly — look-ahead-aware validation; signal_list/trade_list also get the probabilistic Sharpe ratio (psr, Bailey & López de Prado) — no correction for the number of variants a caller has tried. Returns an EVIDENCE verdict (insufficient_evidence | anecdote | failed_oos | passed_oos) plus metrics, flags and caveats — NOT a buy/sell recommendation. Call this before acting on a strategy or signal list. Accepts a named catalog strategy (type=rules), a timestamped BUY/SELL signal list (signal_list), or a timestamped tra…

ParameterTypeDescription
market *objectWhich market the claim is about — prices are re-fetched from here, not taken from you.
strategy *objectThe claim being validated — supply exactly one of: a catalog strategy (type=rules), your signals (type=signal_list) or your finished trades (type=trade_list).
window *objectPeriod over which the claim is checked.
costsobjectTrading costs. Default 10 bps (crypto) / 5 bps (else) — a gross-only claim usually shrinks once these apply.
oosobjectHow the claim is tested out-of-sample. Omit for the default split — the out-of-sample part is what separates a finding from a fit.

arena_run_backtest Run a New Backtest

How would this strategy have performed? Run ONE strategy on ONE pair over a date range and get the full result: CAGR, total return, max drawdown, win-rate, trade count, Buy & Hold comparison, net-of-fees figures, and a run_id for later retrieval. Synchronous, typically 3–10s. Use this when the user wants a concrete result for a specific setup. For several strategies side by side use arena_compare_strategies; for many pairs at once use arena_run_universe_backtest; to judge whether an EXISTING result is trustworthy rather than produce a new one, use validate_strategy or arena_get_robustness_fi…

ParameterTypeDescription
asset_type *stringAsset class. Use 'crypto' unless you are explicitly backtesting a tokenized real-world asset. Note: tokenized stocks/ETFs/gold trade AS crypto pairs (e.g. spybUSDT, qqqbUSDT) — there is no separate…
date_from *stringStart date, YYYY-MM-DD. Earlier than the pair listing is clamped to the first available candle.
interval *stringCandle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. Measured on our own corp…
pair *stringCrypto pair symbol, e.g. BTCUSDT, ETHUSDT, SOLUSDT.
strategy *stringStrategy key — use arena_list_strategies to find valid keys.
capitalnumberStarting capital in quote currency. Default 10000. Affects absolute figures only, not CAGR or win-rate.
date_tostringEnd date, YYYY-MM-DD. Default: today.
filtersobjectOptional entry filters (Pro+). Each one only ever REMOVES entries — filters never create trades. Omit for the unfiltered baseline.
paramsobjectStrategy-specific parameters, e.g. { rsi_period: 14 }. Omit to use the audited defaults — changing them without a reason is how overfitting starts.

arena_compare_strategies Compare 2-5 Strategies

Which of these strategies performed best on the same data? Run 2–5 strategies against the SAME pair, interval and date range and return per-strategy metrics plus a comparison summary (best by CAGR, best by win-rate, worst by drawdown). Use this when the user asks which of several strategies fits a market — it holds the pair, interval and requested date range fixed, which a series of separate arena_run_backtest calls does not guarantee. What it does NOT equalize is the EVALUATION window: a strategy with a long warmup starts trading later, so compare actual_date_from across the runs and chec…

ParameterTypeDescription
asset_type *stringAsset class. Use 'crypto' unless you are explicitly backtesting a tokenized real-world asset. Note: tokenized stocks/ETFs/gold trade AS crypto pairs (e.g. spybUSDT, qqqbUSDT) — there is no separate…
date_from *stringStart date, YYYY-MM-DD. Earlier than the pair listing is clamped to the first available candle.
interval *stringCandle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. Measured on our own corp…
pair *stringCrypto pair symbol, e.g. BTCUSDT — the same pair for every strategy.
strategies *arrayThe 2–5 strategies to compare, each with optional own params.
capitalnumberStarting capital in quote currency. Default 10000. Affects absolute figures only, not CAGR or win-rate.
date_tostringEnd date, YYYY-MM-DD. Default: today.
filtersobjectOptional entry filters (Pro+). Each one only ever REMOVES entries — filters never create trades. Omit for the unfiltered baseline.

arena_run_universe_backtest Run Backtest on a Pair Universe (async)

Does this strategy hold up across a whole universe? Runs it against every pair in the universe. Pair cap depends on your API tier: Pro 50, Power 250. A job has a 300-second budget at roughly 1.5 s per pair (estimated_seconds in the create-response), so about 150 pairs finish reliably — a longer list can end as failed (worker_timeout) and still uses one of the daily universe runs; split it into two jobs. Keep ONE pair set per comparison: merging results across different pair sets measures pair selection, not strategy quality. THIS CALL IS ASYNCHRONOUS AND RETURNS NOTHING BUT A job_id: the res…

ParameterTypeDescription
date_from *stringStart date, YYYY-MM-DD. Earlier than the pair listing is clamped to the first available candle.
interval *stringCandle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. Measured on our own corp…
strategy *stringStrategy key — call arena_list_strategies.
capitalnumberStarting capital in quote currency. Default 10000. Affects absolute figures only, not CAGR or win-rate.
date_tostringEnd date, YYYY-MM-DD. Default: today.
filtersobjectOptional entry filters (Pro+). Each one only ever REMOVES entries — filters never create trades. Omit for the unfiltered baseline.
pairsarrayExplicit pair list. Hard schema limit 250; the effective cap is your tier (Pro 50, Power 250). Use instead of universe_id.
paramsobjectStrategy-specific parameters applied to EVERY pair in the universe. Omit for audited defaults.
universe_idstringPre-curated universe — call arena_list_universes for valid IDs. Capped by tier (Pro 50, Power 250); a larger universe is rejected rather than silently truncated.

arena_get_job_status Get Async Job Status

Is my universe backtest finished? Polls an async job by job_id (created via arena_run_universe_backtest). Returns status (pending/running/completed/failed), progress_pct, pairs_completed, and once completed: the full result (summary + per-pair results). [Free tier]

ParameterTypeDescription
job_id *stringUUID job_id returned by arena_run_universe_backtest.

arena_run_grid_backtest Run a Grid-Trading Backtest

Would a grid bot have made money here? Simulate a GRID BOT (buy-low / sell-high ladder inside a fixed price range) on historical candles. Returns final value, return %, CAGR, trade count, fees paid and a Buy & Hold comparison — plus `zerlegung` (spot runs): `decomposition` splits the result into ladder P&L from completed buy→sell cycles, allocation P&L of the starting coins, open grid buys and fees (identity_check_usd must be ~0); `benchmarks` anchors buy-and-hold, the never-touched starting split (static_allocation, with coin_share_start) and an arithmetic 50/50 at the entry price — gri…

ParameterTypeDescription
end_date *stringSimulation end, YYYY-MM-DD.
fee_rate *numberPer-trade fee fraction, e.g. 0.001 for 0.1% (Binance spot taker).
grid_count *integerNumber of grid levels between low_price and high_price (2–200). More levels = more, smaller trades = more fees.
grid_type *stringLevel spacing: 'arithmetic' = equal price steps, 'geometric' = equal percentage steps (usually the better fit for crypto).
high_price *numberUpper bound of the grid range, in quote currency. Above it the bot is fully in cash and stops selling. Must exceed low_price.
low_price *numberLower bound of the grid range, in quote currency. Below it the bot is fully invested and stops buying.
pair *stringCrypto pair symbol, e.g. BTCUSDT. Free tier: BTCUSDT or ETHUSDT only.
start_date *stringSimulation start, YYYY-MM-DD.
total_investment *numberCapital in USDT spread across the grid; min 100.
entry_pricenumberOptional price at which the bot starts; default is the OPEN of the first candle (must lie inside low_price..high_price).
funding_modestringOnly with leverage > 1. 'conservative' (default): flat 0.05%/day on the open position. 'historical': recorded daily average of three exchanges, BTCUSDT from 2019-09-08 only — otherwise falls back to…
grid_modestring'neutral' (default): buys coins for every level above the entry at the start (the coin share follows the entry's position in the range — measured 2–83 %, NOT a fixed 50/50; see benchmarks.static_a…
leverageOptional, default 1 (spot grid, unchanged). 2/3/5 = isolated-margin long grid (grid_mode must be long; Pro). Adds liquidated, liquidation_time/price, funding_cost_usd and max_notional_exposure to the…
start_rulestringOnly with leverage > 1. 'initial_position' (default, exchange rule of a futures long grid): at the start the bot buys one grid amount for every level above the entry at the entry price, so it holds a…
stop_loss_pricenumberOptional: liquidate the whole grid and stop once price falls to this level.
stop_on_range_exitbooleanOptional (default false): stop once a candle CLOSES outside low_price..high_price — sell all coins at that close, stop_reason range_exit_high/low. Default: the grid pauses outside the range and resu…
take_profit_pricenumberOptional: liquidate the whole grid and stop once price rises to this level.

arena_get_gem_scores Get Altcoin Screener Rankings

Altcoin screener ranking — which altcoins look strong right now? Today's CoinGecko Top-200 minus stablecoins and tokenized fiat, scored by a composite of 3 factor groups: Mean-Reversion (A), Tokenomics (B), Market-Structure (C). Each score carries `plain` (one sentence: rank with its base `scored_total`, composite, factor groups) and the response carries `scored_total`. `validation`: top-10 basket vs. holding BTC (net, 14 phases); read it before calling a rank strong. Limit gated by tier: Free top-10, Pro top-50, Power up to 200 (the full scored set). [Free tier, daily refresh]

ParameterTypeDescription
from_rankintegerStart from this rank (default 1)
limitintegerNumber of coins to return (tier-capped)

arena_get_volatility_history Get BTC Volatility History (RV + ATR%)

How volatile has Bitcoin been? Daily Bitcoin volatility time series: realized volatility (30d & 90d, √365-annualized — calendar days, the same basis as DVOL — close-to-close) and ATR% (Wilder EMA-14, captures intraday range + gaps), on the same scale. Ranks come in two flavours answering different questions: `rvRank`/`atrPctAnnRank` expand from the start of history and are look-ahead-free, but they include BTC's structural volatility decline; `rvRankRolling`/`atrPctAnnRankRolling` rank against a trailing 2-year window, which removes that trend from the comparison. History reaches back to…

ParameterTypeDescription
daysintegerNumber of most recent days to return. Free tier capped at 365; API Pro unlimited. Ignored when from/to are given.
fieldsstringDefault full. 'minimal' returns date, close, rv, rvRank, rvRankRolling, atrPctAnnRank, atrPctAnnRankRolling only — measured saving 18–20 % of characters (full-history series, 2026-07-31; the `size…
formatstringDefault 'rows' (series[] of objects). 'columns' returns series_columns instead — one array per field (date, close, rv, …) with each field name written once; the largest single saving for long rang…
fromstringISO date (YYYY-MM-DD), inclusive. Start of the window. Free tier still only sees the last 365 days.
granularitystringDefault daily. weekly/monthly keep the LAST observation of each period (a state, not an average).
metastringDefault full. 'minimal' drops params/params_hash/warmup, which are only useful on the first call.
schema_versionstringDefault '2026-07' (unchanged output). '2026-08' rounds floats to 2 decimals (ranks 1) and reports the saving. Default flips 2026-12-15.
tostringISO date (YYYY-MM-DD), inclusive. End of the window. Defaults to the latest bar.

arena_list_knowledge List Knowledge Objects (catalog)

What knowledge objects exist here? Lists all published types (subject count, min_tier, latest as_of, first subjects); `type` lists every subject of one type with api_path. Use this BEFORE arena_get_knowledge to learn valid type/subject pairs instead of guessing. New types appear automatically. [Free tier]

ParameterTypeDescription
typestringOne type, e.g. "market_phase". Omit for all types.

arena_get_knowledge Get Knowledge Object

What does the platform know about this subject? Fetch a versioned, explainable Knowledge Object by type + subject (e.g. type='market_regime', subject='GLOBAL'). Returns the current published envelope: payload, explanation (factors + weights + confidence), provenance (inputs + params), ontology binding, compute version. ONE tool covers ALL knowledge types. Set include_graph=true to also walk the knowledge graph: resolved outbound edges (what this object is derived_from / references) + inbound edges (what derives from / references it), each with api_path + seo_slug so you can follow them. [Free…

ParameterTypeDescription
subject *stringSubject ref, e.g. 'GLOBAL', 'BTC'.
type *stringKnowledge object type, e.g. 'market_regime'.
as_ofstringSpecific date YYYY-MM-DD. Omit for latest.
include_graphbooleanIf true, attach the resolved edge neighbourhood (outbound + inbound) for graph traversal.

arena_dip_decision Dip Decision — buy now or wait?

Buy now or wait for the dip? Decision-math over the user's OWN assumptions (target/dip prices, probabilities, capital). Two modes: "compare" = expected value of Buy-Now vs Wait vs Split + the breakeven dip probability (prices as MULTIPLES of today); "allocate" = the risk-adjusted (Kelly / risk-aversion γ) optimal fraction to deploy now vs reserve for the dip (ABSOLUTE prices). Ask the user for the missing inputs, then call. Returns scenario numbers and which option wins on expected value — NOT a buy/sell recommendation. For the full interactive version (incl. leverage & Elliott-wave plannin…

ParameterTypeDescription
allocateobjectRequired when mode='allocate'.
compareobjectRequired when mode='compare'.
modestring'compare' (default): EV of buy-now vs wait vs split + breakeven dip probability. 'allocate': risk-adjusted optimal deploy-now fraction under γ.

arena_get_historical_analog Historical analog — conditional forward returns

What happened historically after the Bitcoin cycle looked like this? Conditional forward-return distribution for a named preset cycle state — over N DISTINCT historical episodes matching that state (matched_episodes), returns median/IQR/positive-share forward returns (30/90/180/365d) with per-horizon n, small-n warnings, point-in-time integrity and an `evidence` block for the sample-size gate. A distribution with its sample size. Not obtainable from web search or public market-data APIs — requires point-in-time indicator history and look-ahead-free episode matching. Presets: cycle_bottom_c…

ParameterTypeDescription
preset *stringNamed ex-ante cycle-state condition set. One of: cycle_bottom_cluster, cycle_top_cluster, deep_fear, euphoria, quiet_volatility.
assetstringWhich asset’s cycle history. Default BTC. ETH/SOL support only price-derived presets (cycle_bottom_cluster, cycle_top_cluster).
condition_on_directionstringquiet_volatility only. Condition episodes on the direction of the FIRST post-anchor move (sign of the direction_window_days-day return). Horizons <= direction_window_days are suppressed as circular. S…
direction_window_daysintegerClassification window for condition_on_direction (default 5). Only meaningful together with condition_on_direction.
forward_horizonsarrayForward-return horizons in days (max 20). Default [30, 90, 180, 365] — except for quiet_volatility, which defaults to the horizons its study actually tested ([30, 90, 180]); anything beyond that is…
include_pathbooleanDefault false. true adds path_statistics per horizon (MAE/MFE, days under water, longest under-water streak, days to first recovery) over the same episodes as forward_returns. BTC and predicate preset…
vol_rank_thresholdquiet_volatility only. Reference threshold as a FIXED step: 50 (default, below trailing median — the studied definition) or 5/10/20 (unusually quiet: RV30 below its trailing Nth percentile). Any val…

arena_get_robustness_field Robustness Field — plateau vs. spike + Deflated Sharpe with a counted N

Is this backtest result real, or a lucky cell? Assess one backtest result against its neighborhood instead of trusting a single "+X% CAGR" cell. Given a (strategy, interval, pair) and YOUR result (user_cagr, optional user_sharpe), returns: the cross-asset distribution of the SAME strategy+interval across every pair the backtest factory ran it on (median, IQR, positive-share, your percentile), a plateau/spike/fragile/mixed verdict, and — where Sharpe coverage allows — a Deflated Sharpe threshold whose N is COUNTED (the number of neighbor assets IS the testing family), not guessed. Honest sm…

ParameterTypeDescription
interval *stringCandle interval, e.g. '1d', '1w', '1M'.
pair *stringTrading pair of your cell, e.g. 'BTCUSDT'.
strategy *stringStrategy key, e.g. 'rsi_sma'.
user_cagr *numberYour result: CAGR in percent (e.g. 41 for +41%) — the cell being assessed.
asset_typestringAsset class filter (default 'crypto').
axisstringNeighborhood axis. 'cross_asset' (default, dense, carries the verdict + DSR-N) or 'parameter' (secondary, always anecdotal — the parameter settings tested on this one pair).
paramsobjectOptional: numeric strategy parameters of your cell. Only numeric params define the neighborhood; matched per pair where the factory ran them.
user_sharpenumberOptional: your annualized Sharpe (result_sharpe scale). Used for the counted-N Deflated Sharpe where neighbor coverage allows.

arena_is_distinguishable Is this difference real — or smaller than the measurement noise?

Do these two backtest figures actually differ? Check before ranking them. Pass the two values as `a` and `b` (same metric, same basis) plus `axes` — which arbitrary choices went into them — and the tool returns whether their gap clears the MEASURED noise floor of those choices, along with the floor itself, the dominant axis, and the probe + date it was measured on. `axes` accepts: grid_phase (how a multi-day candle grid is aligned to the Unix epoch; exists only on 2d/3d), parameter_choice (neighbouring parameter settings — by far the largest axis), window_edges (shifting the start date),…

ParameterTypeDescription
a *numberFirst value in percent of the chosen metric (e.g. 33.1 for +33.1% CAGR).
axes *arrayWhich arbitrary choices differ between a and b. Pass every one that genuinely varied — omitting an axis makes the answer look more certain than it is.
b *numberSecond value, same metric, same unit and same basis as a.
intervalstringCandle interval, if known (e.g. '1d', '2d', '3d', '1w'). Sharpens the floor where an axis was measured per interval. Passing grid_phase with a non-multi-day interval is an error, not a rounding detail…
label_astringOptional name for a, echoed in the explanation.
label_bstringOptional name for b, echoed in the explanation.
metricstringWhich figure a and b are: cagr (default), max_drawdown or coin_vs_hold. Floors differ by metric.

arena_get_indicator_snapshot Get Indicator Snapshot with Historical Percentile Ranks

What do the classic indicators read right now? Current RSI(14), MACD(12/26/9), Bollinger(20,2), ATR(14) and OBV for a pair — each with a PERCENTILE RANK against that indicator's own history on that pair, plus the observation count. ATR and OBV are normalised (the payload names each unit; raw cumulative OBV would mostly rank how long the series has existed). Set `interval` to '1w' for the weekly view; the 1d view also carries `rsi_14_weekly` and `rsi_14_4w`, each with a source_note. Where a study on this platform has tested the current state, the payload carries its verdict. Related: arena_ge…

ParameterTypeDescription
intervalstringDefault '1d'. '1w' computes every indicator on weekly bars.
pairstringPair, e.g. "BTCUSDT" (default), "ETHUSDT", "PAXGUSDT".

arena_get_signal_context Signal Context — filters vs. today, in one call

Should I take this entry? Answers it for one (strategy, pair, interval) in ONE call instead of seven. Aligns what each entry filter historically did to this strategy (arena_get_strategy_filter_effect) with where that filter stands TODAY (bull-market gauge, altcoin-season signal, volatility phase, 200-week trend for BTC): `filters[].blocks_this_entry` says which filter would sit this entry out, with the measured worst-loss / return deltas next to it. Adds the current signal state (anticipated is always false — before candle close there is no signal), an `edge_vs_benchmark` block gated by the…

ParameterTypeDescription
pair *stringPair, e.g. 'BTCUSDT'. Case-insensitive.
strategy *stringStrategy key, e.g. 'rsi_sma'. See arena_list_strategies.
detailstring'headline' (default): statement + key numbers + decisive filters. 'full': every measured variant plus the raw source blocks.
intervalstringDefault '1w'. Candle interval: '1d' daily, '2d'/'3d' multi-day, '1w' weekly, '1M' monthly. Multi-day candles (2d/3d) are anchored to the Unix epoch, so one of n possible alignments is used. Measured o…

arena_get_asset_snapshot Asset Snapshot — one coin, one call

Where does this coin stand? ONE call per Binance USDT pair instead of six: last daily close, 7/30/90/365-day returns, relative strength vs BTC and vs ETH with the measured base rate, the F6 trend state vs BTC, ATH/drawdown, SMA200 distance, a `parabolic` state, realized 30d volatility and ATR%, liquidity (volume rank and band), tokenomics ratios from the gem screener (Pro+, CoinGecko ratios only), derivatives (BTC only so far), `price_time_displacement` and a `data_quality` block with a mechanical A/B/C grade — each block carries its own note or definition in the payload. Every source can fa…

ParameterTypeDescription
pair *stringBinance USDT pair, e.g. 'SOLUSDT'. Case-insensitive.
detailstring'standard' (default). 'full' adds the raw BTC/ETH benchmark returns used for the relative numbers.

arena_batch Batch — several snapshots in one call

Several market snapshots in ONE call instead of one roundtrip per read. Batchable reads (14): spot_price, pulse, cycle, fear_greed, funding_rate, macro_regime, iv_snapshot, etf_flows, stablecoin_supply, mayer_multiple, onchain_latest, max_pain, altcoin_season, bullmarket_ampel. Pass 1-6 queries; each returns its result OR a structured error (partial success — one failing query does not abort the rest). Each query consumes one rate-limit unit: the batch saves roundtrips, not quota. Payloads, tier gates and source attribution are identical to the single tools; per-query args match the single t…

ParameterTypeDescription
queries *array1-6 queries, executed in order.

arena_call_extended Call an extended tool

Gateway to the EXTENDED tools of this server, one line each. Use it when no listed tool fits: per-metric daily history series, subscriptions, chart images, niche primitives. mode="call" runs the tool with `arguments` (same result, auth, tier and rate limits as calling it directly); mode="describe" returns its full description and parameters first, if the arguments are unclear. - arena_cancel_subscription: Stop this alert? - arena_check_subscription_updates: Has anything I subscribed to fired? - arena_cross_series: Did two market series move together, and what did BTC do next when they agreed o…

ParameterTypeDescription
tool *stringName of the extended tool to run
argumentsobjectArguments for the tool, exactly as the tool itself takes them (mode="call")
modestring"call" runs the tool; "describe" returns its description and input schema