PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v19::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 484 of file native_host.hpp.

Field Documentation

◆ target

native_order::RequestHandle pineforge::engine_script_run_v19::NativePrecommitView::target

◆ definition

native_order::DefinitionRef pineforge::engine_script_run_v19::NativePrecommitView::definition

◆ cursor

native_order::MatchCursor pineforge::engine_script_run_v19::NativePrecommitView::cursor

◆ plan

native_order::ExecutionPlan pineforge::engine_script_run_v19::NativePrecommitView::plan

Definition at line 488 of file native_host.hpp.

◆ scope

native_order::ExecutionScope pineforge::engine_script_run_v19::NativePrecommitView::scope

Definition at line 489 of file native_host.hpp.

◆ raw_price

double pineforge::engine_script_run_v19::NativePrecommitView::raw_price = 0.0

◆ resolved_price

double pineforge::engine_script_run_v19::NativePrecommitView::resolved_price = 0.0

◆ inspected_closed_units

double pineforge::engine_script_run_v19::NativePrecommitView::inspected_closed_units = 0.0

◆ inspected_opened_units

double pineforge::engine_script_run_v19::NativePrecommitView::inspected_opened_units = 0.0

◆ inspected_current_ticket

double pineforge::engine_script_run_v19::NativePrecommitView::inspected_current_ticket = 0.0

Definition at line 494 of file native_host.hpp.

◆ settlement_readiness

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

Definition at line 495 of file native_host.hpp.

◆ account

execution::AccountEffectProjection pineforge::engine_script_run_v19::NativePrecommitView::account

◆ closed_row_pnl

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

Definition at line 497 of file native_host.hpp.

◆ current

bool pineforge::engine_script_run_v19::NativePrecommitView::current = false

Definition at line 498 of file native_host.hpp.


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