PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
[detail level 12345]
 Npineforge
 Nstd
 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_field_desc_t
 Cpf_live_parser_event_v1_t
 Cpf_metrics_tComposite metrics container: trade stats (all / long / short) + equity-curve stats
 Cpf_native_applied_v1One applied execution, presented to on_applied
 Cpf_native_callbacks_v1The C host's strategy logic
 Cpf_native_close_view_v1The facts a host-sized CLOSE is resolved from, handed to pf_native_callbacks_v1::on_close_units
 Cpf_native_decision_v1Where the kernel is, presented to every callback
 Cpf_native_event_v1One recorded event, read back by strategy_native_events_v1
 Cpf_native_fx_curve_v1Immutable timestamped account-currency FX curve for a native run
 Cpf_native_lot_excursion_v1One closing lot's booking facts — ClosedLotExcursionFacts (RULING A48)
 Cpf_native_margin_decision_v1The host's answer to one requirement view — NativeMarginDecision
 Cpf_native_margin_view_v1The facts one margin hook is handed — the C spelling of NativeMarginRequirementView, NativeMarginCheckPoint and NativeMarginCallView, which differ only in which of these facts they carry
 Cpf_native_open_lot_v1One open physical lot, copied out by strategy_native_open_lot_get_v1 — the C spelling of NativeOpenLot (R5 gap lane N18): the book that strategy_native_position_v1 aggregates, lot by lot, marked at the price strategy_native_open_lot_count_v1 was given
 Cpf_native_request_v1One order request
 Cpf_native_risk_state_v1The run's generic risk ledger — the C spelling of NativeRiskState (L9)
 Cpf_native_run_spec_ext_v1The run-specification fields pf_native_run_spec_v1 predates
 Cpf_native_run_spec_v1Versioned native run specification
 Cpf_native_state_v1The run's lifecycle and its typed failure
 Cpf_native_subscription_v1One declared higher-timeframe series of pf_native_run_spec_ext_v1
 Cpf_native_trail_state_v1The trail projection of strategy_native_trail_state_v1 — the C spelling of NativeTrailState
 Cpf_native_working_v1One live request, copied out by strategy_native_working_get_v1
 Cpf_pending_order_v1_t
 Cpf_report_tBacktest report filled by run_backtest / run_backtest_full
 Cpf_security_diag_tPer-request.security() site diagnostic counters
 Cpf_stream_order_action_tOne physical emulator lot action
 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_trade_tick_tOne provider-neutral realtime executed-trade update
 Cpf_version_tRuntime version descriptor returned by pf_version_get