|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
The book as one aggregate: signed units, the volume-weighted average entry price and the number of open physical lots. More...
#include <native_host.hpp>
Data Fields | |
| double | signed_units = 0.0 |
| double | average_price = 0.0 |
| std::size_t | lot_count = 0 |
The book as one aggregate: signed units, the volume-weighted average entry price and the number of open physical lots.
physical_position() answers it; native_open_lots(mark) is the same book lot by lot. C spelling: strategy_native_position_v1.
Definition at line 296 of file native_host.hpp.
| double pineforge::engine_script_run_v18::NativePhysicalPosition::signed_units = 0.0 |
Definition at line 297 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_margin_call_units(), and pineforge::source::PineExecutionAdapter::resolve_terms().
| double pineforge::engine_script_run_v18::NativePhysicalPosition::average_price = 0.0 |
Definition at line 298 of file native_host.hpp.
| std::size_t pineforge::engine_script_run_v18::NativePhysicalPosition::lot_count = 0 |
Definition at line 299 of file native_host.hpp.
Referenced by pineforge::source::PineExecutionAdapter::resolve_terms().