|
PineForge v1.5.0-rc.1-2-g90c12b98
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Receipt the callback fills. More...
#include <execution_observer.h>
Data Fields | |
| uint32_t | struct_size |
| uint32_t | version |
| uint64_t | run_generation |
| uint32_t | frame_bytes |
| uint32_t | handed_bytes |
| uint32_t | export_requested |
| uint32_t | reserved |
Receipt the callback fills.
Before the callback the kernel sets the receipt's struct_size, version and run_generation, frame_bytes to UINT32_MAX, and handed_bytes, export_requested and reserved to 0.
The callback must overwrite the UINT32_MAX frame_bytes sentinel even when nothing is exported. It succeeds only if it returns 0 with no exception and no earlier failure cause, and then:
handed_bytes does not claim a parent ACK. Any failure leaves the generation sealed, with no result work and no retry.
Definition at line 57 of file execution_observer.h.
| uint32_t pf_boundary_receipt_v1::struct_size |
Definition at line 58 of file execution_observer.h.
| uint32_t pf_boundary_receipt_v1::version |
Definition at line 59 of file execution_observer.h.
| uint64_t pf_boundary_receipt_v1::run_generation |
Definition at line 60 of file execution_observer.h.
| uint32_t pf_boundary_receipt_v1::frame_bytes |
Definition at line 61 of file execution_observer.h.
| uint32_t pf_boundary_receipt_v1::handed_bytes |
Definition at line 62 of file execution_observer.h.
| uint32_t pf_boundary_receipt_v1::export_requested |
Definition at line 63 of file execution_observer.h.
| uint32_t pf_boundary_receipt_v1::reserved |
Definition at line 64 of file execution_observer.h.