|
PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <pineforge/native_module.hpp>#include <cstdint>#include <iostream>#include <optional>#include <variant>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 () |
| PINEFORGE_EXPORT_NATIVE_STRATEGY | ( | NativeSelectedExample | ) |
| int native_selected_example_host_epoch | ( | ) |
Definition at line 260 of file native_selected_strategy.cpp.
References pf_abi_version(), and PF_API.
| int native_selected_example_lifecycle | ( | pf_strategy_t | strategy | ) |
Definition at line 265 of file native_selected_strategy.cpp.
References PF_API.
| int native_selected_example_failure_code | ( | pf_strategy_t | strategy | ) |
Definition at line 269 of file native_selected_strategy.cpp.
References PF_API.
| 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.
| int native_selected_example_host_sized_applied | ( | pf_strategy_t | strategy | ) |
Definition at line 277 of file native_selected_strategy.cpp.
References PF_API.
| 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.
| int native_selected_example_reversal_applied | ( | pf_strategy_t | strategy | ) |
Definition at line 287 of file native_selected_strategy.cpp.
References PF_API.
| double native_selected_example_reversal_opened_units | ( | pf_strategy_t | strategy | ) |
Definition at line 292 of file native_selected_strategy.cpp.
References PF_API.
| int native_selected_example_reversal_terminal_kind | ( | pf_strategy_t | strategy | ) |
Definition at line 297 of file native_selected_strategy.cpp.
References PF_API.
| int native_selected_example_selected_applied | ( | pf_strategy_t | strategy | ) |
Definition at line 302 of file native_selected_strategy.cpp.
References PF_API.
| double native_selected_example_selected_ticket | ( | pf_strategy_t | strategy | ) |
Definition at line 307 of file native_selected_strategy.cpp.
References PF_API.
| int main | ( | void | ) |
Definition at line 314 of file native_selected_strategy.cpp.
References kBarCount, kBars, and make_spec().