|
PineForge v0.1.2-7-ga095e36
Deterministic PineScript v6 backtest runtime — C ABI reference
|
POD types and enums passed across the C ABI. More...
Data Structures | |
| struct | pf_bar_t |
| Single OHLCV bar pushed into the engine. More... | |
| struct | pf_trade_t |
| Closed-trade record returned in pf_report_t::trades. More... | |
| struct | pf_security_diag_t |
Per-request.security() site diagnostic counters. More... | |
| struct | pf_trace_entry_t |
| Single per-bar trace entry. More... | |
| struct | pf_report_t |
| Backtest report filled by run_backtest / run_backtest_full. More... | |
Enumerations | |
| enum | pf_magnifier_distribution_t { PF_MAGNIFIER_UNIFORM = 0 , PF_MAGNIFIER_COSINE = 1 , PF_MAGNIFIER_TRIANGLE = 2 , PF_MAGNIFIER_ENDPOINTS = 3 , PF_MAGNIFIER_FRONT_LOADED = 4 , PF_MAGNIFIER_BACK_LOADED = 5 } |
| Bar-magnifier sub-bar sampling distribution. More... | |
POD types and enums passed across the C ABI.
Bar-magnifier sub-bar sampling distribution.
Selects how intra-bar synthetic ticks are placed when the bar magnifier is enabled in run_backtest_full. Layout-compatible with the internal C++ pineforge::MagnifierDistribution enum class — a static_assert in c_abi.cpp guarantees the integer values match.
Definition at line 83 of file pineforge.h.