@livefolio/sdk / AssetRef
Type Alias: AssetRef
AssetRef =
object
Defined in: tactical/types.ts:15
A reference to an asset within a TacticalSpec. Unlike the runtime Asset type, AssetRef is the spec-form representation: it lives inside serialized JSON specs and carries only the fields a spec author needs to declare.
id is the stable opaque identifier (see AssetId); symbol is the human-readable ticker; exchange is optional. kind selects the asset variant; absent kind defaults to 'equity' for backward compatibility with v0.4 specs authored before macro support landed.
Properties
exchange?
optionalexchange?:string
Defined in: tactical/types.ts:21
Optional MIC or common exchange name, e.g. 'NYSE'. Equity-only.
id
id:
AssetId
Defined in: tactical/types.ts:17
Stable opaque asset identifier matching AssetId.
kind?
optionalkind?:"equity"|"macro"
Defined in: tactical/types.ts:27
Asset class. Defaults to 'equity' when omitted. Set to 'macro' to author FRED-style time-series assets that route to a non-equity DataFeed (typically via RoutingDataFeed).
symbol
symbol:
string
Defined in: tactical/types.ts:19
Human-readable ticker symbol, e.g. 'AAPL'.