|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Callback-local view of the same FIFO row. More...
#include <native_host.hpp>
Data Fields | |
| std::size_t | ordinal = 0 |
| std::uint64_t | entry_incarnation = 0 |
| std::int64_t | cycle = 0 |
| native_order::Side | side = native_order::Side::Long |
| std::string_view | entry_label |
| std::string_view | entry_comment |
| std::int64_t | entry_time_ms = 0 |
| int | entry_bar_index = -1 |
| double | entry_price = 0.0 |
| double | signed_units = 0.0 |
| double | entry_commission = 0.0 |
| double | mark = std::numeric_limits<double>::quiet_NaN() |
| double | unrealized_pnl = std::numeric_limits<double>::quiet_NaN() |
| double | favorable_excursion = 0.0 |
| double | adverse_excursion = 0.0 |
Callback-local view of the same FIFO row.
Text borrows the physical lot; arbitrary label/comment widths require no per-row allocation.
Definition at line 348 of file native_host.hpp.
| std::size_t pineforge::engine_script_run_v19::NativeOpenLotView::ordinal = 0 |
Definition at line 349 of file native_host.hpp.
| std::uint64_t pineforge::engine_script_run_v19::NativeOpenLotView::entry_incarnation = 0 |
Definition at line 350 of file native_host.hpp.
| std::int64_t pineforge::engine_script_run_v19::NativeOpenLotView::cycle = 0 |
Definition at line 351 of file native_host.hpp.
| native_order::Side pineforge::engine_script_run_v19::NativeOpenLotView::side = native_order::Side::Long |
Definition at line 352 of file native_host.hpp.
| std::string_view pineforge::engine_script_run_v19::NativeOpenLotView::entry_label |
Definition at line 353 of file native_host.hpp.
| std::string_view pineforge::engine_script_run_v19::NativeOpenLotView::entry_comment |
Definition at line 354 of file native_host.hpp.
| std::int64_t pineforge::engine_script_run_v19::NativeOpenLotView::entry_time_ms = 0 |
Definition at line 355 of file native_host.hpp.
| int pineforge::engine_script_run_v19::NativeOpenLotView::entry_bar_index = -1 |
Definition at line 356 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeOpenLotView::entry_price = 0.0 |
Definition at line 357 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeOpenLotView::signed_units = 0.0 |
Definition at line 358 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeOpenLotView::entry_commission = 0.0 |
Definition at line 359 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeOpenLotView::mark = std::numeric_limits<double>::quiet_NaN() |
Definition at line 360 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeOpenLotView::unrealized_pnl = std::numeric_limits<double>::quiet_NaN() |
Definition at line 361 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeOpenLotView::favorable_excursion = 0.0 |
Definition at line 362 of file native_host.hpp.
| double pineforge::engine_script_run_v19::NativeOpenLotView::adverse_excursion = 0.0 |
Definition at line 363 of file native_host.hpp.