|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
What the consumer hands to prepare_trigger under an opted-in price grid (NativeRunSpec::price_grid == QuantizeFillsAndTriggers), the way acceptance receives CommandContext::price_tick: the tick ladder and the rounding the matcher tested the activation on. More...
#include <native_order.hpp>
Data Fields | |
| double | price_tick = 0.0 |
| bool | half_up = true |
What the consumer hands to prepare_trigger under an opted-in price grid (NativeRunSpec::price_grid == QuantizeFillsAndTriggers), the way acceptance receives CommandContext::price_tick: the tick ladder and the rounding the matcher tested the activation on.
The core then re-validates the reached print with the same grid arithmetic (L8b ruling: under that grid the tick-quantized print IS the reached price, so a hit the matcher reports is never refused), records the quantized print as the activation's reached price, and keeps a trail's running best on the ladder. A default-constructed value (no ladder) is exactly the raw compare and the raw print every activation used before. Host-free: values only.
Definition at line 1388 of file native_order.hpp.
| double pineforge::native_order::native_order_v6::ActivationGrid::price_tick = 0.0 |
Definition at line 1389 of file native_order.hpp.
| bool pineforge::native_order::native_order_v6::ActivationGrid::half_up = true |
Definition at line 1390 of file native_order.hpp.