bitcoin.price Table: fact_prices_ohlc_hourly Type: View
Description
This table contains comprehensive hourly OHLC (Open, High, Low, Close) price data for Bitcoin and other assets from multiple price providers, providing detailed market information for each hour. Each row represents a single asset’s price data for a specific hour, including opening, highest, lowest, and closing prices in USD. This fact table serves as the raw price data foundation, enabling detailed market analysis, volatility studies, and price trend analysis across different time periods and assets.Key Use Cases
- Hourly price analysis and market trend identification
- Volatility analysis and price movement studies
- Cross-provider price comparison and data quality assessment
- Technical analysis and chart pattern recognition
- Market performance tracking and benchmarking
- Price impact analysis for blockchain events
- Historical price data for backtesting and modeling
Important Relationships
- Primary fact table for hourly price data in the price ecosystem
- Referenced by
price.dim_asset_metadatafor asset identification - Supports
price.ez_prices_hourlyfor curated price analysis - Used by
price.ez_asset_metadatafor asset-specific price context - Enables integration with
core.fact_transactionsfor price-impact analysis - Provides price context for
stats.ez_core_metrics_hourlyaggregated metrics
Commonly-used Fields
hour: Essential for time-series analysis and chronological orderingasset_id: Critical for asset-specific price analysis and filteringopen,high,low,close: Core fields for OHLC price analysisclose: Key metric for end-of-period price analysis and trend detectionhighandlow: Important for volatility analysis and price range studiesopen: Essential for price gap analysis and market opening studies
Columns
| Column Name | Data Type | Description |
|---|---|---|
| ASSET_ID | TEXT | The unique identifier representing the asset. |
| HOUR | TIMESTAMP_NTZ | Hour that the price was recorded at. |
| OPEN | FLOAT | Opening price of the recorded hour in USD. |
| HIGH | FLOAT | Highest price of the recorded hour in USD |
| LOW | FLOAT | Lowest price of the recorded hour in USD |
| CLOSE | FLOAT | Closing price of the recorded hour in USD |
| PROVIDER | TEXT | |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp (TIMESTAMP_NTZ, UTC) when this record was initially created and inserted into the table. |