|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
What current_execution_point() answers inside a callback: the point's decision context, its price, which quote that price is, and the ordinal the quote came from. More...
#include <native_host.hpp>
Data Fields | |
| NativeDecisionContext | decision |
| double | price = 0.0 |
| NativeCurrentQuoteKind | quote_kind = NativeCurrentQuoteKind::MarketDecision |
| std::uint64_t | quote_origin_ordinal = 0 |
What current_execution_point() answers inside a callback: the point's decision context, its price, which quote that price is, and the ordinal the quote came from.
nullopt outside a decision point. C spelling: pf_native_decision_v1's price and quote_kind, on every callback.
Definition at line 600 of file native_host.hpp.
| NativeDecisionContext pineforge::engine_script_run_v18::NativeCurrentPointView::decision |
Definition at line 601 of file native_host.hpp.
| double pineforge::engine_script_run_v18::NativeCurrentPointView::price = 0.0 |
Definition at line 602 of file native_host.hpp.
| NativeCurrentQuoteKind pineforge::engine_script_run_v18::NativeCurrentPointView::quote_kind = NativeCurrentQuoteKind::MarketDecision |
Definition at line 603 of file native_host.hpp.
| std::uint64_t pineforge::engine_script_run_v18::NativeCurrentPointView::quote_origin_ordinal = 0 |
Definition at line 604 of file native_host.hpp.