PineForge v0.10.12
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
 Cpf_bar_tSingle OHLCV bar pushed into the engine
 Cpf_equity_point_tSingle per-script-bar equity point
 Cpf_equity_stats_tEquity-curve-derived statistics (all-trades only, like TV)
 Cpf_metrics_tComposite metrics container: trade stats (all / long / short) + equity-curve stats
 Cpf_report_tBacktest report filled by run_backtest / run_backtest_full
 Cpf_security_diag_tPer-request.security() site diagnostic counters
 Cpf_trace_entry_tSingle per-bar trace entry
 Cpf_trade_stats_tTrade-level statistics block — computed once each for all / long / short
 Cpf_trade_tClosed-trade record returned in pf_report_t::trades
 Cpf_version_tRuntime version descriptor returned by pf_version_get