← Back
Home › Systems › Finance and trading

index-calculation

real-time index computation and administration: divisor and corporate-action maintenance, free-float and capping methodology, rebalances, dissemination, benchmark licensing

S&P DJI, MSCI, FTSE Russell, STOXX

SystemTechniques · 20Primitives · 75 index-calculation Pub/sub fan-outdistributed · medium: Deliver one published message to every subscriber of a topic by sharing one encoded payload and giving each connection a bounded queue with an explicit slow-consumer policy.›Windowed stream aggregationdistributed · medium: Group events by event-time window per key, keep one partial aggregate per slice, and emit a window when the watermark passes its end.›Hot-standby redundancyembedded · medium: A second, always-current controller shadows the primary and takes over within a few cycles of silence; epochs stop the old primary from fighting back.›Usage meteringfinance · medium: Counting tokens/requests per user and key, aggregating for quotas and billing with idempotent eventsQuadratic programmingoptimization · medium: Convex QP solvers (active-set, interior-point, ADMM) for constrained optimizationTamper-evident audit logsecurity · medium: An append-only log whose Merkle root, signed per batch, lets anyone verify an entry is present and history was never rewritten, with log-size proofs.›Bitemporal datastorage · medium: Valid time plus transaction time on every record for as-of queries, back-dating and correctionsTrusted timestampingsecurity · low: RFC 3161 time-stamp tokens: a TSA signs a hash with time, proving data existed thenSecurity master symbologydata-structures · low: Cross-reference instrument identifiers (ISIN, CUSIP, SEDOL, FIGI, tickers) with effective-dated mappings and listing-level resolutionIndex divisor continuityeconomics · low: Divisor adjustment that keeps an index level continuous across constituent and share changesWeight capping redistributioneconomics · low: Iterative capping of constituent weights with excess redistribution to othersCorporate-action adjustmentfinance · low: Keep raw bars plus a tiny table of cumulative backward factors, built by one reverse scan over events and applied at read time, versioned by as-of date.›Currency cross rate triangulationfinance · low: Deriving cross rates through a base currency with correct precision, inversion and spreadsLow-latency hot pathfinance · low: Rules for microsecond trading paths: one pinned busy-polling thread per stage, no allocation, syscalls, locks or page faults after startup, kernel-bypass I/O, and measured tails.›Money representationfinance · low: Store money as integer minor units with an explicit currency exponent, compute in wider integers, and round once with a named rounding mode.›Reconciliationfinance · low: Match internal ledger records against bank and processor statements by reference, then amount and date window; every unmatched or mismatched item becomes an exception.›Deterministic fixed-point mathgame-networking · low: Bit-identical simulation math across CPUs, compilers and builds: integer fixed-point formats, the float traps (FMA, x87, fast-math, libm), deterministic trig, sqrt and RNG.›Sequenced multicast feednetworking · low: Exchange order-by-order data as fixed binary messages in sequenced UDP multicast packetsDual control approvalsecurity · low: Four-eyes / maker-checker approval with quorum policies for sensitive operationsSurvivorship rulesstorage · low: Build the golden record by choosing each attribute from competing source records using trust rank, recency and completeness rulesBusiness day calendarssystems · low: Holiday calendars, business-day adjustment rules (following, modified following) and settlement cyclesCalendar date arithmeticsystems · low: Civil dates, time zones (tzdb), DST gaps, month-end anchoring and duration mathSPSC ring bufferdata-structures · low: Bounded wait-free queue for exactly one producer and one consumer thread, built from an array and two indices with acquire/release ordering.›+ 13 more techniques+ 59 more primitives

Similar systems

Share the most building blocks with this one.