PYPYLAB
OPEN SOURCE

P07 · Financial Data Infrastructure

pytrade-sms

A securities metadata standard and retrieval layer spanning asset identity, search indexes, business categories, extended attributes and cross-provider mappings.

PythonData ModelingMetadataSearchIndexing
MODEL

Separate identity, categories and extended attributes.

Core Index

Globally unique code identity plus name, pinyin, asset type and market fields used for exact and interactive lookup.

Business Categories

Industry hierarchy, listing status, tags and index memberships modeled for multi-dimensional filtering.

Extended Attributes

Asset-specific properties and external-provider mappings kept outside the hot search identity surface.

Search primitive

Composite pinyin index

Full-pinyin and initial-letter forms support terminal-style interactive symbol discovery.

Interoperability

Provider mapping

The metadata model reserves mapping semantics for identifiers from providers such as Bloomberg and Reuters.

EXAMPLE

Typed metadata query surface.

from pytrade.sms.public_api import PrivateSMS as SMSMetadataEngine sms = SMSMetadataEngine() records = sms.query( filters={"market": ["SH", "SZ"], "asset_type": "stock", "tags__not": "ST"}, limit=-1, )