Skip to content

@livefolio/sdk / TacticalFeatures

Type Alias: TacticalFeatures

TacticalFeatures = object

Defined in: tactical/from-spec.ts:30

The feature bundle computed on each rebalance step and passed to the rule tree. Produced by the features method of the Strategy returned by fromSpec.

  • values — named indicator results keyed by the id field of each TacticalFeatureSpec. A value is undefined when the indicator cannot be computed for that bar (e.g. insufficient history).
  • prices — most-recent closing prices for each asset in the universe, keyed by asset ID.

Properties

prices

prices: ReadonlyMap<AssetId, number>

Defined in: tactical/from-spec.ts:32


values

values: ReadonlyMap<string, number | undefined>

Defined in: tactical/from-spec.ts:31

Released under the MIT License.