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

Defer a level to the owner's fill: at the arm the level becomes fill + offset, with offset signed (adverse is negative) and spelled in price ticks when ticks is set, then rounded by rounding. More...

#include <native_order.hpp>

Data Fields

double offset = 0.0
 
bool ticks = false
 
NativeAnchorRounding rounding = NativeAnchorRounding::Raw
 

Detailed Description

Defer a level to the owner's fill: at the arm the level becomes fill + offset, with offset signed (adverse is negative) and spelled in price ticks when ticks is set, then rounded by rounding.

Legal on Limit and Stop prices and on a Trail arm threshold, and only under a WaitForApplied owner, which is the one relation that arms. Until then the anchored field is left unwritten (0.0 for a Limit or Stop price, an absent or 0.0 Trail::arm_price), and the ArmedEvent carries the materialized definition: from then on the request reads as that level.

Definition at line 331 of file native_order.hpp.

Field Documentation

◆ offset

double pineforge::native_order::native_order_v7::FromOwnerFill::offset = 0.0

Definition at line 332 of file native_order.hpp.

◆ ticks

bool pineforge::native_order::native_order_v7::FromOwnerFill::ticks = false

Definition at line 333 of file native_order.hpp.

◆ rounding

NativeAnchorRounding pineforge::native_order::native_order_v7::FromOwnerFill::rounding = NativeAnchorRounding::Raw

Definition at line 334 of file native_order.hpp.


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