DEV Community

Danny C.
Danny C.

Posted on Edited on

One Platform for Market Analysis: Exploring NYSE Feeds on Databricks

One Platform for Market Analysis: Exploring NYSE Feeds on Databricks

Subtitle: Building a Governed Financial Briefing AI Agent with Unity Catalog and Genie
Core Tech Stack: Serverless Lakehouse / Delta Tables / Unity Catalog / SQL-Grounded AI (Genie Agent)

1. Project Vision and Architecture Design

1.1 Project Proposal: Auditable Market Analysis AI

In financial market analysis, data silos and hallucinations from general-purpose generative AI are two major obstacles. This project uses the unified Databricks platform to build a highly auditable financial analysis agent:

  • Core Pain Point: Market feeds and fund research are isolated from each other; general-purpose AI lacks real-time structured data and a governed knowledge base, forcing it to guess.

  • Solution: A TV stock program expert-style AI (Stock TV Expert) built on Serverless Databricks.

  • How It Works: Integrates NYSE SQL market time-series data with 82 fund research guides via Unity Catalog.

  • Target Audience and Timing: Helps investors instantly obtain cited calculation formulas and visual charts during key macroeconomic events such as FOMC rate decisions and US CPI releases (for example, HKD return calculation formulas and automated 10-scenario FX comparison charts).

1.2 Project Scope and Three-Tier Architecture Design

The entire system is structured from bottom to top into three core layers:

  • 01 / Structured Data (Market Time Series): Covers 8 major global benchmark indices with a total of 37,521 daily closing price records.

  • 02 / Unstructured Corpus (Investment Knowledge Base): Contains 82 topic-tagged fund and macroeconomic analysis paragraphs.

  • 03 / Conversational Application Layer (Genie Financial Program Expert): Combines SQL querying and RAG retrieval to produce 90-second market briefings with strict inline citations.

2. Lakehouse Environment Setup: 23-Step Implementation Walkthrough

This section documents the complete 23-step implementation process, from Databricks account login, serverless workspace creation, and Unity Catalog asset governance to Genie Agent initialization and multi-step reasoning verification.

2.1 Phase 1: Account Login and Serverless Workspace Setup (Steps 1–6)

Step 1: Log in to Databricks Account

  • Login Portal: Enter Databricks Free Edition.

  • Work Account: Select the linked AWS account (chandannydev).

  • Permission Verification: Confirm Account Owner access permissions.

Step 2: Enter the Account Console

  • Initial State: No active workspace assigned yet (displays You are not a member of any workspaces).

  • Navigation: Click the workspace selector (Select workspace) in the top-right corner.

  • Next Action: Open the account workspace management page (See all workspaces in your account).

Step 3: Create a Workspace

  • Workspace Configuration: Create a workspace named myworkspace in the AWS us-east-1 (N. Virginia) region.

  • Serverless Compute: Check Use serverless compute with default storage to eliminate manual cluster sizing and maintenance overhead.

  • Managed Storage: Default cloud storage space is automatically configured by the system.

Step 4: Workspace Provisioning

  • Compute and Storage: Serverless compute paired with Databricks-managed storage.

  • Endpoint URL: The system automatically assigns a dedicated cloud workspace URL

  • Security: Identity federation (Identity federation: Enabled) and default network policy (default-policy) are enabled.

Step 5: Verify the Workspace

  • Tier and Compute: Confirm Premium tier in Serverless only mode.

  • Metastore: Confirm automatic binding to metastore_aws_us_east_1.

  • Identity and Status: Once the status changes to Running, click Open to launch the workspace.

Step 6: Launch the Workspace Hub

  • Workspace Home: Enter the active myworkspace interface.

  • Genie and AI Tools: Direct access to Genie One and Agents features.

  • Unified Sidebar: Quickly switch between Catalog, Jobs & Pipelines, SQL Editor, and AI/ML tools.

2.2 Phase 2: Unity Catalog Volumes, Schema, and Raw Asset Upload (Steps 7–14)

Step 7: Open the Data Ingestion Menu

  • Action Menu: Click the + New button at the top left.

  • Data Ingestion: Select Add or upload data.

  • Volume Option: Click Upload files to a volume (supports storing any file format such as PDFs, images, CSVs, and TXTs).

Step 8: Select Destination Volume

  • UI Upload Limit: Up to 100,000 files per upload, with a maximum of 5 GB per file.

  • Large File CLI Command: For files larger than 5 GB, use the Databricks CLI command databricks fs cp.

  • Target Location: Select an existing volume or click + New volume to create a new one.

Step 9: Stage Raw Data Files

  • Governed Landing Zone: Stage raw files directly in a Unity Catalog Volume.

  • Source Assets: Upload the setup guide Markdown file (Download the Databricks Market TV Expert setup guide.md) and the investment knowledge base text file (下載完整投資與基金分析知識庫.txt).

  • Pipeline Ready: Notebooks will subsequently parse the CSV and text files and write them into Delta tables.

Step 10: Create a Managed Volume

  • Volume Name: Name it stock_tv_program.

  • Storage Type: Select Managed volume (files are stored in a location managed by Unity Catalog).

  • Data Governance: All files are governed under unified Unity Catalog permissions and auditing.

Step 11: Create the Project Schema

  • Namespace Level: Create the second-level Schema stock_tv_program within Unity Catalog's three-level namespace (Catalog -> Schema -> Object).

  • Storage Root: Keep the default Metastore storage location.

  • Managed Scope: Centrally organizes tables, views, and volumes for the project.

Step 12: Assign Volume Namespace

  • Schema Created: Confirm stock_tv_program has been added under the myworkspace catalog.

  • Three-Level Path: Bind the volume to myworkspace.stock_tv_program.

  • Create Volume: Click Create to finalize the governed data landing location.

Step 13: Upload Files to Volume

  • File Validation: System confirms no filename conflicts (No conflicts detected).

  • Target Path: /Volumes/myworkspace/stock_tv_program/stock_tv_program.

  • Confirm Upload: Click Upload to permanently store the assets.

Step 14: Verify Staged Files

  • Setup Guide: Confirm the Markdown specification document (27.11 KB) is ready.

  • Knowledge Corpus: Confirm the fund analysis guide TXT (139.65 KB) is ready.

  • Catalog Explorer: Verify via Catalog Explorer that the files are directly readable by Genie Code.

2.3 Phase 3: Genie Agent Initialization, Benchmarks, and Delta Table Verification (Steps 15–19)

Step 15: Initialize Genie Agent

  • Four-Step Wizard: Complete (1) Define agent details, (2) Identify relevant data, (3) Prepare business context, and (4) Add initial benchmarks in sequence.

  • Volume Reference: Pass the paths of the two staged volume files to Genie Code.

  • Genie Code: Automatically reads the setup guide and builds the Market Insights: Stock TV Expert persona.

Step 16: Configure Benchmark Verification Questions

  • Seed Questions: Select benchmark questions such as Fed rate-hike beneficiary funds (for example, Which fund types benefit when the Fed raises rates? or What are the risks of buying a USD money-market fund with HKD?).

  • Compliance Guardrails: Explicitly state the market education positioning and functional boundaries (does not provide real-time trading signals or personalized investment advice).

  • Data Verification: Validate schema compatibility through live queries.

Step 17: Verify Delta Tables

  • Market Feed CSV: Process the historical index data CSV (index stock 2026-12-05 - Sheet1.csv, 991.78 KB).

  • Governed Catalog Objects: Confirm that 4 Delta tables + 1 SQL view have been generated under myworkspace.stock_tv_program.

  • SQL Query Engine: Attach the Serverless Starter Warehouse to execute queries.

Step 18: Inspect Latest Market Snapshot (latest_market_snapshot)

  • SQL View: Consolidates 8 major global indices (DJIA, DXY, HSCEI, HSI, NASDAQ, SP500, TRACKER_2800, UK_INDEX).

  • Latest Date: All data verified as updated through 2026-12-04.

  • Decimal Return Columns: Retains high-precision decimal return_1d and return_5d columns for real-time SQL calculations.

Step 19: Inspect Market Regime Classification (market_regimes)

  • Trend Signals: Built-in trend_20_50 and trend_50_200 moving average direction flags (UP / DOWN).

  • Market Regime State: Pre-tagged RISK_ON / RISK_OFF status column.

  • Signal Strength: Categorized into HIGH / MEDIUM / LOW strength tiers based on 252-day drawdown (drawdown_252).

2.4 Phase 4: Genie Live Queries, Auto-Visualization, and Multi-Step Reasoning Traces (Steps 20–23)

Step 20: Live Query — HKD FX Profit Formula

  • User Prompt: Please provide the profit calculation formula for investing in US funds with HKD, and specifically how much return can be earned?

  • Derived Formula: Genie automatically outputs the compounding formula of fund return multiplied by FX change, marked in Reviewable mode.

Step 21: Auto-Generated Profit Scenario Chart

  • Instant Visualization: Genie automatically plots a bar chart comparing 10 combinations of FX and fund return scenarios.

  • 100,000 HKD Matrix: Displays the complete net profit distribution ranging from the best case of +11,100 HKD to the worst case of -5,950 HKD.

  • Inspectable SQL: Clicking Show code reveals the complete underlying SQL query and charting logic.

Step 22: SQL and RAG Grounded Reasoning Trace

  • RAG Knowledge Retrieval: Prioritizes retrieving paragraphs on HKD investing in US funds and FX calculations from knowledge_chunks.

  • Market Feed SQL: Queries the latest snapshots of the US Dollar Index (DXY) and US equities in real time.

  • Auditability: Fully exposes the Thought process with zero black-box operations and no guessing from memory.

Step 23: Macro Cycle Multi-Step Reasoning Trace

  • Multi-Step Plan: Faced with a complex macro asset rotation prompt (optimal timing for allocating bonds, gold, and oil, plus rotation chain milestones), Genie automatically plans and executes 7 grounded SQL queries (including full market snapshots, knowledge base retrieval, four-phase cycle definitions, and 1–5 asset attractiveness scores per phase).

  • Output Structure: Produces a rigorous four-stage interest rate cycle transmission chain analysis.

3. Data Pipeline Validation, Data Model, and Compliance Guardrails

3.1 Data Pipeline Validation Results

After ingesting data into the Lakehouse, the system passed four key quality validations:

  • Parsed Index Closing Records: 37,521 rows (complete historical trading day closing prices).

  • Global Benchmark Indices: 8 indices (covering the period 2006–2026).

  • Topic-Tagged Knowledge Chunks: 82 chunks (structured fund and macro research paragraphs).

  • Non-Positive Anomalous Price Records: 0 rows (zero anomalies, ensuring accurate return calculations).

Human-in-the-Loop Safety Gate: Before executing any Notebook data overwrite operation, the system enforces explicit operator confirmation to prevent accidental overwriting of production data.

3.2 Schema: myworkspace.stock_tv_program

  • market_prices (Delta Table): Daily closing prices of the 8 major global benchmark indices.

  • market_features (Delta Table): Decimal returns, moving averages, annualized volatility, and maximum drawdowns.

  • market_regimes (Delta Table): Latest RISK_ON / RISK_OFF market regimes and signal strength flags.

  • knowledge_chunks (Delta Table): 82 paragraphs covering money markets, gold, FX, China, and bonds.

  • latest_market_snapshot (SQL View): Latest trading day observation snapshot for each index (as of 2026-12-04).

3.3 Genie Agent Grounding and Compliance Guardrails

To ensure the AI agent meets financial compliance and high accuracy standards, the system enforces a dual discipline.

Data and SQL Discipline:

  • SQL-First Retrieval: Must execute SQL queries against knowledge_chunks and market tables before answering any question.

  • Strict Citation Tagging: Responses enforce source tags in the format [Market:SYMBOL:DATE] and [Knowledge:ID].

  • Derived Metric Calculation: Converts underlying high-precision decimal columns into percentages directly in SQL to avoid LLM mental math errors.

Compliance and Briefing Format:

  • Historical Context Labeling: Explicitly labels the December 2026 corpus as historical context.

  • Zero Trading Signals: Never promises guaranteed profits or provides specific buy/sell order instructions.

  • 90-Second Briefing Flow: Standardized output structure following headline conclusion, core data, bullish/bearish triggers, and risk reminders.

4. Practical Market Analysis Case Studies

Below are three market analysis case studies executed via the Databricks Genie Agent (market data as of 2026-12-04; knowledge base represents December 2026 historical context).

4.1 Analysis 1: Profit Formula and Scenario Matrix for Investing in USD Funds with HKD

Prompt: Profit calculation formula and expected returns for investing in US funds with HKD [Knowledge:14]

Core Multiplicative Return Formula (when investing in USD-denominated US funds with HKD, the final HKD total return is determined by multiplying the fund's own return and the FX change):

  • HKD Total Return = (1 + USD Fund Return Rate) x (1 + USD/HKD FX Change Rate) - 1

  • HKD Net Profit (HKD) = Principal Invested x HKD Total Return

Layer 1: Fund's Own Return (USD-Denominated)

  • USD Money Market Fund: Historical USD annual yield is approximately +4% [Knowledge:14].

  • US Equity Fund: Fluctuates with market conditions; USD net asset value can be positive or negative.

Layer 2: USD/HKD Linked Exchange Rate (7.75–7.85 Band)

  • FX Direction Effect: USD appreciation increases HKD profit; USD depreciation erodes interest [Knowledge:14].

  • Single-Day Warning: Daily money market yield is about +0.011%; if the exchange rate drops more than 0.011% in a single day (e.g., from 7.785 to 7.780, a -0.064% drop), a paper loss appears immediately.

100,000 HKD Scenario Calculation Matrix:

  • Upside Scenario: Fund +10%, USD +1% -> Net Profit +11,100 HKD, Total Return +11.10%.

  • Upside Scenario: Fund +10%, FX Flat -> Net Profit +10,000 HKD, Total Return +10.00%.

  • Upside Scenario: Fund +10%, USD -1% -> Net Profit +8,900 HKD, Total Return +8.90%.

  • Upside Scenario: Fund +5%, USD +1% -> Net Profit +6,050 HKD, Total Return +6.05%.

  • Upside Scenario: Fund +5%, FX Flat -> Net Profit +5,000 HKD, Total Return +5.00%.

  • Yield and Downside Scenario: Money Market +4%/yr, FX Flat -> Net Profit +4,000 HKD, Total Return +4.00%.

  • Yield and Downside Scenario: Fund +5%, USD -1% -> Net Profit +3,950 HKD, Total Return +3.95%.

  • Yield and Downside Scenario: Money Market +4%/yr, USD -0.5% -> Net Profit +3,480 HKD, Total Return +3.48%.

  • Yield and Downside Scenario: Fund -5%, FX Flat -> Net Profit -5,000 HKD, Total Return -5.00%.

  • Yield and Downside Scenario: Fund -5%, USD -1% -> Net Profit -5,950 HKD, Total Return -5.95%.

Scenario Highlights:

  • Strong USD Tailwind (Best Case): Net profit of +11,100 HKD (+11.10%).

  • FX Eroding Yield: A slight -0.5% USD depreciation eats away about 13% of the money market fund's annual interest (profit drops from +4,000 to +3,480 HKD).

  • Downside Compounding Loss (Double Hit): Fund down -5% combined with USD down -1% expands the loss to -5,950 HKD (-5.95%).

Major Indices 21-Day Performance and Volatility (as of 2026-12-04):

  • S&P 500 (7,297): -5.09%, 21-day annualized volatility 31.07%.

  • NASDAQ (24,187): -6.02%, 21-day annualized volatility 42.26%.

  • Dow Jones Industrial Average DJIA (50,761): -4.86%, 21-day annualized volatility 23.24%.

  • US Dollar Index DXY (104.95): +3.43%, 21-day annualized volatility 5.03%.

Practical Risk Reminders:

  • Equity Risk Far Exceeds FX Risk: DXY rising +3.43% helps FX conversion, but US equity annualized volatility of 31%–42% is the dominant driver of P&L [Market:SP500/NASDAQ/DXY:2026-12-04].

  • Short-Term FX Sensitivity: Over a few days to a week, USD/HKD fluctuations can exceed the weekly interest of a low-risk money market fund [Knowledge:14].

  • Daily Management Fee Deduction: Even with 0% subscription and redemption fees, an annual management fee of roughly 0.15%–0.30% is still deducted daily from the NAV [Knowledge:14].

  • Settlement Day Constraints: Open-end fund subscription confirmation typically takes T+2, and redemption settlement takes T+4 to T+7 [Knowledge:6].

4.2 Analysis 2: Next Week (12/8–12/12) Short-Term Tactical Fund Strategy Matrix

Market Backdrop (2026-12-04): DXY is up +3.43% (RISK_ON), whereas US equities are fully RISK_OFF and Hong Kong stocks fell over 10% (drawdown from 52-week high >20%, HIGH RISK_OFF) [Market:DXY/HSI/SP500:2026-12-04].
Key Catalysts: Fed rate decision (12/9) and US CPI release (12/10), which can easily trigger sharp volatility from Monday to Wednesday [Knowledge:5].

Overview of Three Strategies:

  • Steady Yield (R1) — HKD Money Market Funds (ChinaAMC, GaoTeng, Taikang): 1-month return +0.19%–0.20%; estimated weekly return on 100k HKD is ~45–50 HKD; recommended holding period 1 week+, supported by high year-end HIBOR.

  • Balanced (R2) — USD Money Market Fund HKD-Denominated (China Universal): 1-year +4.08% / 1-month +0.16%; estimated weekly return on 100k HKD is ~70 HKD; recommended holding cross-week to year-end, watch for slight USD depreciation risk.

  • Aggressive (R4) — China Equity Fund (Foresight China): 1-month +4.17% / 1-year +3.35%; weekly return uncertain; recommended holding 3 months+, note T+2 buy / T+7 redeem settlement limits.

Tactical Execution Timeline:

  • Monday 12/8 before 15:00: Buy R1 HKD money market fund to capture 6 days of interest.

  • Wednesday 12/9: Closely track FOMC rate decision and USD movement.

  • Thursday 12/10: After CPI data lands, evaluate adding to R2 USD money market fund.

  • Medium-to-Long Term (3M+): Dollar-cost average into R4 China equity fund with a small allocation (10%–20%).

Strategy 1: HKD Money Market Fund (R1) Profit Logic and Triggers

  • Yield Formula: Principal x 0.04%–0.05% (approx. 45–50 HKD per week) [Knowledge:5, 6].

  • 15:00 Cut-Off Rule: Buying before 15:00 on Monday accrues interest starting Tuesday (6 days); buying on Tuesday delays accrual to Thursday (only 4 days) [Knowledge:7].

  • Triggers: Bullish if high HIBOR persists; bearish risk near zero; invalidation if HIBOR plunges sharply.

Strategy 2: USD Money Market Fund (R2) Profit Logic and Triggers

  • 4-Week Estimate: 100,000 HKD earns approx. 280–320 HKD; benefits from 0% subscription/redemption fees and DXY +3.43% tailwind [Knowledge:6].

  • FX Reminder: Slight depreciation within the 7.75–7.85 linked band can still cause minor weekly paper losses [Knowledge:14].

  • Triggers: Bullish on hawkish Fed hike; bearish on sharp USD depreciation; invalidation on DXY technical breakdown.

Strategy 3: China Equity Fund (R4) Profit Logic and Triggers

  • Policy Divergence: PBOC RRR/rate cuts versus Fed rate hikes; low A-share valuations heading into year-end policy meetings [Knowledge:8].

  • Liquidity Constraints: T+2 subscription and T+4 to T+7 redemption mean a round-trip trade cannot be completed within a single week [Knowledge:9].

  • Triggers: Bullish on strong policy stimulus; bearish on US-China geopolitical friction; invalidation on synchronized global risk-off sell-off.

4.3 Analysis 3: Macro Anchors, Global Market Returns, and Four-Stage Asset Rotation Chain

Macro Anchors and Benchmark Status (as of 2026-12-04):

  • DXY (Real Rate Anchor): Close 104.95; 21-day +3.43%, only -0.11% from 52-week high; all moving averages trending UP [Market:DXY:2026-12-04].

  • S&P 500: Close 7,297; 21-day -5.09%, RISK_OFF (MEDIUM strength) [Market:SP500:2026-12-04].

  • NASDAQ: Close 24,187; 21-day -6.02%, 21-day annualized volatility at 42% [Market:NASDAQ:2026-12-04].

  • Hang Seng Index (HSI): Close 22,273; 52-week high drawdown -20.36%, RISK_OFF (HIGH strength) [Market:HSI:2026-12-04].

  • FTSE 100 (UK_INDEX): Close 10,976; 21-day +1.80%, RISK_ON (LOW strength) [Market:UK_INDEX:2026-12-04].

Global Market 21-Day Return Ranking (as of 2026-12-04):

  • RISK_ON Leaders: ICE US Dollar Index DXY (+3.43%), FTSE 100 (+1.80%).

  • RISK_OFF US Equity Pullback: Dow Jones (-4.86%), S&P 500 (-5.09%), NASDAQ (-6.02%).

  • HIGH RISK_OFF Hong Kong Sell-Off: Tracker Fund HKG:2800 (-10.10%), Hang Seng Index (-10.18%), Hang Seng China Enterprises Index (-10.87%).

Central Bank Policy Backdrop and Cycle Reminder:

  • Central Bank Policy: Middle East conflict pushed US inflation to ~4.3% (core >3%); Fed (currently 4.00%–4.25%) has >90% probability of hiking to 4.25%–4.50% on 12/9; Bank of England has ~80%–85% probability of hiking to 4.25% on 12/17 [Knowledge:30, 61].

  • Cycle Reminder: Historical cycle durations vary widely and are for reference only—1970s stagflation lasted ~10 years, whereas the 2022–2023 hiking cycle lasted only ~18 months.

Node 1: Rate Hike Peak (Current: approx. December 2026)

  • Macro Transmission Chain: Oil price shock -> Inflation rebound -> Central banks resume hikes -> Real yields rise -> USD strengthens.

  • Economic Environment: Fed hikes to 4.25%–4.50% (12/9 decision), BoE hikes to 4.25% (12/17). Driven by Middle East conflict oil shocks, US CPI rebounds to 4.3%. DXY nears yearly high at 104.95 with both moving average trends UP [Market:DXY:2026-12-04] [Knowledge:61].

  • Oil / Energy (Fragile Leader): The root cause of this inflation wave rather than its victim. Geopolitical supply constraints plus inelastic demand drove UK energy sector YTD up +14.9% [Knowledge:53].

  • Bonds (Weakest Link in the Chain): Rising yields mechanically depress bond prices. Bond funds fell -0.33% to -2.01% over the past month [Knowledge:39]. Pressure stems not from credit risk, but from higher discount rates shifting valuations downward across the entire bond market.

  • Gold (Stagflation Tug-of-War): Normally rate hikes pressure gold (higher opportunity cost, stronger USD), but when hikes stem from oil-driven inflation, inflation-hedge demand partially offsets rate headwinds (echoing 1970s stagflation), resulting in sideways consolidation [Knowledge:50, 61].

  • Transition Signals to Node 2: Non-farm payrolls weaken for 2+ consecutive months, US CPI drops below 3.5%, Fed dot plot shifts from possible further hikes to hold, DXY 20-day MA crosses below 50-day MA (first technical confirmation).

Node 2: Rate Hike Pause (Expected: +1–3 months, approx. Q1 2027)

  • Macro Transmission Chain: Cooling employment -> Easing inflation -> Hike pause -> 10-year Treasury yield peaks -> Yield curve steepens.

  • Economic Environment: Fed completes its final hike and signals a pause; market begins pricing the first rate cut roughly 6 months out; DXY upward momentum fades.

  • Bonds (Bottoming Transition): Pausing hikes removes marginal headwinds—a transitional phase where directional shift precedes magnitude shift. Short-end rates anchor while long-end rates decline on cut expectations, steepening the yield curve, historically the first signal of bond prices bottoming (short duration reacts first).

  • Gold (Headwinds Ease): DXY peaking is the pivotal event. As USD stops strengthening, gold's headwinds fade; lingering stagflation buying from Node 1 combines with weaker USD pressure to spark gold's first sustained rebound.

  • Oil (Range-Bound Tension): Supply-side support (geopolitics, OPEC discipline) battles demand-side worries (economic slowdown from cumulative hikes), resulting in range-bound trading with an upward bias if supply constraints persist.

  • Transition Signals to Node 3: Fed dot plot explicitly forecasts rate cuts, US unemployment rises above 4.5%, DXY trend_20_50 flips bearish, 2s/10s yield curve steepens noticeably.

Node 3: First Rate Cut (Expected: +3–6 months, approx. Q2 2027)

  • Macro Transmission Chain: First rate cut -> Real yields fall -> Structural USD weakening.

  • Bonds (Strong Rebound): Historically, 10-year Treasuries rally 5%–10% in the 6 months following the first rate cut, though short-term pullbacks from front-running should be watched [Knowledge:50].

  • Gold (Triple Tailwind): Supported by falling real yields, a weaker USD, and residual inflation memory, historically sustaining a 6–9 month rally [Knowledge:50].

  • Oil and Hong Kong Equities (Valuation Repair): Demand recovery expectations lift oil; Hang Seng Index (-20% deep discount) enters a repair window [Market:HSI:2026-12-04] [Knowledge:38].

  • Transition Signals to Node 4: Cumulative rate cuts exceed 75 bps, ISM Manufacturing PMI returns above 50, capital rotates from defensive to risk assets, Hong Kong and emerging markets confirm an uptrend.

Node 4: Mature Rate Cut Phase (Expected: +6–12 months, approx. Q3–Q4 2027)

  • Macro Transmission Chain: Multiple cuts -> Ample liquidity -> Economic acceleration -> Reflation (looping back to Node 1).

  • Oil (Demand Breakout): Global industrial demand recovery meets prior underinvestment in capex (subject to OPEC and geopolitics).

  • Bonds (Distribution / Profit-Taking): Long-end yields rebound on reflation expectations; capital historically rotates into equities.

  • Gold (High-Level Consolidation): Catalysts gradually exhaust; as rising oil prices reignite inflation, the macro cycle closes the loop back to Node 1.

Asset Real Interest Rate Sensitivity:

  • Oil: Indirect sensitivity (via inflation transmission); macro cycle role is cycle start and end (triggers inflation and forces central banks to hike); strongest stages are Node 1 (supply shock) and Node 4 (demand recovery).

  • Bonds: Direct and linear sensitivity; macro cycle role is cycle mirror (drops deepest during hikes, rebounds strongest during cuts); strongest stage is Node 3 (first rate cut).

  • Gold: Non-linear sensitivity (rates + inflation); macro cycle role is cycle bridge (performs strongest at the intersection of both forces); strongest stage is Node 3 (triple tailwind).

DXY 20/50/200-Day Moving Average Interpretation:

  • All MAs trending UP -> Node 1 (Rate Hike Peak).

  • 20-day MA crosses below 50-day MA -> Node 2 (Rate Hike Pause).

  • Structural downtrend confirmed -> Node 3 (Rate Cuts Begin).

5. Key Takeaways and Disclaimer

5.1 Key Engineering Takeaways

  • Unified Data Governance: Centrally manages raw CSVs, Markdown/TXT research guides, and structured Delta tables on a single platform via Unity Catalog.

  • Zero-Ops High Performance: Serverless Compute eliminates manual cluster tuning while rapidly processing 37,521 historical market records.

  • Auditable AI: Genie Agent enforces SQL-first querying, exposes multi-step reasoning traces, and embeds full inline citations in every response.

  • Rigorous Risk Control: Every briefing clearly distinguishes observed data from historical knowledge context, strictly upholding financial education compliance boundaries.

Summary: Governed Lakehouse Data + SQL-Grounded Genie AI = Trustworthy Market Briefings.

Disclaimer: This article and its briefing case studies are for technical exchange and market education purposes only and do not constitute personalized investment advice. Market data is as of 2026-12-04, and knowledge base content represents December 2026 historical context.

Top comments (0)