PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
native_selected_strategy.cpp File Reference
#include <pineforge/native_module.hpp>
#include <cstdint>
#include <iostream>
#include <optional>
#include <variant>
Include dependency graph for native_selected_strategy.cpp:

Go to the source code of this file.

Functions

 PINEFORGE_EXPORT_NATIVE_STRATEGY (NativeSelectedExample)
 
int native_selected_example_host_epoch ()
 
int native_selected_example_lifecycle (pf_strategy_t strategy)
 
int native_selected_example_failure_code (pf_strategy_t strategy)
 
std::uint32_t native_selected_example_failure_discriminator (pf_strategy_t strategy)
 
int native_selected_example_host_sized_applied (pf_strategy_t strategy)
 
double native_selected_example_host_sized_opened_units (pf_strategy_t strategy)
 
int native_selected_example_reversal_applied (pf_strategy_t strategy)
 
double native_selected_example_reversal_opened_units (pf_strategy_t strategy)
 
int native_selected_example_reversal_terminal_kind (pf_strategy_t strategy)
 
int native_selected_example_selected_applied (pf_strategy_t strategy)
 
double native_selected_example_selected_ticket (pf_strategy_t strategy)
 
int main ()
 

Function Documentation

◆ PINEFORGE_EXPORT_NATIVE_STRATEGY()

PINEFORGE_EXPORT_NATIVE_STRATEGY ( NativeSelectedExample )

◆ native_selected_example_host_epoch()

int native_selected_example_host_epoch ( )

Definition at line 260 of file native_selected_strategy.cpp.

References pf_abi_version(), and PF_API.

◆ native_selected_example_lifecycle()

int native_selected_example_lifecycle ( pf_strategy_t strategy)

Definition at line 265 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_failure_code()

int native_selected_example_failure_code ( pf_strategy_t strategy)

Definition at line 269 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_failure_discriminator()

std::uint32_t native_selected_example_failure_discriminator ( pf_strategy_t strategy)

Definition at line 273 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_host_sized_applied()

int native_selected_example_host_sized_applied ( pf_strategy_t strategy)

Definition at line 277 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_host_sized_opened_units()

double native_selected_example_host_sized_opened_units ( pf_strategy_t strategy)

Definition at line 282 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_reversal_applied()

int native_selected_example_reversal_applied ( pf_strategy_t strategy)

Definition at line 287 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_reversal_opened_units()

double native_selected_example_reversal_opened_units ( pf_strategy_t strategy)

Definition at line 292 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_reversal_terminal_kind()

int native_selected_example_reversal_terminal_kind ( pf_strategy_t strategy)

Definition at line 297 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_selected_applied()

int native_selected_example_selected_applied ( pf_strategy_t strategy)

Definition at line 302 of file native_selected_strategy.cpp.

References PF_API.

◆ native_selected_example_selected_ticket()

double native_selected_example_selected_ticket ( pf_strategy_t strategy)

Definition at line 307 of file native_selected_strategy.cpp.

References PF_API.

◆ main()

int main ( void )

Definition at line 314 of file native_selected_strategy.cpp.

References kBarCount, kBars, and make_spec().