|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Trailer receipt (DESIGN 6:1291-1298,1305-1306). More...
#include <report_sink.h>
Data Fields | |
| uint32_t | struct_size |
| uint32_t | version |
| int64_t | count_e |
| int64_t | count_t |
| int64_t | count_o |
| int64_t | count_v |
| int64_t | count_k |
| int64_t | count_x |
| int64_t | count_h |
| char | sha256_hex [65] |
| uint8_t | reserved [7] |
| uint32_t | complete |
| uint32_t | trades_retained |
Trailer receipt (DESIGN 6:1291-1298,1305-1306).
The seven counts correspond to E, T, O, V, K, X, H in that order. sha256_hex is the trailer's lowercase SHA-256, NUL-terminated, and is "" until the trailer exists. complete becomes 1 once the trailer is written. trades_retained is 1 when closedtrades.* history stays script-readable. The explicit seven-byte reserved field gives a 144-byte layout with no implicit padding. PF_ABI_VERSION stays 4; no existing report/trade grows. RESOLVED S1: receipt query initialization and outcomes follow the CORE-TOP rev 6 amendment (10-18 16:04); see the query declaration below.
Definition at line 77 of file report_sink.h.
| uint32_t pf_report_sink_receipt_v1::struct_size |
Definition at line 78 of file report_sink.h.
| uint32_t pf_report_sink_receipt_v1::version |
Definition at line 78 of file report_sink.h.
| int64_t pf_report_sink_receipt_v1::count_e |
Definition at line 79 of file report_sink.h.
| int64_t pf_report_sink_receipt_v1::count_t |
Definition at line 79 of file report_sink.h.
| int64_t pf_report_sink_receipt_v1::count_o |
Definition at line 79 of file report_sink.h.
| int64_t pf_report_sink_receipt_v1::count_v |
Definition at line 79 of file report_sink.h.
| int64_t pf_report_sink_receipt_v1::count_k |
Definition at line 79 of file report_sink.h.
| int64_t pf_report_sink_receipt_v1::count_x |
Definition at line 79 of file report_sink.h.
| int64_t pf_report_sink_receipt_v1::count_h |
Definition at line 79 of file report_sink.h.
| char pf_report_sink_receipt_v1::sha256_hex[65] |
Definition at line 80 of file report_sink.h.
| uint8_t pf_report_sink_receipt_v1::reserved[7] |
Definition at line 81 of file report_sink.h.
| uint32_t pf_report_sink_receipt_v1::complete |
Definition at line 82 of file report_sink.h.
| uint32_t pf_report_sink_receipt_v1::trades_retained |
Definition at line 83 of file report_sink.h.