|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
One planned calculation. More...
#include <native_calc_point.hpp>
Data Fields | |
| std::uint64_t | event_index = 0 |
| Zero-based index of the driving event among the events of the schedule. | |
| std::uint64_t | event = 0 |
| Trace ordinal of the driving event, one-based and independent of how the trace is cut into schedules. | |
| std::uint64_t | bar_key = 0 |
| Ordinal of the bar lifecycle the calculation belongs to, assigned by the kernel: zero for the first lifecycle opened, one more for each next. | |
| std::uint64_t | calc_ordinal = 0 |
| Ordinal of the calculation within its bar lifecycle. | |
| std::uint64_t | calc = 0 |
| Ordinal of the calculation within its driving event. | |
| std::int64_t | at_ms = 0 |
| Event-time position: the bar's exclusive end (never later than the event time) for a Pre calculation, the event time itself for a Post one. | |
| Phase | phase = Phase::Pre |
| Finality | finality = Finality::Provisional |
One planned calculation.
Definition at line 61 of file native_calc_point.hpp.
| std::uint64_t pineforge::native_calc::Point::event_index = 0 |
Zero-based index of the driving event among the events of the schedule.
Definition at line 63 of file native_calc_point.hpp.
| std::uint64_t pineforge::native_calc::Point::event = 0 |
Trace ordinal of the driving event, one-based and independent of how the trace is cut into schedules.
Definition at line 66 of file native_calc_point.hpp.
| std::uint64_t pineforge::native_calc::Point::bar_key = 0 |
Ordinal of the bar lifecycle the calculation belongs to, assigned by the kernel: zero for the first lifecycle opened, one more for each next.
Definition at line 69 of file native_calc_point.hpp.
| std::uint64_t pineforge::native_calc::Point::calc_ordinal = 0 |
Ordinal of the calculation within its bar lifecycle.
Definition at line 71 of file native_calc_point.hpp.
| std::uint64_t pineforge::native_calc::Point::calc = 0 |
Ordinal of the calculation within its driving event.
Definition at line 73 of file native_calc_point.hpp.
| std::int64_t pineforge::native_calc::Point::at_ms = 0 |
Event-time position: the bar's exclusive end (never later than the event time) for a Pre calculation, the event time itself for a Post one.
Definition at line 76 of file native_calc_point.hpp.
| Phase pineforge::native_calc::Point::phase = Phase::Pre |
Definition at line 77 of file native_calc_point.hpp.
| Finality pineforge::native_calc::Point::finality = Finality::Provisional |
Definition at line 78 of file native_calc_point.hpp.