|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
| Kernel / native API | The backtest and forward-execution engine, and the API a host drives it with |
| Pine adapter (TradingView-parity policy layer) | The layer that turns a transpiled PineScript strategy into kernel commands and reproduces TradingView's own behaviour where it differs from a neutral engine — order priority within a bar, intraday caps, entry admission, rounding thresholds, the quirks a parity corpus measures |
| Types | POD types and enums passed across the C ABI |
| Strategy lifecycle | Create, run, and destroy a compiled strategy instance |
| Per-strategy configuration | Override input |
| Historical to realtime streaming | Warm on confirmed OHLCV and continue the same strategy instance on normalized ordered trades from any data source |
| Live-runtime surface (ABI v4) | Default-off flags and read-only accessors used by pineforge-live |
| Version query | Runtime version metadata |
| Status codes | Every int-returning symbol here answers 0 or one of these |
| Translated enumerations | Every value below is the exact integer of the C++ alternative it names, pinned by static_asserts in src/native_c_host.cpp |
| Transport types | |
| Entry points |