# Stock Bloc – Evaluate Investment Strategy

> Stock Bloc – Evaluate Investment Strategy 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 or trading strategy and returns quantitative performance metrics including Sharpe ratio, annualized return, alpha, max drawdown, and benchmark comparison.

## Facts

- Endpoint: POST https://stockbloc.ai.studio/api/v1/agent/evaluate-strategy?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-evaluate-investment-strategy-f7a40034
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ziZwI_peaiu6nfous_cuq

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-evaluate-investment-strategy-f7a40034 -d '<json body>'
```

Example prompt: Evaluate my momentum trading strategy using Stock Bloc and give me the Sharpe ratio, annualized return, alpha, and max drawdown so I can see how it stacks up against the benchmark.

## When to prefer this

Choose this endpoint when you need quantitative performance metrics — Sharpe ratio, alpha, max drawdown, annualized return — for a defined investment or trading strategy, especially in an AI agent workflow that can handle x402 USDC micropayments on Base. Prefer this over generic financial data endpoints when strategy evaluation and benchmarking are the primary goal.

## Known failure modes

- Missing or malformed required 'input' field returns validation error
- Invalid bodyType enum value causes request rejection
- Strategy parameters not parseable by the engine may return empty or null metrics
- Payment failure via x402/USDC prevents execution
- Network timeout on complex strategy evaluation
- Unsupported HTTP method other than POST/PUT/PATCH

## 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/failure), evaluatedAt (ISO timestamp), sharpeRatio (risk-adjusted return metric), annualizedReturn (e.g. 0.428 = 42.8%), alpha (excess return over benchmark, e.g. 0.116), maxDrawdown (peak-to-trough loss, e.g. -0.092), and benchmarkReturn (e.g. 0.312 = 31.2%).

## 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-evaluate-investment-strategy-f7a40034/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)
