|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
What preflight_native_inputs answers: the error and the first offending bar's index, or -1 when the refusal is not about one bar. More...
#include <market_driver.hpp>
Public Member Functions | |
| constexpr bool | ok () const noexcept |
| constexpr | operator bool () const noexcept |
Data Fields | |
| NativeInputPreflightError | error = NativeInputPreflightError::None |
| int | index = -1 |
What preflight_native_inputs answers: the error and the first offending bar's index, or -1 when the refusal is not about one bar.
ok() and the explicit operator bool are the success reads.
Definition at line 219 of file market_driver.hpp.
|
inlineconstexprnoexcept |
Definition at line 223 of file market_driver.hpp.
References error, and pineforge::native_driver_v5::None.
Referenced by operator bool().
|
inlineexplicitconstexprnoexcept |
Definition at line 226 of file market_driver.hpp.
References ok().
| NativeInputPreflightError pineforge::native_driver_v5::NativeInputPreflightResult::error = NativeInputPreflightError::None |
Definition at line 220 of file market_driver.hpp.
Referenced by ok().
| int pineforge::native_driver_v5::NativeInputPreflightResult::index = -1 |
Definition at line 221 of file market_driver.hpp.