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

A group effect's deduction deferred into a sibling whose units are not known yet: its pending total grows by deferred_delta, in commit order, and the receipts chain back through previous_pending_receipt until the terms or the owner fill that binds the sibling's units takes the total off them. More...

#include <native_order.hpp>

Data Fields

uint64_t ordinal = 0
 
DefinitionRef definition
 
EventId cause
 
RequestHandle recipient
 
GroupEffect effect = GroupEffect::Reduce
 
double deferred_delta = 0.0
 
PendingAdjustments pending_before = PendingNone{}
 
PendingDeferred pending_after {}
 
std::optional< EventId > previous_pending_receipt
 

Detailed Description

A group effect's deduction deferred into a sibling whose units are not known yet: its pending total grows by deferred_delta, in commit order, and the receipts chain back through previous_pending_receipt until the terms or the owner fill that binds the sibling's units takes the total off them.

A fill the total cannot move (fl(total + fill) is the total) is absorbed (R5 lane K-ULP5): deferred_delta is 0, pending_after is pending_before and the event joins no chain. A total below half an ulp of a later fill rounds into it, as binary64 addition does.

Definition at line 1211 of file native_order.hpp.

Field Documentation

◆ ordinal

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

Definition at line 1212 of file native_order.hpp.

◆ definition

DefinitionRef pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::definition

Definition at line 1213 of file native_order.hpp.

◆ cause

EventId pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::cause

Definition at line 1214 of file native_order.hpp.

◆ recipient

RequestHandle pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::recipient

Definition at line 1215 of file native_order.hpp.

◆ effect

GroupEffect pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::effect = GroupEffect::Reduce

Definition at line 1216 of file native_order.hpp.

◆ deferred_delta

double pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::deferred_delta = 0.0

Definition at line 1217 of file native_order.hpp.

◆ pending_before

PendingAdjustments pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::pending_before = PendingNone{}

Definition at line 1218 of file native_order.hpp.

◆ pending_after

PendingDeferred pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::pending_after {}

Definition at line 1219 of file native_order.hpp.

◆ previous_pending_receipt

std::optional<EventId> pineforge::native_order::native_order_v7::DeferredGroupAdjustmentEvent::previous_pending_receipt

Definition at line 1220 of file native_order.hpp.


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