# Stock Bloc – Portfolio Performance Evaluator

> Stock Bloc – Portfolio Performance Evaluator is a paid API for AI agents from stockbloc.ai.studio, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-12).

Submits a portfolio's historical performance data and returns quantitative metrics including Sharpe ratio, alpha, max drawdown, annualized return, and benchmark comparison.

## Facts

- Endpoint: POST https://stockbloc.ai.studio/api/v1/agent/submit-performance?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stock-bloc-portfolio-performance-evaluator-1206772e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iiOdKH_QT9cSsQuXaeb7J

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stock-bloc-portfolio-performance-evaluator-1206772e -d '<json body>'
```

Example prompt: Can you evaluate my trading strategy's performance — it returned 42.8% annualized and I want to see the Sharpe ratio, alpha versus the benchmark, and what the max drawdown looked like?

## When to prefer this

Choose this endpoint when you need quantitative, institutional-grade performance metrics (Sharpe ratio, alpha, drawdown) for a portfolio or trading strategy, especially within an AI agent workflow that supports x402 USDC micropayments. Prefer this over generic analytics if you need benchmark-relative evaluation with a single API call priced at $0.10 USDC.

## Known failure modes

- Missing or malformed performance input data returns an error status
- Insufficient historical data window may produce unreliable metric calculations
- Payment failure via x402/USDC on Base will block the request
- Invalid portfolio data format may result in null metric values
- Network timeout or service unavailability returns no response

## How this service works

Financial research API for AI agents: Stock Bloc SEC Analyst (10-K/10-Q/8-K filing analysis), market data, MCP tools, and x402 USDC payments on Base.

## Output

Returns a JSON object with: status (success/fail), evaluatedAt timestamp, Sharpe ratio (e.g. 2.65), alpha (e.g. 0.116), max drawdown (e.g. -0.092), annualized return (e.g. 0.428), and benchmark return (e.g. 0.312). These metrics allow agents to objectively assess risk-adjusted performance relative to a benchmark.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "alpha": 0.116,
  "status": "success",
  "evaluatedAt": "2026-09-29T00:00:00.000Z",
  "maxDrawdown": -0.092,
  "sharpeRatio": 2.65,
  "benchmarkReturn": 0.312,
  "annualizedReturn": 0.428
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stock-bloc-portfolio-performance-evaluator-1206772e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stockbloc.ai.studio](https://www.zero.xyz/host/stockbloc.ai.studio/llms.txt)
