PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v18::NativeMarginCallView Struct 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
 

Detailed Description

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 471 of file native_host.hpp.

Field Documentation

◆ position

NativePhysicalPosition pineforge::engine_script_run_v18::NativeMarginCallView::position

◆ mark

double pineforge::engine_script_run_v18::NativeMarginCallView::mark = 0.0

◆ equity

double pineforge::engine_script_run_v18::NativeMarginCallView::equity = 0.0

Definition at line 474 of file native_host.hpp.

◆ required

double pineforge::engine_script_run_v18::NativeMarginCallView::required = 0.0

Definition at line 475 of file native_host.hpp.

◆ cursor

native_order::MatchCursor pineforge::engine_script_run_v18::NativeMarginCallView::cursor

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