# Backtester

> Test a plain-words trading rule on historical prices and compare the trades with SPY. Not advice.

- name: io.github.morshedgit/backtester
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 76/100 flags: no-repository
- quality: 90/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.morshedgit%2Fbacktester
- tools: https://api.protogrid.dev/v1/servers/io.github.morshedgit%2Fbacktester/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "backtester": {
      "type": "http",
      "url": "https://backtester.daenadigital.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 99
- freshness: 100
- provenance: 35
- drivers: +reachable +uptime-98% +updated-21d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 90/100 (strong)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 94 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 9 of 9 tools declare readOnlyHint or destructiveHint
- warn `tools.directory_hints`: 2 of 9 tools declare all four hints; missing: list_data (destructiveHint, idempotentHint, openWorldHint); build_signal (destructiveHint, idempotentHint, openWorldHint); build_series (destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 937 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 83 (weight 15)

- warn `stability.changes`: 16 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 9, about 937 tokens to load them all
- tool set hash: a1a9e32883abe48cb71847cd78e7cbf0
- tools last changed: 2026-11-26T04:59:33.351Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.morshedgit/backtester.svg)](https://protogrid.dev/servers/io.github.morshedgit/backtester)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-26 `save_strategy` changed (inputSchema) no new version (still 2.1.0)
- 2026-11-26 `share_report` changed (inputSchema) no new version (still 2.1.0)
- 2026-11-26 `report` changed (inputSchema) no new version (still 2.1.0)
- 2026-11-26 `simulate` changed (inputSchema) no new version (still 2.1.0)
- 2026-11-26 `build_signal` changed (inputSchema) no new version (still 2.1.0)
- 2026-11-26 `build_series` changed (inputSchema) no new version (still 2.1.0)
- 2026-11-26 `get_prices` changed (inputSchema) no new version (still 2.1.0)
- 2026-11-09 `save_strategy` changed (title, description)
  - before: Publish a completed report to the public website after the user asks to save it. Use the reportId returned by report, a public slug, and client-authored page and presentation choices. Never submit or invent result numbers. Adds it to the strategy directory without rerunning the strategy. Existing slugs require expectedKey to replace a different result. setAsHome changes the home page only when explicitly requested.
  - after: PUBLIC: anyone can see the saved page. Publish a completed report to the public website after the user asks to save it. Use the reportId returned by report, a public slug, and client-authored page and presentation choices. Never submit or invent result numbers. Adds it to the strategy directory without rerunning the strategy. Existing slugs require expectedKey to replace a different result. setAsHome changes the home page only when explicitly requested.
- 2026-11-09 `list_strategies` changed (title)
- 2026-11-09 `share_report` changed (title, description)
  - before: Make a report public so it can be shared, and return its page URL. Needs only the reportId returned by report. The page text comes from the report itself. Sharing the same report again returns the same URL. The report widget calls this when the visitor presses its share icon.
  - after: PUBLIC: the report is listed in the public strategy library, and anyone can see it. Make a report public so it can be shared, and return its page URL. Needs only the reportId returned by report. The page text comes from the report itself. Sharing the same report again returns the same URL. The report widget calls this when the visitor presses its share icon.

Full history: https://api.protogrid.dev/v1/servers/io.github.morshedgit%2Fbacktester/changes

## Remotes

- https://backtester.daenadigital.com/mcp (streamable-http, auth none, reachable true, uptime30d 0.9756098)

## Packages

_none_

## Tools (9)

- `build_series`: Build named time series from a run form. Needs version, data, and series.
- `build_signal`: Build named trading signals from a run form. Needs version, data, series, and signals.
- `get_prices`: Read historical prices for a run form. Needs only version and data.
- `list_data`: List available price data, fields, dates, limits, and whether reports can be retained for publishing.
- `list_strategies`: List published website strategies, their URLs, and their current keys. Use a current key as expectedKey only when the user asks to replace that saved strategy.
- `report`: Run a backtest and show its results. Supply strategyExplanation in plain terms for the widget. In your reply, explain the rule, always show Return vs. SPY (summary.returnVsSpyPct in percentage points, or Unavailable), and give one takeaway or limit supported by the report. Choose any additional cards using stats. Use scoreSeries for a separate score panel. Use chartSeries to select named report series and set their legend labels, line or bar types, colors, and line patterns. Keep the interpretation about this historical test. To publish this exact result later, pass its reportId to save_strategy after the user asks to save it to the website.
- `save_strategy`: PUBLIC: anyone can see the saved page. Publish a completed report to the public website after the user asks to save it. Use the reportId returned by report, a public slug, and client-authored page and presentation choices. Never submit or invent result numbers. Adds it to the strategy directory without rerunning the strategy. Existing slugs require expectedKey to replace a different result. setAsHome changes the home page only when explicitly requested.
- `share_report`: PUBLIC: the report is listed in the public strategy library, and anyone can see it. Make a report public so it can be shared, and return its page URL. Needs only the reportId returned by report. The page text comes from the report itself. Sharing the same report again returns the same URL. The report widget calls this when the visitor presses its share icon.
- `simulate`: Simulate historical fills and account balances. Needs the full run form.

## Prompts and resources

### Resources (2)

- `` ui://widget/backtester-replay-1911046f.html ``
- `` ui://widget/backtester-replay.html ``

### Resource templates (1)

- `` ui://widget/backtester-replay-{version}.html ``
