PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::metrics::EquityMetricsFold Class Reference

#include <metrics_fold.hpp>

Public Member Functions

void fold (const pf_equity_point_t &point, std::int64_t month_key, bool observation=true, bool exposed=false)
 
bool replace_last (const pf_equity_point_t &point, std::int64_t month_key)
 
const pf_equity_point_t * held_point () const
 
std::int64_t held_month_key () const
 
bool held_observation () const
 
bool held_exposed () const
 
EquityFoldSnapshot first_pass () const
 

Detailed Description

Definition at line 393 of file metrics_fold.hpp.

Member Function Documentation

◆ fold()

void pineforge::metrics::EquityMetricsFold::fold ( const pf_equity_point_t & point,
std::int64_t month_key,
bool observation = true,
bool exposed = false )
inline

Definition at line 395 of file metrics_fold.hpp.

◆ replace_last()

bool pineforge::metrics::EquityMetricsFold::replace_last ( const pf_equity_point_t & point,
std::int64_t month_key )
inline

Definition at line 406 of file metrics_fold.hpp.

◆ held_point()

const pf_equity_point_t * pineforge::metrics::EquityMetricsFold::held_point ( ) const
inline

Definition at line 412 of file metrics_fold.hpp.

◆ held_month_key()

std::int64_t pineforge::metrics::EquityMetricsFold::held_month_key ( ) const
inline

Definition at line 413 of file metrics_fold.hpp.

◆ held_observation()

bool pineforge::metrics::EquityMetricsFold::held_observation ( ) const
inline

Definition at line 414 of file metrics_fold.hpp.

◆ held_exposed()

bool pineforge::metrics::EquityMetricsFold::held_exposed ( ) const
inline

Definition at line 415 of file metrics_fold.hpp.

◆ first_pass()

EquityFoldSnapshot pineforge::metrics::EquityMetricsFold::first_pass ( ) const
inline

Definition at line 416 of file metrics_fold.hpp.


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