|
PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
|
A group effect's deduction from a live sibling whose remaining units are known (GroupEffect::Reduce): requested_delta is the member fill's filled_working, actual_deduction the part taken – capped at before, which then cancels the sibling – and after is fl(before - actual_deduction).
More...
#include <native_order.hpp>
Data Fields | |
| uint64_t | ordinal = 0 |
| DefinitionRef | definition |
| EventId | cause |
| RequestHandle | recipient |
| GroupEffect | effect = GroupEffect::Reduce |
| double | requested_delta = 0.0 |
| double | actual_deduction = 0.0 |
| RemainingUnits | before {} |
| RemainingProjection | after = RemainingProjectionUnits{} |
A group effect's deduction from a live sibling whose remaining units are known (GroupEffect::Reduce): requested_delta is the member fill's filled_working, actual_deduction the part taken – capped at before, which then cancels the sibling – and after is fl(before - actual_deduction).
A deduction binary64 cannot take off before (at most half an ulp of it: fl(before - d) is before) is absorbed (R5 lane K-ULP5): actual_deduction is 0 and after equals before, the exact binary64 result, and the member's fill stands. A deduction that is taken is positive, so an actual_deduction of 0 names an absorbed one.
Definition at line 1191 of file native_order.hpp.
| uint64_t pineforge::native_order::native_order_v7::ReservationReducedEvent::ordinal = 0 |
Definition at line 1192 of file native_order.hpp.
| DefinitionRef pineforge::native_order::native_order_v7::ReservationReducedEvent::definition |
Definition at line 1193 of file native_order.hpp.
| EventId pineforge::native_order::native_order_v7::ReservationReducedEvent::cause |
Definition at line 1194 of file native_order.hpp.
| RequestHandle pineforge::native_order::native_order_v7::ReservationReducedEvent::recipient |
Definition at line 1195 of file native_order.hpp.
| GroupEffect pineforge::native_order::native_order_v7::ReservationReducedEvent::effect = GroupEffect::Reduce |
Definition at line 1196 of file native_order.hpp.
| double pineforge::native_order::native_order_v7::ReservationReducedEvent::requested_delta = 0.0 |
Definition at line 1197 of file native_order.hpp.
| double pineforge::native_order::native_order_v7::ReservationReducedEvent::actual_deduction = 0.0 |
Definition at line 1198 of file native_order.hpp.
| RemainingUnits pineforge::native_order::native_order_v7::ReservationReducedEvent::before {} |
Definition at line 1199 of file native_order.hpp.
| RemainingProjection pineforge::native_order::native_order_v7::ReservationReducedEvent::after = RemainingProjectionUnits{} |
Definition at line 1200 of file native_order.hpp.