|
PineForge v0.13.1-379-g9b50973
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 520 of file native_host.hpp.
| NativeMarginCheckKind pineforge::engine_script_run_v18::NativeMarginRequirementView::kind = NativeMarginCheckKind::BarOpen |
Definition at line 521 of file native_host.hpp.
| NativePhysicalPosition pineforge::engine_script_run_v18::NativeMarginRequirementView::position |
Definition at line 522 of file native_host.hpp.
| double pineforge::engine_script_run_v18::NativeMarginRequirementView::mark = 0.0 |
Definition at line 523 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().
| double pineforge::engine_script_run_v18::NativeMarginRequirementView::equity = 0.0 |
Definition at line 524 of file native_host.hpp.
| double pineforge::engine_script_run_v18::NativeMarginRequirementView::required = 0.0 |
Definition at line 525 of file native_host.hpp.
| native_order::MatchCursor pineforge::engine_script_run_v18::NativeMarginRequirementView::cursor |
Definition at line 526 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().