PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::native_driver_v5::INativeDriverSink Class Referenceabstract

#include <market_driver.hpp>

Public Member Functions

virtual ~INativeDriverSink ()=default
 
virtual uint64_t allocate_native_ordinal ()=0
 The consumer's ordinal allocator, called by the pump for every event it produces.
 
virtual void on_native_matching_point (const NativeDriverPoint &point)=0
 A point at which live requests may match.
 
virtual void on_native_excursion (const NativeDriverPoint &point)=0
 A point that updates open lots' favorable and adverse excursions without offering a match.
 
virtual void on_native_calculation (const Bar &script_bar, const NativeCoordinate &coordinate)=0
 The script bar's calculation point, with the complete script bar and its coordinate.
 

Detailed Description

Definition at line 131 of file market_driver.hpp.

Constructor & Destructor Documentation

◆ ~INativeDriverSink()

virtual pineforge::native_driver_v5::INativeDriverSink::~INativeDriverSink ( )
virtualdefault

Member Function Documentation

◆ allocate_native_ordinal()

virtual uint64_t pineforge::native_driver_v5::INativeDriverSink::allocate_native_ordinal ( )
pure virtual

The consumer's ordinal allocator, called by the pump for every event it produces.

Implemented by the kernel's own consumer; a host never implements this interface.

◆ on_native_matching_point()

virtual void pineforge::native_driver_v5::INativeDriverSink::on_native_matching_point ( const NativeDriverPoint & point)
pure virtual

A point at which live requests may match.

The consumer runs the matching pass here; excursion-only points do not reach it.

◆ on_native_excursion()

virtual void pineforge::native_driver_v5::INativeDriverSink::on_native_excursion ( const NativeDriverPoint & point)
pure virtual

A point that updates open lots' favorable and adverse excursions without offering a match.

◆ on_native_calculation()

virtual void pineforge::native_driver_v5::INativeDriverSink::on_native_calculation ( const Bar & script_bar,
const NativeCoordinate & coordinate )
pure virtual

The script bar's calculation point, with the complete script bar and its coordinate.

The consumer turns it into the host's on_native_bar / on_native_recalculate call.


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