# CoreForge Trading Data — Strategy State Signal

> CoreForge Trading Data — Strategy State Signal is a paid API for AI agents from coreforge-memory.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-02).

Returns deterministic rule-set states (and an ensemble verdict) for a given ticker symbol based on five published trading strategies computed over daily bars.

## Facts

- Endpoint: GET https://coreforge-memory.onrender.com/x402/trading/signal?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coreforge-trading-data-strategy-state-signal-1c92d9de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XYiDUNfgDnisOpBfUczDG

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 coreforge-trading-data-strategy-state-signal-1c92d9de
```

Example prompt: What's the current trading strategy state for SPY — run all five rule sets and show me the ensemble verdict?

## When to prefer this

Use this endpoint when you need a fast, deterministic, rule-based view of a symbol's trading state across multiple systematic strategies — especially when you want an ensemble verdict rather than a single indicator. Prefer this over raw price lookups when you need structured strategy classification (bullish/bearish/neutral + position sizing) without running your own technical analysis. It is not a recommendation engine but provides reproducible, auditable signal states grounded in published rule sets.

## Known failure modes

- Unsupported ticker symbol with no available bars data returns an error or empty result
- Invalid strategy name returns a validation error
- Network timeout or provider downtime on the bars data source causes a 5xx response
- Symbol outside the core 18-asset universe may return incomplete or stale bar data
- Missing required 'symbol' query parameter returns a 400 bad request

## How this service works

Deterministic strategy-state computation for one symbol: state of five published rule sets (ma_crossover, rsi_mean_reversion, momentum, leveraged_momentum, macd_crossover) plus an ensemble state, over daily bars. Computed data, not a recommendation.

## Output

A JSON object containing the ticker symbol, as-of date, last close price, number of bars used, the data source, a disclaimer, per-strategy state and position percentage for each of the five rule sets (or the single requested one), and an ensemble object with an aggregated state, confidence score, and human-readable reason.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Ticker symbol, e.g. SPY, AAPL, BTC. Universe: 16 equities/ETFs plus BTC, ETH, SOL; other symbols are attempted via the bars provider."
      },
      "strategy": {
       "type": "string",
       "description": "Optional — return only one rule set: ma_crossover | rsi_mean_reversion | momentum | leveraged_momentum | macd_crossover"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "barsUsed": {
       "type": "integer"
      },
      "ensemble": {
       "type": "object",
       "description": "Ensemble state, confidence and reason"
      },
      "lastClose": {
       "type": "number"
      },
      "dataSource": {
       "type": "string"
      },
      "disclaimer": {
       "type": "string",
       "description": "Computed data only — deterministic output of published rule sets over market data. Not financial advice, not a recommendation, not a promise of performance."
      },
      "strategies": {
       "type": "object",
       "description": "Per-strategy state + positionPct for the five rule sets (or the single requested one)"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coreforge-trading-data-strategy-state-signal-1c92d9de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coreforge-memory.onrender.com](https://www.zero.xyz/host/coreforge-memory.onrender.com/llms.txt)
