PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v19::NativeCurrentExecutionPreview Struct Reference

Recomputed observations, never an apply token. More...

#include <native_host.hpp>

Data Fields

std::optional< NativeCurrentRefusal > refusal
 
std::optional< execution::Status > settlement_readiness
 
execution::AccountEffectProjection account
 
std::vector< double > closed_row_pnl
 
std::optional< native_order::MatchRejectReason > terms_rejection
 
std::optional< native_order::CancelReason > terms_cancellation
 

Detailed Description

Recomputed observations, never an apply token.

Readiness is the financial pre-source preparation boundary, independent of account projection validity and excluding opening admission and late counter/lifecycle checks. A readiness of execution::Status::UnrepresentableQuantity is a quantity the settlement cannot book exactly on this book, which execute_current answers as a MatchRejectedEvent with MatchRejectReason::UnrepresentableQuantity; the run goes on. The request core's check that the fill can be taken off the request's own units, and the quantity grid's re-check of a boundary Reduce, are made at execution only, so a request whose preview is Applied can still be refused that way.

Definition at line 723 of file native_host.hpp.

Field Documentation

◆ refusal

std::optional<NativeCurrentRefusal> pineforge::engine_script_run_v19::NativeCurrentExecutionPreview::refusal

Definition at line 724 of file native_host.hpp.

◆ settlement_readiness

std::optional<execution::Status> pineforge::engine_script_run_v19::NativeCurrentExecutionPreview::settlement_readiness

Definition at line 725 of file native_host.hpp.

◆ account

execution::AccountEffectProjection pineforge::engine_script_run_v19::NativeCurrentExecutionPreview::account

Definition at line 726 of file native_host.hpp.

◆ closed_row_pnl

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

Definition at line 727 of file native_host.hpp.

◆ terms_rejection

std::optional<native_order::MatchRejectReason> pineforge::engine_script_run_v19::NativeCurrentExecutionPreview::terms_rejection

Definition at line 728 of file native_host.hpp.

◆ terms_cancellation

std::optional<native_order::CancelReason> pineforge::engine_script_run_v19::NativeCurrentExecutionPreview::terms_cancellation

Definition at line 729 of file native_host.hpp.


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