PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v18::NativeInputContext Struct Reference

Accepted input facts presented before the generic consumer aggregates the bar into its script interval or evaluates any matching point. More...

#include <native_host.hpp>

Data Fields

native_calendar::NativeInterval input_interval {}
 
native_calendar::NativeInterval script_interval {}
 
int input_index = 0
 
bool completes_script_interval = false
 

Detailed Description

Accepted input facts presented before the generic consumer aggregates the bar into its script interval or evaluates any matching point.

This is not a source-language callback: native hosts may observe raw input cadence through it without taking ownership of matching or aggregation.

Definition at line 708 of file native_host.hpp.

Field Documentation

◆ input_interval

native_calendar::NativeInterval pineforge::engine_script_run_v18::NativeInputContext::input_interval {}

Definition at line 709 of file native_host.hpp.

◆ script_interval

native_calendar::NativeInterval pineforge::engine_script_run_v18::NativeInputContext::script_interval {}

Definition at line 710 of file native_host.hpp.

Referenced by pineforge::source::PineScheduler::input().

◆ input_index

int pineforge::engine_script_run_v18::NativeInputContext::input_index = 0

Definition at line 711 of file native_host.hpp.

Referenced by pineforge::source::PineScheduler::input().

◆ completes_script_interval

bool pineforge::engine_script_run_v18::NativeInputContext::completes_script_interval = false

Definition at line 712 of file native_host.hpp.

Referenced by pineforge::source::PineScheduler::input().


The documentation for this struct was generated from the following file: