OptionaldifferentialDelta-encode both fields from the second (post-resample) point onward.
OptionaloutRequested JSON shape.
OptionalresampleDownsample to at most this many points (extrema-preserving — the global max/min and the exact first/last point are always kept). Omit for no downsampling.
Requested equity-curve transform, applied server-side in a fixed pipeline order:
resample(point count) thendifferential(encoding) thenoutMode(JSON shape) — each stage assumes the previous one already ran. A server-side size guard can still force a smaller/deflated shape above its thresholds regardless of what is requested here — seeEquityCurveMetafor what actually happened.