GET/api/research/cost-fieldnew
One entry per counted 24h outcome with a valid stop: gross R from its OHLCV-resolved outcome, the stored modeled round-trip cost in R, and asset class. Net modeled R is grossR[i] minus costR[i]. costR uses fee/slippage assumptions, not broker fills. The response reports its source-read limit and potential window truncation.
- scope = pro | broadcast
- eligible engine stream (default) or gate-approved rows recorded since 2026-06-10
- period
- optional window filter, same grammar as the history route
- include = provenance
- include per-row outcome, risk, modeled-cost source, and broadcast-decision fields
Response shape
{ classes: ["crypto","metals","fx_or_fallback"], count, resolvedTotal, ids[], t[], grossR[], costR[], cls[], methodology, window, provenance?[] }
curl https://tradeclaw.win/api/research/cost-field
GET/api/signals/equity
Hypothetical sequential equity simulation plus a summary block. It orders eligible sized signals by timestamp, risks 1% of current equity on every signal, caps extreme R outcomes, and deducts modeled per-asset fee/slippage assumptions. It does not model broker fills, overlapping exposure, margin, leverage, latency, funding, or subscriber selection; it is not an actual portfolio return.
- summaryOnly = 1 | true
- drop the point array, return summary and rolling win rates only
- scope = pro | broadcast
- eligible engine stream (default) or gate-approved rows recorded since 2026-06-10
- band = premium | standard | all
- filter by confidence band
- category
- asset-category filter (e.g. crypto, fx)
- period
- optional window filter
- smooth = median2x | median3x
- opt-in R-cap on the curve; off by default
Response shape
{ points[], summary: { totalReturn, maxDrawdown, winRate, sizedTrades, expectancyR, netExpectancyR, avgCostR, roundTripCostPct, breakEvenWinRate, sharpeRatio, hardRCap, ... }, rollingWinRates: { "7d","30d","90d" }, band, scope, category, smooth }
curl 'https://tradeclaw.win/api/signals/equity?summaryOnly=1&scope=pro'
GET/api/signals/history
Recorded signal history, paginated, with OHLCV-resolved outcome fields and the same counted-row definition used by the other signal-study surfaces. Add format=csv to stream the currently stored rows matching the filters. This is a signal ledger, not an order or broker-fill ledger.
- format = json | csv
- JSON page (default) or a downloadable CSV of currently stored rows matching the filters
- pair
- single symbol, e.g. BTCUSD
- direction = BUY | SELL
- filter by trade side
- outcome = win | loss | pending
- filter by resolved outcome
- limit = max 200
- page size, default 50
- offset
- pagination offset
- scope / category / period / sort
- record scope, asset category, time window, ordering (sort=resolved-first)
Response shape
{ records[], total, offset, limit, scope, category, earliestTimestamp, latestTimestamp, stats: { totalSignals, resolved, wins, losses, winRate, avgConfidence, streak, bestSignal, ... } }
curl 'https://tradeclaw.win/api/signals/history?limit=50&outcome=win'
CSV export (16 columns, opens in any spreadsheet)
curl 'https://tradeclaw.win/api/signals/history?format=csv' -o tradeclaw-history.csv
GET/api/calibration
The reliability data behind the /calibration page. Signals are bucketed into five confidence bands and each band reports its observed OHLCV-resolved win rate. Includes Brier score and expected calibration error over the counted resolved population. Cached 5 minutes (revalidate 300).
- (none)
- no query params; measures counted resolved rows in the current archive
Response shape
{ buckets: [5 confidence bands], overallAccuracy, totalSignals, brier, ece, calibration, windowStart, windowEnd, insufficientData, minStableSignals, updatedAt }
curl https://tradeclaw.win/api/calibration
Rendered on /calibration.
GET/feed.json
The 50 most recent signals as a subscribable feed. Also served as RSS 2.0 at /feed.xml and Atom 1.0 at /atom.xml for any reader.
- (none)
- point a JSON Feed, RSS, or Atom reader at the URL
Response shape
JSON Feed 1.1: { version, title, feed_url, items: [ { id, url, title, content_html, summary, date_published, tags } ] }
curl https://tradeclaw.win/feed.json