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

Detailed Description

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.

Field Documentation

◆ signed_units

double pineforge::engine_script_run_v18::NativePhysicalPosition::signed_units = 0.0

◆ average_price

double pineforge::engine_script_run_v18::NativePhysicalPosition::average_price = 0.0

Definition at line 298 of file native_host.hpp.

◆ lot_count

std::size_t pineforge::engine_script_run_v18::NativePhysicalPosition::lot_count = 0

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