PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v19::NativeMarginDecision Struct 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
 

Detailed Description

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.

Field Documentation

◆ required

double pineforge::engine_script_run_v19::NativeMarginDecision::required = 0.0

◆ equity

double pineforge::engine_script_run_v19::NativeMarginDecision::equity = 0.0

◆ force_breach

bool pineforge::engine_script_run_v19::NativeMarginDecision::force_breach = false

Definition at line 596 of file native_host.hpp.


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