Skip to content

@livefolio/sdk / Features

Type Alias: Features

Features = Readonly<Record<string, unknown>>

Defined in: strategy/types.ts:12

Constraint on the feature map type parameter used throughout the strategy API. A Features object is a plain, readonly record that maps string keys to arbitrary computed values. Keeping it generic (rather than forcing Record<string, number>) lets callers attach structured objects, series snapshots, or price maps alongside numeric scalars.

Released under the MIT License.