Minimal analyze() example

Source path in repo: docs/examples/01-minimal-analyze.md. [View on GitHub]

Mirrored from the engine repository. Prefer reading here for a consistent experience; use GitHub for file history and blame.

This example runs the deterministic Open Core analyze() pipeline from @kiploks/engine-core.

TypeScript

profit is a decimal fraction of capital (e.g. 0.05 means +5%). Time fields are optional for analyze().

CLI (optional)

Create input.json:

Run:

[Back to documentation index]