PineForge v1.4.0-4-g873b25da
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::engine_script_run_v19::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 773 of file native_host.hpp.

Field Documentation

◆ input_interval

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

Definition at line 774 of file native_host.hpp.

◆ script_interval

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

Definition at line 775 of file native_host.hpp.

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

◆ input_index

int pineforge::engine_script_run_v19::NativeInputContext::input_index = 0

◆ completes_script_interval

bool pineforge::engine_script_run_v19::NativeInputContext::completes_script_interval = false

Definition at line 777 of file native_host.hpp.

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


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