|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Ephemeral factual view of one kernel check point, offered to the host before the check runs. More...
#include <native_host.hpp>
Data Fields | |
| NativeMarginCheckKind | kind = NativeMarginCheckKind::BarOpen |
| NativePhysicalPosition | position |
| double | mark = 0.0 |
| native_order::MatchCursor | cursor |
| bool | liquidation_resting = false |
| Whether the model already holds a liquidation resting from an earlier admitted point. | |
Ephemeral factual view of one kernel check point, offered to the host before the check runs.
mark is the price the kernel would measure the breach at; the modeled path phase is cursor.point.path_phase.
Definition at line 502 of file native_host.hpp.
| NativeMarginCheckKind pineforge::engine_script_run_v18::NativeMarginCheckPoint::kind = NativeMarginCheckKind::BarOpen |
Definition at line 503 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::margin_check_allowed().
| NativePhysicalPosition pineforge::engine_script_run_v18::NativeMarginCheckPoint::position |
Definition at line 504 of file native_host.hpp.
| double pineforge::engine_script_run_v18::NativeMarginCheckPoint::mark = 0.0 |
Definition at line 505 of file native_host.hpp.
| native_order::MatchCursor pineforge::engine_script_run_v18::NativeMarginCheckPoint::cursor |
Definition at line 506 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::margin_check_allowed().
| bool pineforge::engine_script_run_v18::NativeMarginCheckPoint::liquidation_resting = false |
Whether the model already holds a liquidation resting from an earlier admitted point.
A host that suppresses points – and therefore owns when a slice sized on a book that has since shrunk is re-sized – needs to tell "re-size the live slice" from "take a new one" apart. The default host admits every point and never reads this.
Definition at line 512 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::margin_check_allowed().