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

One candidate's execution terms, recorded. More...

#include <native_order.hpp>

Public Member Functions

const RequestHandle & handle () const noexcept
 
const Request & request () const noexcept
 
const Birth & birth () const noexcept
 

Data Fields

uint64_t ordinal = 0
 
DefinitionRef definition
 
MatchCursor cursor {}
 
TermsResolvedInput input
 
std::vector< EventId > prior_adjustment_ids
 
double pending_total = 0.0
 
double effective_deduction = 0.0
 
RemainingProjection remaining_before = RemainingProjectionDeferred{}
 
RemainingProjection remaining_after = RemainingProjectionUnits{}
 
Allowance allowance_after = AllowanceUnset{}
 

Detailed Description

One candidate's execution terms, recorded.

For a request whose units were deferred it also binds them: it spends the pending group chain (prior_adjustment_ids, pending_total), takes effective_deduction off the resolved units and leaves remaining_after. That deduction is 0 with a positive pending_total and positive resolved units when binary64 cannot take the total off them – absorbed, and the units stand (R5 lane K-ULP5).

Definition at line 1089 of file native_order.hpp.

Member Function Documentation

◆ handle()

const RequestHandle & pineforge::native_order::native_order_v7::TermsResolvedEvent::handle ( ) const
inlinenoexcept

Definition at line 1100 of file native_order.hpp.

References definition.

◆ request()

const Request & pineforge::native_order::native_order_v7::TermsResolvedEvent::request ( ) const
inlinenoexcept

Definition at line 1101 of file native_order.hpp.

References definition.

◆ birth()

const Birth & pineforge::native_order::native_order_v7::TermsResolvedEvent::birth ( ) const
inlinenoexcept

Definition at line 1102 of file native_order.hpp.

References definition.

Field Documentation

◆ ordinal

uint64_t pineforge::native_order::native_order_v7::TermsResolvedEvent::ordinal = 0

Definition at line 1090 of file native_order.hpp.

◆ definition

DefinitionRef pineforge::native_order::native_order_v7::TermsResolvedEvent::definition

Definition at line 1091 of file native_order.hpp.

Referenced by birth(), handle(), and request().

◆ cursor

MatchCursor pineforge::native_order::native_order_v7::TermsResolvedEvent::cursor {}

Definition at line 1092 of file native_order.hpp.

◆ input

TermsResolvedInput pineforge::native_order::native_order_v7::TermsResolvedEvent::input

Definition at line 1093 of file native_order.hpp.

◆ prior_adjustment_ids

std::vector<EventId> pineforge::native_order::native_order_v7::TermsResolvedEvent::prior_adjustment_ids

Definition at line 1094 of file native_order.hpp.

◆ pending_total

double pineforge::native_order::native_order_v7::TermsResolvedEvent::pending_total = 0.0

Definition at line 1095 of file native_order.hpp.

◆ effective_deduction

double pineforge::native_order::native_order_v7::TermsResolvedEvent::effective_deduction = 0.0

Definition at line 1096 of file native_order.hpp.

◆ remaining_before

RemainingProjection pineforge::native_order::native_order_v7::TermsResolvedEvent::remaining_before = RemainingProjectionDeferred{}

Definition at line 1097 of file native_order.hpp.

◆ remaining_after

RemainingProjection pineforge::native_order::native_order_v7::TermsResolvedEvent::remaining_after = RemainingProjectionUnits{}

Definition at line 1098 of file native_order.hpp.

◆ allowance_after

Allowance pineforge::native_order::native_order_v7::TermsResolvedEvent::allowance_after = AllowanceUnset{}

Definition at line 1099 of file native_order.hpp.


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