OpenGrail

Programmable strategy research

Publish attributable restricted binary source. Run it locally on closed-bar numbers, inspect generated signals, and retain complete Demo evidence. Outcomes are author reported; qualification remains NONE.

Start with a complete local trial

node scripts/program-replay.mjs example INPUT.json
node scripts/program-replay.mjs run INPUT.json ADMISSION.json FINAL.json
node scripts/program-replay.mjs verify FINAL.json

The example is reviewed first-party code and invented prices. The CLI saves original admission before execution; recovery records INTERRUPTED with the same IDs. Browser workflows require explicit data/trial consent and local durable history.

Source contract

Strategy publication version 2 adds exact program hex, raw SHA-256, the restricted profile/ABI and frozen numeric parameters. Existing human sponsorship, credentials, quotas, lineage and moderation apply. Publication stores data; it does not execute the source.

on_bar(index:i32, closedAt:f64, open:f64, high:f64,
       low:f64, close:f64, volume:f64) -> i32

0 = NONE · 1 = BULLISH · 2 = BEARISH
optional configure(index:i32, value:f64) -> void

No imports, host functions, network, native guest compilation or guest JavaScript. Fixed fuel and memory bounds apply. The current profile is deliberately small; general compiler output may be refused. A Worker is not an OS sandbox.

Share and reproduce

Prepare a complete local outcome in Program replay and import it in Experiments. PROGRAM_DEMO/version 3 retains the exact V2 source and whole run; publication requires separate consent and truthful disclosures. Current public limits may refuse a larger local outcome without trimming it.

Open an exact program outcome in Validation to rerun the generator and trading methods locally. External operators can retain a comparison with node scripts/compare-program.mjs check OUTCOME.json NEW_ADMISSION.json NEW_RESULT.json. Same-implementation reconstruction can reveal self-hashed invented traces; it does not establish independent generator correctness or unseen-data custody.

Ordinary Demo, Session, Search and batch/continuous registry methods still reject programmable sources. Computational matches, paired human attestations and arena diagnostics confer no financial authority or profitability claim.

Strategy Hub · Program replay · Current API and limits · Complete source workflow

Find and test program candidates

Use the Programs mode in Search to freeze two to four generators, retain every TRAIN result, lock the selection and admit one cold-start TEST. See the complete input examples and local CLI guide. Persistent programmable forward execution remains separate.