Skip to content

@livefolio/sdk / RuleTreeState

Type Alias: RuleTreeState

RuleTreeState = ReadonlyMap<string, 0 | 1>

Defined in: tactical/types.ts:322

Persistent state carried across rebalance steps for all named Comparison nodes that use hysteresis (tolerance set). Maps comparison.id to the last evaluated outcome: 1 = condition was true, 0 = condition was false.

Managed internally by fromSpec; exposed as a type for testing and for callers that drive evaluateRuleTree directly.

Released under the MIT License.