clickhouse: commit exit-leg/reconstruction/maras DDLs + UV/violet DDLs (M1 vendor reconcile, upstream-first)

This commit is contained in:
Codex
2026-07-12 19:13:25 +02:00
parent d763f77516
commit dc90f6d77e
46 changed files with 1167 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
-- dolphin_uv.prime_decisions — PRIME proceedings journal (parity-review sink)
-- Created by T2 Part 1 journal hardening
-- Schema matches build_journal_frame() in blue_prime/journal.py
CREATE TABLE IF NOT EXISTS dolphin_uv.prime_decisions
(
ts DateTime64(3), -- UTC, 'YYYY-MM-DD HH:MM:SS.fff'
scan_number UInt64,
mono_ns UInt64,
vel_div Float64,
posture String,
esof_json String,
vol_ok UInt8,
trade_direction Int8,
efsm_pending_slots UInt8,
hooks_json String,
has_entry UInt8,
asset String,
side String,
leverage Float64,
bar_idx UInt32,
entry_json String,
deps_json String,
)
ENGINE = MergeTree()
ORDER BY (scan_number, ts)
SETTINGS index_granularity = 8192