PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pf_report_sink_v1 Struct 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
 

Detailed Description

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.

Field Documentation

◆ struct_size

uint32_t pf_report_sink_v1::struct_size

Definition at line 27 of file report_sink.h.

◆ version

uint32_t pf_report_sink_v1::version

Definition at line 28 of file report_sink.h.

◆ path

const char* pf_report_sink_v1::path

Definition at line 29 of file report_sink.h.

◆ run_id

const char* pf_report_sink_v1::run_id

Definition at line 30 of file report_sink.h.

◆ scratch_dir

const char* pf_report_sink_v1::scratch_dir

Definition at line 31 of file report_sink.h.


The documentation for this struct was generated from the following file: