Entry points

Pick the function that matches your data: profits only, trades with times, precomputed windows, or CSV.

  • analyze() – minimal path: array of trades with profit only (fractional returns). Use for quick stats and hashes.
  • analyzeFromTrades() – trades with openTime / closeTime (Unix ms) plus WFA window config; wfaInputMode: "tradeSlicedPseudoWfa" for trade-sliced WFA.
  • analyzeFromWindows() – precomputed in-sample / out-of-sample windows when you already built periods.
  • AdapterscsvToTrades / csvToTradesFromStream then feed into the paths above.
  • mapPayloadToUnified() – pure shape normalization; it does not run analysis. Use before calling builders when ingesting integration-shaped JSON.

Full input/output tables, JSON examples, and available: false behavior are documented in the engine repo (see [ENTRYPOINTS.md]). This site will host expanded copies of those docs over time.

[Integration principles] explains why there is no single runEverything() call.

Entry points – Open engine – Kiploks Robustness Engine