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

One owning row of native_events(after_ordinal): a command event, a driver point or an account observation, tagged by kind. More...

#include <native_host.hpp>

Data Fields

NativeEventKind kind = NativeEventKind::Command
 
uint64_t ordinal = 0
 
std::optional< native_order::CommandEventcommand
 
std::optional< NativeDriverPointdriver
 
std::optional< NativeAccountObservationaccount
 

Detailed Description

One owning row of native_events(after_ordinal): a command event, a driver point or an account observation, tagged by kind.

Later commands and the next run's reset do not invalidate a row already returned. C spelling: strategy_native_events_v1, which flattens the same rows into one tagged POD.

Definition at line 370 of file native_host.hpp.

Field Documentation

◆ kind

NativeEventKind pineforge::engine_script_run_v18::NativeMarketEvent::kind = NativeEventKind::Command

Definition at line 371 of file native_host.hpp.

◆ ordinal

uint64_t pineforge::engine_script_run_v18::NativeMarketEvent::ordinal = 0

Definition at line 372 of file native_host.hpp.

◆ command

std::optional<native_order::CommandEvent> pineforge::engine_script_run_v18::NativeMarketEvent::command

Definition at line 373 of file native_host.hpp.

◆ driver

std::optional<NativeDriverPoint> pineforge::engine_script_run_v18::NativeMarketEvent::driver

Definition at line 374 of file native_host.hpp.

◆ account

std::optional<NativeAccountObservation> pineforge::engine_script_run_v18::NativeMarketEvent::account

Definition at line 375 of file native_host.hpp.


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