function-toolkit

Trade Analyst

Deterministic trading-analysis toolkit — technical, volume, orderbook, ratio and sentiment operations behind x402 micropayments, with a machine-readable trade-analyst persona.

tradingtechnical-analysisanalyticssentiment

Base URL · About · OpenAPI · llms.txt · Tools · Manifest

What is Trade Analyst?

A neutral, deterministic trading-analysis backend usable by any agentic AI. It exposes granular tool operations (data fetchers and compute engines for technical indicators, volume, order book, fundamental ratios and price/volume sentiment) for use inside an agent's own reasoning loop, plus a single-call /ta/ask orchestration endpoint that returns a trade-ready brief. Every computed value comes from the deterministic analytics engine; the persona's hard rule is that no LLM arithmetic ever substitutes for it.

Pay per call in USDC, EURC across Base, Arbitrum, Polygon and Avalanche via the x402 micropayment protocol — no subscriptions, no API keys, no wallets to configure for the caller.

Every agentic AI can GET /persona and adopt the machine-readable persona/SOUL as a temporary role.

Operations

Show all operations

data

MethodEndpointDescriptionTier
POST/ta/chartFetch OHLCV history (timestamps/OHLCV + meta) for a symbol from Yahoo Finance.basic
POST/ta/quoteFetch fundamentals snapshot (price, EPS, mcap, debt) for ratio context.basic
POST/ta/fxFetch FX rates (US 24h) from open.er-api (stamped midnight UTC).basic
POST/ta/crypto_resolveResolve a crypto symbol to its CoinGecko id.basic
POST/ta/crypto_chartFetch CoinGecko OHLCV (normalized to the same shape as chart) for a coin.basic
POST/ta/crypto_quoteFetch a live CoinGecko price + 24h change.basic

compute

MethodEndpointDescriptionTier
POST/ta/indicatorCompute a deterministic technical indicator from an OHLCV envelope (sma/ema/rsi/macd/bollinger/atr/adx/supertrend…).basic
POST/ta/volumeCompute a deterministic volume indicator from an OHLCV envelope (obv/vwap/mfi/ad/volume_ma/cmf).basic
POST/ta/orderbookCompute order-book metrics from a level-2 snapshot (spread/mid/depth_imbalance/weighted_mid).basic
POST/ta/ratioCompute a fundamental ratio (pe/eps/ps/pb/ev_ebitda/peg/margins/roe/de).basic
POST/ta/signalDeterministic technical signal / sentiment from an OHLCV envelope (trend/rsi/macd/breakout/volatility/volume/adx/stoch/sentiment/snapshot).basic
POST/ta/backtestDeterministic strategy backtest over a caller-supplied OHLCV envelope with a declarative strategy spec and optional cost model. No lookahead: signal on close(t) executes at open(t+1); whole-share accounting; metrics from a daily mark-to-market equity curve.basic
POST/ta/options_briefDeterministic option-chain analytics from a caller-supplied chain + spot: ATM straddle expected move, optional VIX-1SD cross-check, IV/delta ladder, 16-delta strangle, and a sample iron-condor credit/max-loss/risk-reward.basic

validate

MethodEndpointDescriptionTier
POST/ta/verifyCross-verify two independent values (price pct tolerance or value abs tolerance).basic

assembly

MethodEndpointDescriptionTier
POST/ta/snapshotOne structured packet for a fast trade read: quote + OHLCV + full technical signal(snapshot) + sentiment.basic
POST/ta/askOne-call trade-ready analysis. DeepSeek orchestrates the deterministic operations and returns a structured brief (snapshot, signals, levels, entry/target/stop, risk, bottom line).exclusive

helper

MethodEndpointDescriptionTier
POST/ta/sourcesList the service's data sources and their reliability ratings.basic
POST/ta/knowledgeRetrieve the service's methodology corpus (determinism contract, verification, sources, output format).basic

Workflows

  • trade-read — fast trade-ready technical view: chart -> snapshot -> verify — lead with technicals/sentiment; establish entry/reference, target, stop
  • technical-deep-dive — full indicator stack on a name: chart -> indicator -> volume -> signal — batch RSI/MACD/Bollinger + OBV; cross-verify price vs chart close
  • crypto-scan — crypto technical + price read: crypto_resolve -> crypto_chart -> crypto_quote -> signal — normalize to same envelope shape as equities
  • fundamental-context — attach valuation to a technical view: quote -> ratio -> verify — use for context only — technicals lead
  • liquidity-read — order-book / depth view: orderbook -> verify — spread, depth imbalance, weighted mid over N levels
  • strategy-backtest — validate a trading strategy: chart -> backtest — fetch OHLCV, define the declarative strategy spec, run backtest, review metrics/trades
  • options-brief — 0DTE / expiry option-chain analytics: options_brief — caller supplies the chain; op returns expected move, strangle, iron condor

Data sources

  • Yahoo Finance v8 chart — keyless; set a desktop User-Agent
  • Yahoo quoteSummary — needs cookie+crumb flow
  • open.er-api FX — midnight UTC rates; ~24h staleness
  • CoinGecko v3 — keyless; ~10-30 calls/min burst

Examples

trade-read

trade-ready technical read on a name

{
  "question": "Give me a trade-ready technical view on TSLA with entry, target, stop",
  "symbol": "TSLA"
}

chart

price history for indicator work

{
  "symbol": "TSLA",
  "range_": "6mo"
}

signal

composite sentiment

{
  "name": "sentiment",
  "ohlc": {
    "closes": [
      1,
      2,
      3,
      4
    ]
  }
}