# Stock Bloc Strategy Evaluator

> Stock Bloc Strategy 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).

Evaluates an investment strategy and returns quantitative performance metrics including Sharpe ratio, alpha, max drawdown, and annualized return.

## Facts

- Endpoint: POST https://stockbloc.ai.studio/api/v1/agent/strategy/evaluate?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-strategy-evaluator-783ebaa8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2GllQbeFD9SJfjsuojF-T

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-strategy-evaluator-783ebaa8 -d '<json body>'
```

Example prompt: Can you evaluate my momentum-based trading strategy and tell me the Sharpe ratio, alpha, max drawdown, and how it compares to the benchmark? I want to know if it's actually outperforming the market on a risk-adjusted basis.

## When to prefer this

Choose this endpoint when you need quantitative risk-adjusted performance metrics (Sharpe ratio, alpha, drawdown) for a specific investment strategy, particularly when integrating with an AI agent workflow that uses x402 micropayments on Base. Prefer this over generic market data endpoints when the goal is strategy evaluation rather than raw price or filing data.

## Known failure modes

- Missing required 'input' object returns a 400 validation error
- Invalid method enum (not POST/PUT/PATCH) causes request rejection
- Malformed or empty body may return no meaningful evaluation
- Payment failure via x402/USDC prevents the call from executing
- Strategy data that cannot be parsed or evaluated may return an error status

## 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/error), evaluatedAt (ISO timestamp), sharpeRatio (risk-adjusted return metric), alpha (excess return above benchmark), maxDrawdown (worst peak-to-trough loss as a negative decimal), annualizedReturn (strategy's annualized performance), and benchmarkReturn (market benchmark return for comparison).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## 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-strategy-evaluator-783ebaa8/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)
