You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The equity curve was fetched from the backend (ResultMap.getEquityCurve)
but silently discarded by the MCP layer — invisible to clients.
- New get_equity_curve tool returns the curve of a COMPLETED job as compact
JSON with parallel arrays t[] (epoch-millis) and equity[] (account equity).
Curves longer than maxPoints (default 500, max 5000) are downsampled,
always preserving the first/last points and the global min/max so the worst
drawdown and the peak survive the reduction.
- get_job_status gains an optional includeEquityCurve flag (default false)
that appends the curve (downsampled to ~200 points) to the status summary.
- JSON is built without Jackson to avoid adding serialized types to the
native image; api-client EquityPoint deserialization is already covered by
reflect-config.
Bumps version to 0.4.0.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
7
7
## [Unreleased]
8
8
9
+
## [0.4.0] — 2026-06-16
10
+
11
+
### Added ✨
12
+
13
+
-**Equity curve access** — backtest results now expose the equity curve, which was previously fetched from the backend but silently discarded by the MCP layer.
14
+
- New **`get_equity_curve`** tool returns the curve of a COMPLETED job as compact JSON (parallel arrays `t[]` = epoch-millis timestamps, `equity[]` = account equity). Curves longer than `maxPoints` (default 500, max 5000) are downsampled, always preserving the first/last points and the global min and max (worst drawdown and peak).
15
+
-**`get_job_status`** gains an optional `includeEquityCurve` flag (default `false`) that appends the curve, downsampled to ~200 points, to the status summary.
0 commit comments