|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
A fraction in (0, 1] of the bound scope, resolved at the matching candidate. More...
#include <native_order.hpp>
Data Fields | |
| double | fraction = 1.0 |
| ScopeClaim | claim = ScopeClaim::Gross |
| ScopeBasis | basis = ScopeBasis::AtMatch |
| Appended last so every existing aggregate initializer keeps its meaning. | |
A fraction in (0, 1] of the bound scope, resolved at the matching candidate.
The resolution is units = scope * fraction, one binary64 multiplication: a caller that spells its size as a percent converts percent -> fraction itself, so no second rounding step is introduced here.
Definition at line 207 of file native_order.hpp.
| double pineforge::native_order::native_order_v6::ScopeFraction::fraction = 1.0 |
Definition at line 208 of file native_order.hpp.
| ScopeClaim pineforge::native_order::native_order_v6::ScopeFraction::claim = ScopeClaim::Gross |
Definition at line 209 of file native_order.hpp.
| ScopeBasis pineforge::native_order::native_order_v6::ScopeFraction::basis = ScopeBasis::AtMatch |
Appended last so every existing aggregate initializer keeps its meaning.
Definition at line 211 of file native_order.hpp.