|
PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
|
The host's answer to one requirement view. More...
#include <native_host.hpp>
Data Fields | |
| double | required = 0.0 |
| double | equity = 0.0 |
| bool | force_breach = false |
The host's answer to one requirement view.
required and equity replace the kernel's two numbers for this check point only – they are a broker's money rule (a rounded requirement, a fee-adjusted equity), never a second account. force_breach makes the kernel proceed past required > equity even when the answered numbers do not meet it; the sizing policy and resolve_margin_call_units then decide the slice as usual.
Definition at line 593 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeMarginDecision::required = 0.0 |
Definition at line 594 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().
| double pineforge::engine_script_run_v19::NativeMarginDecision::equity = 0.0 |
Definition at line 595 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().
| bool pineforge::engine_script_run_v19::NativeMarginDecision::force_breach = false |
Definition at line 596 of file native_host.hpp.