|
PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Ephemeral factual view of the numbers the kernel is about to compare, at one check point, BEFORE the breach test. More...
#include <native_host.hpp>
Data Fields | |
| NativeMarginCheckKind | kind = NativeMarginCheckKind::BarOpen |
| NativePhysicalPosition | position |
| double | mark = 0.0 |
| double | equity = 0.0 |
| double | required = 0.0 |
| native_order::MatchCursor | cursor |
Ephemeral factual view of the numbers the kernel is about to compare, at one check point, BEFORE the breach test.
equity is the marked equity on the model's own basis and required the kernel's maintenance requirement of the whole position at mark; both are exactly what the kernel would compare if the host answered nullopt.
Definition at line 578 of file native_host.hpp.
| NativeMarginCheckKind pineforge::engine_script_run_v19::NativeMarginRequirementView::kind = NativeMarginCheckKind::BarOpen |
Definition at line 579 of file native_host.hpp.
| NativePhysicalPosition pineforge::engine_script_run_v19::NativeMarginRequirementView::position |
Definition at line 580 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeMarginRequirementView::mark = 0.0 |
Definition at line 581 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().
| double pineforge::engine_script_run_v19::NativeMarginRequirementView::equity = 0.0 |
Definition at line 582 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeMarginRequirementView::required = 0.0 |
Definition at line 583 of file native_host.hpp.
| native_order::MatchCursor pineforge::engine_script_run_v19::NativeMarginRequirementView::cursor |
Definition at line 584 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().