|
PineForge v0.13.1-379-g9b50973
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 535 of file native_host.hpp.
| double pineforge::engine_script_run_v18::NativeMarginDecision::required = 0.0 |
Definition at line 536 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().
| double pineforge::engine_script_run_v18::NativeMarginDecision::equity = 0.0 |
Definition at line 537 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().
| bool pineforge::engine_script_run_v18::NativeMarginDecision::force_breach = false |
Definition at line 538 of file native_host.hpp.