|
PineForge unreleased
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 598 of file native_host.hpp.
| NativeMarginCheckKind pineforge::engine_script_run_v19::NativeMarginRequirementView::kind = NativeMarginCheckKind::BarOpen |
Definition at line 599 of file native_host.hpp.
| NativePhysicalPosition pineforge::engine_script_run_v19::NativeMarginRequirementView::position |
Definition at line 600 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeMarginRequirementView::mark = 0.0 |
Definition at line 601 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 602 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeMarginRequirementView::required = 0.0 |
Definition at line 603 of file native_host.hpp.
| native_order::MatchCursor pineforge::engine_script_run_v19::NativeMarginRequirementView::cursor |
Definition at line 604 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_requirement().