Skip to contents

ledgr_business_objective() composes one or more ledgr-owned criterion steps with logical AND. The object is a serializable eligibility plan. It does not evaluate a sweep, rank candidates, select a winner, promote a candidate, or participate in run, sweep, or walk-forward identity.

Usage

ledgr_business_objective(...)

Arguments

...

Criterion steps created by the ledgr_objective_*() functions.

Value

A ledgr_business_objective object with ordered criteria, canonical plan_json, and business_objective_hash fields.

Examples

objective <- ledgr_business_objective(
  ledgr_objective_max_drawdown(0.20),
  ledgr_objective_min_trades(30),
  ledgr_objective_positive_trajectory(0)
)
objective
#> ledgr business objective
#> ========================
#> Composition: all criteria must pass
#> Criteria:    3
#> 1. max_drawdown [summary.max_drawdown]
#> 2. min_trades [summary.n_trades]
#> 3. positive_trajectory [retained_equity]
#> Hash:        4b0d6b16d6dc