Quick Start
Schema
entities
Markets, events, categories, exchanges, assets, people, organizations. Each has a type, name, JSON properties, and HMAC signature.
relationships
Directed typed edges between entities. Types:
correlated_with, caused_by, part_of, hedges, competes_with, related_to, influences, depends_on. Each has a weight and validity window.facts
Timestamped assertions about entities. Types:
observation, signal, outcome, correlation, price_move, settlement, edge_detected, regime_change. Each has a confidence score and optional expiry.Entities
Seven types:market, event, category, exchange, asset, person, organization.
Relationships
Directed, weighted, temporal. Both endpoints must exist. A unique constraint on(source, target, type, valid_from) prevents duplicates.
valid_from and valid_to. When valid_to is NULL, it is active. Expiring a relationship sets valid_to = now so the historical record is preserved.