|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Ephemeral factual view of one kernel-issued liquidation before its units are fixed. More...
#include <native_host.hpp>
Data Fields | |
| NativePhysicalPosition | position |
| double | mark = 0.0 |
| double | equity = 0.0 |
| double | required = 0.0 |
| native_order::MatchCursor | cursor |
Ephemeral factual view of one kernel-issued liquidation before its units are fixed.
position is the physical book being liquidated, mark the sizing price the kernel measured the breach at, equity the marked equity there and required the maintenance requirement of the whole position at that same mark. A host that answers with a value owns the slice quantity.
Definition at line 537 of file native_host.hpp.
| NativePhysicalPosition pineforge::engine_script_run_v19::NativeMarginCallView::position |
Definition at line 538 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_call_units().
| double pineforge::engine_script_run_v19::NativeMarginCallView::mark = 0.0 |
Definition at line 539 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_call_units().
| double pineforge::engine_script_run_v19::NativeMarginCallView::equity = 0.0 |
Definition at line 540 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeMarginCallView::required = 0.0 |
Definition at line 541 of file native_host.hpp.
| native_order::MatchCursor pineforge::engine_script_run_v19::NativeMarginCallView::cursor |
Definition at line 542 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_call_units().