|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Path sink descriptor (DESIGN 6:1283-1289, 1307-1309). More...
#include <report_sink.h>
Data Fields | |
| uint32_t | struct_size |
| uint32_t | version |
| const char * | path |
| const char * | run_id |
| const char * | scratch_dir |
Path sink descriptor (DESIGN 6:1283-1289, 1307-1309).
struct_size is sizeof(pf_report_sink_v1), version is 1. The setter copies the strings. The engine creates or truncates path, writes the version-1 header at run begin, and writes checked, buffered records (3.7:881-888). NULL run_id means ""; NULL scratch_dir means the directory of path. Scratch files are engine-private and live until the next run begins or handle destruction (3.8:902-909).
Definition at line 26 of file report_sink.h.
| uint32_t pf_report_sink_v1::struct_size |
Definition at line 27 of file report_sink.h.
| uint32_t pf_report_sink_v1::version |
Definition at line 28 of file report_sink.h.
| const char* pf_report_sink_v1::path |
Definition at line 29 of file report_sink.h.
| const char* pf_report_sink_v1::run_id |
Definition at line 30 of file report_sink.h.
| const char* pf_report_sink_v1::scratch_dir |
Definition at line 31 of file report_sink.h.