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

Detailed Description

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.

Field Documentation

◆ struct_size

uint32_t pf_report_sink_receipt_v1::struct_size

Definition at line 78 of file report_sink.h.

◆ version

uint32_t pf_report_sink_receipt_v1::version

Definition at line 78 of file report_sink.h.

◆ count_e

int64_t pf_report_sink_receipt_v1::count_e

Definition at line 79 of file report_sink.h.

◆ count_t

int64_t pf_report_sink_receipt_v1::count_t

Definition at line 79 of file report_sink.h.

◆ count_o

int64_t pf_report_sink_receipt_v1::count_o

Definition at line 79 of file report_sink.h.

◆ count_v

int64_t pf_report_sink_receipt_v1::count_v

Definition at line 79 of file report_sink.h.

◆ count_k

int64_t pf_report_sink_receipt_v1::count_k

Definition at line 79 of file report_sink.h.

◆ count_x

int64_t pf_report_sink_receipt_v1::count_x

Definition at line 79 of file report_sink.h.

◆ count_h

int64_t pf_report_sink_receipt_v1::count_h

Definition at line 79 of file report_sink.h.

◆ sha256_hex

char pf_report_sink_receipt_v1::sha256_hex[65]

Definition at line 80 of file report_sink.h.

◆ reserved

uint8_t pf_report_sink_receipt_v1::reserved[7]

Definition at line 81 of file report_sink.h.

◆ complete

uint32_t pf_report_sink_receipt_v1::complete

Definition at line 82 of file report_sink.h.

◆ trades_retained

uint32_t pf_report_sink_receipt_v1::trades_retained

Definition at line 83 of file report_sink.h.


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