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

Ephemeral factual view of one prepared execution before any physical effect. More...

#include <native_host.hpp>

Data Fields

native_order::RequestHandle target
 
native_order::DefinitionRef definition
 
native_order::MatchCursor cursor
 
native_order::ExecutionPlan plan
 
native_order::ExecutionScope scope
 
double raw_price = 0.0
 
double resolved_price = 0.0
 
double inspected_closed_units = 0.0
 
double inspected_opened_units = 0.0
 
double inspected_current_ticket = 0.0
 
execution::Status settlement_readiness = execution::Status::Applied
 
execution::AccountEffectProjection account
 
std::vector< double > closed_row_pnl
 
bool current = false
 

Detailed Description

Ephemeral factual view of one prepared execution before any physical effect.

Definition at line 438 of file native_host.hpp.

Field Documentation

◆ target

◆ definition

native_order::DefinitionRef pineforge::engine_script_run_v18::NativePrecommitView::definition

◆ cursor

◆ plan

native_order::ExecutionPlan pineforge::engine_script_run_v18::NativePrecommitView::plan

Definition at line 442 of file native_host.hpp.

◆ scope

native_order::ExecutionScope pineforge::engine_script_run_v18::NativePrecommitView::scope

Definition at line 443 of file native_host.hpp.

◆ raw_price

◆ resolved_price

double pineforge::engine_script_run_v18::NativePrecommitView::resolved_price = 0.0

◆ inspected_closed_units

double pineforge::engine_script_run_v18::NativePrecommitView::inspected_closed_units = 0.0

◆ inspected_opened_units

double pineforge::engine_script_run_v18::NativePrecommitView::inspected_opened_units = 0.0

◆ inspected_current_ticket

double pineforge::engine_script_run_v18::NativePrecommitView::inspected_current_ticket = 0.0

Definition at line 448 of file native_host.hpp.

◆ settlement_readiness

execution::Status pineforge::engine_script_run_v18::NativePrecommitView::settlement_readiness = execution::Status::Applied

Definition at line 449 of file native_host.hpp.

◆ account

execution::AccountEffectProjection pineforge::engine_script_run_v18::NativePrecommitView::account

◆ closed_row_pnl

std::vector<double> pineforge::engine_script_run_v18::NativePrecommitView::closed_row_pnl

Definition at line 451 of file native_host.hpp.

◆ current

bool pineforge::engine_script_run_v18::NativePrecommitView::current = false

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