mainsequence-assets-and-translation

Map assets to upstream market data using translation rules.

6|1|Updated Nov 14, 2024
One-click install
npx skills add https://github.com/mainsequence-sdk/mainsequence-sdk --skill mainsequence-assets-and-translation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mainsequence-assets-and-translation
Source: https://github.com/mainsequence-sdk/mainsequence-sdk/tree/main/docs/astro/markets_platform/assets_and_translation
Command: npx skills add https://github.com/mainsequence-sdk/mainsequence-sdk --skill mainsequence-assets-and-translation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mapping assets to upstream market data and managing asset identity in Main Sequence projects can be error-prone without a defined strategy for registration, translation, and routing.

Core Features & Use Cases

  • Asset identity decisions: distinguish between public vs custom assets and ensure stable unique_identifiers.
  • Translation-based routing: define AssetTranslationTable rules to connect assets to upstream time series and decide when AssetCategory should represent a universe.
  • Validation and governance: enforce exactly one matching translation rule per asset and maintain a clean dependency manifest.

Quick Start

Define your asset identity strategy and mapping: decide which assets are public or custom and outline how each maps to upstream data.

Frequently Asked Questions about mainsequence-assets-and-translation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map assets to upstream market data using translation rules?

You map assets to upstream market data by defining AssetTranslationTable rules that connect each asset to its corresponding time series, ensuring deterministic routing with exactly one matching translation rule per asset.

What is the best way to distinguish public assets from custom assets in a data pipeline?

Distinguishing public versus custom assets requires applying asset identity decisions that assign stable unique identifiers and asset categories, ensuring clean dependency manifests and reliable upstream data routing.

When do I need an asset category to represent a universe instead of individual securities?

You need an asset category to represent a universe when defining AssetTranslationTable rules that route multiple underlying assets through a collective upstream time series rather than mapping each security individually.

How do I enforce deterministic routing for asset registration to prevent data conflicts?

Deterministic routing is enforced by validating that exactly one matching translation rule applies per asset, preventing ambiguous upstream data mapping and maintaining stable asset identities across your project.

Why does my asset translation strategy result in duplicate or unmatched upstream time series?

Duplicate or unmatched upstream time series occur when asset identity decisions lack stable unique identifiers or when AssetTranslationTable rules allow multiple matching rules for a single asset.

Can I manage asset translation and routing without predefined asset categories?

Managing asset translation without predefined asset categories risks non-deterministic routing, as categories are required to define whether an asset maps to a specific time series or represents a broader universe.