PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v18::NativeAccountObservation Struct Reference

The account row that follows an applied execution in the event history: the shared ordinal, the effective time, the marked equity, the realized balance and the signed book after it. More...

#include <native_host.hpp>

Data Fields

uint64_t ordinal = 0
 
int64_t effective_time_ms = 0
 
double marked_equity = 0.0
 
double realized_balance = 0.0
 
double signed_units = 0.0
 

Detailed Description

The account row that follows an applied execution in the event history: the shared ordinal, the effective time, the marked equity, the realized balance and the signed book after it.

One per applied execution, so an applied event and its observation share an ordinal — advance an event cursor by the last returned ordinal, never mid-group.

Definition at line 351 of file native_host.hpp.

Field Documentation

◆ ordinal

uint64_t pineforge::engine_script_run_v18::NativeAccountObservation::ordinal = 0

Definition at line 352 of file native_host.hpp.

◆ effective_time_ms

int64_t pineforge::engine_script_run_v18::NativeAccountObservation::effective_time_ms = 0

Definition at line 353 of file native_host.hpp.

◆ marked_equity

double pineforge::engine_script_run_v18::NativeAccountObservation::marked_equity = 0.0

Definition at line 354 of file native_host.hpp.

◆ realized_balance

double pineforge::engine_script_run_v18::NativeAccountObservation::realized_balance = 0.0

Definition at line 355 of file native_host.hpp.

◆ signed_units

double pineforge::engine_script_run_v18::NativeAccountObservation::signed_units = 0.0

Definition at line 356 of file native_host.hpp.


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