open_commitment
Open a commitment that verifies reported performance claims by computing running Sharpe statistics in constant memory, without storing raw returns.
Instructions
Open a commitment that numguard tracks over time. It returns a commitment_id; report live returns to it with report_returns as they arrive. numguard folds each return into running statistics at O(1) and never stores the raw returns — so holding the promise indefinitely costs constant memory and no background compute. NOTE: this is an honesty/consistency check on the returns you REPORT, not proof of real performance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label for the strategy. | |
| api_key | Yes | Your metering key — any stable string identifying you; it tracks your free-tier calls and prepaid credit balance. | |
| claimed_sr | Yes | The per-period Sharpe the backtest claims — the promise to hold to. | |
| periods_per_year | No | Periods per year (252 daily). |