Skip to main content
GET
/
v1
/
ghost
/
stats
curl https://api.aioka.io/v1/ghost/stats
{
  "validated_trades": 3,
  "since": "2026-04-12",
  "total_pnl": 155.77,
  "win_rate": 67.0,
  "sprint": 336,
  "tests_passing": 5320
}

Documentation Index

Fetch the complete documentation index at: https://docs.aioka.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Returns the count of validated (real, non-synthetic) Ghost Trader trades since the Sprint 164 deployment on 2026-04-12 (clean-slate track record restart). Used by the aioka.io website for public track record display. Tier: Public ✅ — No API key required Cache: None Rate limit: None

Response Fields

FieldTypeDescription
validated_tradesintegerNumber of validated trades with is_valid=true since launch
sincestringTrack record restart date ("2026-04-12")
total_pnlfloatSum of P&L (USD) across all validated closed trades. Returns 0.0 if no closed trades.
win_ratefloatPercentage of validated closed trades that were profitable (0.0–100.0). Returns 0.0 if no closed trades.
Only trades marked is_valid=true are included in all calculations. Backfilled, synthetic, or test trades are excluded. total_pnl and win_rate are computed from closed validated trades only — an open position is counted in validated_trades but not in P&L or win rate until it closes.
curl https://api.aioka.io/v1/ghost/stats
{
  "validated_trades": 3,
  "since": "2026-04-12",
  "total_pnl": 155.77,
  "win_rate": 67.0,
  "sprint": 336,
  "tests_passing": 5320
}

Response

200 - application/json

Trade count since production launch

validated_trades
integer
required
since
string
required
total_pnl
number
required
win_rate
number
required
sprint
integer
required
tests_passing
integer
required