|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
The calendar interval of the bucket delivered to pf_native_callbacks_v1::on_timeframe_bar. More...
#include <native_c_api.h>
Data Fields | |
| uint32_t | struct_size |
| sizeof(pf_native_timeframe_interval_v1). | |
| uint32_t | version |
| PF_NATIVE_API_VERSION. | |
| int64_t | open_ms |
| int64_t | eligible_open_ms |
| int64_t | last_traded_close_ms |
| int64_t | next_period_open_ms |
| int64_t | next_input_open_ms |
The calendar interval of the bucket delivered to pf_native_callbacks_v1::on_timeframe_bar.
The query that fills this POD is valid only while that callback is running; outside it the runtime answers PF_NATIVE_E_STATE. A zero interval is a valid kernel answer when the bucket had no calendar lookup.
Definition at line 1557 of file native_c_api.h.
| uint32_t pf_native_timeframe_interval_v1::struct_size |
sizeof(pf_native_timeframe_interval_v1).
Definition at line 1558 of file native_c_api.h.
| uint32_t pf_native_timeframe_interval_v1::version |
PF_NATIVE_API_VERSION.
Definition at line 1559 of file native_c_api.h.
| int64_t pf_native_timeframe_interval_v1::open_ms |
Definition at line 1560 of file native_c_api.h.
| int64_t pf_native_timeframe_interval_v1::eligible_open_ms |
Definition at line 1561 of file native_c_api.h.
| int64_t pf_native_timeframe_interval_v1::last_traded_close_ms |
Definition at line 1562 of file native_c_api.h.
| int64_t pf_native_timeframe_interval_v1::next_period_open_ms |
Definition at line 1563 of file native_c_api.h.
| int64_t pf_native_timeframe_interval_v1::next_input_open_ms |
Definition at line 1564 of file native_c_api.h.