thru.capital

Real-time market intelligence.
System: Active
Latency: < 1.2ms | ClickHouse Core v26
// Technical Documentation
This ledger defines the technical specifications, data architecture, and integration protocols for the Thrunode ecosystem.

1. Engine & Data Architecture

/docs#engine

The core data processing and storage framework operates on an append-only, zero-proxy architecture built on ClickHouse Core v26.

Precision Standard Decimal128(8). Floating-point arithmetic is strictly prohibited in all critical execution paths to eliminate precision drift.
Storage Tiers  
Hot Storage 730-day rolling window of microsecond-level raw telemetry stored natively on dedicated nvme hardware.
Cold Storage 50-year immutable archival layer compiled daily into strictly typed, loss-free Apache Parquet blocks.
Write Protocol Append-only ledgers using atomic MergeTree engines. Updates and deletes are disabled by design to enforce absolute historical permanence.
Compute Isolation Public evaluation queries run within a hardware-gated sandbox environment (thrunode_sandbox). Queries are strictly resource-constrained via the database engine to guarantee production pipeline isolation:
max_threads = 2 Lowest CPU execution priority
max_memory_usage = 1GB Per-query memory cap
max_execution_time = 10s Deterministic query termination

2. Model Context Protocol (MCP) Integration

/docs#mcp

The platform exposes a remote ASGI-wrapped transport layer utilizing the Model Context Protocol (MCP), optimized for direct programmatic ingestion by autonomous AI workforces and algorithmic systems.

Gateway Interface Secure Server-Sent Events (SSE) routed via direct Cloudflare Tunnel to isolated local application ports (:8443). Vercel edge layers are bypassed entirely to support long-lived data streams.
Cryptographic Attestation Node infrastructure states and compliance metrics are verified anonymously via a signed Ed25519 cryptographic document located at /.well-known/attestation. The registry enforces strict YYYY-MM-DD protocol versioning, annual key rollovers with continuity proofs, and an explicit post-quantum migration target (ml-dsa-44) to guarantee decadal permanence.
Enforced Tooling Schema  
run_select_query Execute read-only SELECT queries. Enforces an application-layer limit of ≤ 10,000 rows and a maximum sliding lookup window of 168h (7 days).
get_schema Retrieve deterministic column-level DDL definitions for whitelisted sandbox tables.
list_tables Enumerate active sandbox tables with real-time row counts.

3. 4-Layer Semantic Ontology

/docs#ontology

Thrunode translates multi-venue raw order-flow into a structured, non-lossy dictionary, avoiding the fragmentation anomalies common in standard aggregators.

Supported Venues Binance (Spot/Futures), Bybit (Spot/Linear), Hyperliquid, Coinbase Spot, OKX (Spot/Futures), Deribit (Spot/Futures linear contracts).
Core Execution Entities  
trades Granular, tick-by-tick cross-venue execution logs.
liquidations Real-time tracking of forced margin liquidations.
book_snapshots High-density L1/L2 order book depth matrices.
market_metrics Continuous tracking of Open Interest, Funding Rates, and Delta Imbalances.
The Interpretation Stack  
L1/L2 Rust Core

Real-time, deterministic Regime Classification (VPIN, Hurst exponent) and structural event detection — Absorption, Cascade, Compression Break, Failed Expansion, Trapped Positions, Momentum Exhaustion.

L3/L4 Python/AI Core

FAISS-based vector similarity checking matched against sandboxed, ontology-enforced AI text synthesis blocks.

4. Infrastructure Allocation & Settlement

/docs#settlement

Access to Thrunode data structures is partitioned into distinct infrastructure delivery paths. Provisioning is fully automated via the allocation console.

[ ALLOCATE RESOURCES ]
7-Day Sandbox

Publicly available via the remote MCP gateway. Limited to a 7-day rolling window with automated data evaporation via ClickHouse TTL clauses.

730-Day Active

Unlocks direct, unthrottled access to the full 730-day active ClickHouse core ledger, high-priority query processing, and live streaming multi-venue sockets.

50-Year Archive

Provides bulk programmatic access to the multi-year historical archive via cryptographically pre-signed, S3-compatible edge URLs (Cloudflare R2/Backblaze B2) for local model training.

Settlement Protocols Accounts are provisioned upon programmatic verification of on-chain network settlement.
BTC Native Digital Commodity
USDC / USDT Fiat-Pegged Liquidity over Solana or Ethereum ERC-20
FIAT Standard corporate clearing channels