PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
Loading...
Searching...
No Matches
pineforge::hpo::BacktestConfiguration Struct Reference

Immutable engine settings applied to every execution owned by a TrialExecutor. More...

#include <pineforge/hpo/trial_executor.hpp>

Public Attributes

std::string input_timeframe
 Timeframe represented by the input Dataset bars.
 
std::string script_timeframe
 Pine strategy execution timeframe; may differ from the input timeframe.
 
std::string chart_timezone
 Optional chart timezone applied through the strategy plugin.
 
bool bar_magnifier = false
 Enables PineForge bar-magnifier sampling.
 
int magnifier_samples = 4
 Positive number of magnifier samples per sub-bar.
 
pf_magnifier_distribution_t magnifier_distribution = PF_MAGNIFIER_ENDPOINTS
 Distribution used to place magnifier samples.
 
bool capture_equity_curve = true
 Whether ReportSnapshot owns a copy of the report equity curve.
 

Detailed Description

Immutable engine settings applied to every execution owned by a TrialExecutor.

Definition at line 23 of file trial_executor.hpp.

Member Data Documentation

◆ bar_magnifier

bool pineforge::hpo::BacktestConfiguration::bar_magnifier = false

Enables PineForge bar-magnifier sampling.

Definition at line 31 of file trial_executor.hpp.

◆ capture_equity_curve

bool pineforge::hpo::BacktestConfiguration::capture_equity_curve = true

Whether ReportSnapshot owns a copy of the report equity curve.

Scalar-only HPO can disable this copy. The default retains it for portfolio and custom objective consumers.

Definition at line 41 of file trial_executor.hpp.

◆ chart_timezone

std::string pineforge::hpo::BacktestConfiguration::chart_timezone

Optional chart timezone applied through the strategy plugin.

Definition at line 29 of file trial_executor.hpp.

◆ input_timeframe

std::string pineforge::hpo::BacktestConfiguration::input_timeframe

Timeframe represented by the input Dataset bars.

Definition at line 25 of file trial_executor.hpp.

◆ magnifier_distribution

pf_magnifier_distribution_t pineforge::hpo::BacktestConfiguration::magnifier_distribution = PF_MAGNIFIER_ENDPOINTS

Distribution used to place magnifier samples.

Definition at line 35 of file trial_executor.hpp.

◆ magnifier_samples

int pineforge::hpo::BacktestConfiguration::magnifier_samples = 4

Positive number of magnifier samples per sub-bar.

Definition at line 33 of file trial_executor.hpp.

◆ script_timeframe

std::string pineforge::hpo::BacktestConfiguration::script_timeframe

Pine strategy execution timeframe; may differ from the input timeframe.

Definition at line 27 of file trial_executor.hpp.


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