Dataset Viewer
Auto-converted to Parquet Duplicate
ticker
stringclasses
1 value
timestamp_utc
timestamp[us]date
2026-01-06 14:30:00
2026-01-30 20:59:00
metrics
dict
data_1m
listlengths
29
61
data_5m
listlengths
6
13
AAPL
2026-01-06T14:30:00
{ "market_phase": "OPEN_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 6.83, "volatility_z_score": 6.36, "price_change_from_window_open": -0.003925, "outcomes": { "future_return_30m": -0.0054, "max_upside_30m": 0.006, "max_drawdown_30m": -0.011, ...
[ { "Datetime": "2026-01-06T14:30:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": -0.5487009874412808, "Distance_to_MA20": 0, ...
[ { "Datetime": "2026-01-06T14:30:00", "is_anchor": true, "Rel_Open": 0, "Rel_High": 0.002029872499776554, "Rel_Low": -0.009205746093581237, "Rel_Close": -0.008943554229026766 }, { "Datetime": "2026-01-06T14:35:00", "is_anchor": false, "Rel_Open": -0.008962298547155332, "Re...
AAPL
2026-01-07T14:30:00
{ "market_phase": "OPEN_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 6.4, "volatility_z_score": 7.24, "price_change_from_window_open": -0.004235, "outcomes": { "future_return_30m": -0.0032, "max_upside_30m": 0.0058, "max_drawdown_30m": -0.0035, ...
[ { "Datetime": "2026-01-07T14:30:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": -0.6840410394667865, "Distance_to_MA20": 0, ...
[ { "Datetime": "2026-01-07T14:30:00", "is_anchor": true, "Rel_Open": 0, "Rel_High": 0.0015573505496977976, "Rel_Low": -0.00463403073504048, "Rel_Close": -0.003228532006712546 }, { "Datetime": "2026-01-07T14:35:00", "is_anchor": false, "Rel_Open": -0.003228532006712546, "Re...
AAPL
2026-01-07T20:54:00
{ "market_phase": "CLOSE_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 6.49, "volatility_z_score": 5.94, "price_change_from_window_open": -0.005167, "outcomes": { "future_return_30m": 0.0015, "max_upside_30m": 0.002, "max_drawdown_30m": -0.0006, ...
[ { "Datetime": "2026-01-07T20:24:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": 0.1558271497162811, "Distance_to_MA20": 0, ...
[ { "Datetime": "2026-01-07T20:25:00", "is_anchor": false, "Rel_Open": 0.00003713534232421233, "Rel_High": 0.0006110982590647896, "Rel_Low": -0.0002689392873354119, "Rel_Close": -0.0000011677780605098216 }, { "Datetime": "2026-01-07T20:30:00", "is_anchor": false, "Rel_Open": -0...
AAPL
2026-01-08T14:30:00
{ "market_phase": "OPEN_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 7.07, "volatility_z_score": 5.02, "price_change_from_window_open": 0.002535, "outcomes": { "future_return_30m": -0.0028, "max_upside_30m": 0.0029, "max_drawdown_30m": -0.004, ...
[ { "Datetime": "2026-01-08T14:30:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": 0.8345022136896133, "Distance_to_MA20": 0, ...
[ { "Datetime": "2026-01-08T14:30:00", "is_anchor": true, "Rel_Open": 0, "Rel_High": 0.005441205319051682, "Rel_Low": -0.00048720993570209654, "Rel_Close": 0.0038030467226352997 }, { "Datetime": "2026-01-08T14:35:00", "is_anchor": false, "Rel_Open": 0.0036469919399071404, "...
AAPL
2026-01-08T19:16:00
{ "market_phase": "CORE_SESSION", "event_type": "PURE_ANOMALY", "anomaly_strength": "Normal", "volume_z_score": 6.33, "volatility_z_score": 3.73, "price_change_from_window_open": -0.003653, "outcomes": { "future_return_30m": 0.0027, "max_upside_30m": 0.0028, "max_drawdown_30m": -0.0004, "l...
[ { "Datetime": "2026-01-08T18:46:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": 0.875, "Distance_to_MA20": 0, "is_anchor": ...
[ { "Datetime": "2026-01-08T18:50:00", "is_anchor": false, "Rel_Open": 0.00038825878859463127, "Rel_High": 0.00042715582056135056, "Rel_Low": -0.0006997908098646668, "Rel_Close": -0.0006608937778979475 }, { "Datetime": "2026-01-08T18:55:00", "is_anchor": false, "Rel_Open": -0.0...
AAPL
2026-01-09T14:30:00
{ "market_phase": "OPEN_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 6.66, "volatility_z_score": 5.31, "price_change_from_window_open": 0.001042, "outcomes": { "future_return_30m": -0.0116, "max_upside_30m": 0.0028, "max_drawdown_30m": -0.0118, ...
[ { "Datetime": "2026-01-09T14:30:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": 0.35986328125, "Distance_to_MA20": 0, "is_a...
[ { "Datetime": "2026-01-09T14:30:00", "is_anchor": true, "Rel_Open": 0, "Rel_High": 0.003861003861003861, "Rel_Low": -0.001505848063465251, "Rel_Close": -0.001505848063465251 }, { "Datetime": "2026-01-09T14:35:00", "is_anchor": false, "Rel_Open": -0.001370227474963803, "Re...
AAPL
2026-01-12T14:30:00
{ "market_phase": "OPEN_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 7.51, "volatility_z_score": 5.7, "price_change_from_window_open": 0.001156, "outcomes": { "future_return_30m": -0.0047, "max_upside_30m": 0.0022, "max_drawdown_30m": -0.0112, ...
[ { "Datetime": "2026-01-12T14:30:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": 0.31249006580411354, "Distance_to_MA20": 0, ...
[ { "Datetime": "2026-01-12T14:30:00", "is_anchor": true, "Rel_Open": 0, "Rel_High": 0.0033151587811650514, "Rel_Low": -0.005743765519219392, "Rel_Close": -0.00531978282768927 }, { "Datetime": "2026-01-12T14:35:00", "is_anchor": false, "Rel_Open": -0.005321312177020538, "Re...
AAPL
2026-01-12T20:50:00
{ "market_phase": "CLOSE_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 5.17, "volatility_z_score": 4.91, "price_change_from_window_open": -0.001687, "outcomes": { "future_return_30m": -0.0005, "max_upside_30m": 0.0014, "max_drawdown_30m": -0.0013, ...
[ { "Datetime": "2026-01-12T20:20:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": -0.44561522773623385, "Distance_to_MA20": 0, ...
[ { "Datetime": "2026-01-12T20:20:00", "is_anchor": false, "Rel_Open": 0, "Rel_High": 0.00023006963292659222, "Rel_Low": -0.00019168568602937847, "Rel_Close": 0.00007665086956608235 }, { "Datetime": "2026-01-12T20:25:00", "is_anchor": false, "Rel_Open": 0.00003838394689721376, ...
AAPL
2026-01-13T14:30:00
{ "market_phase": "OPEN_AUCTION", "event_type": "MARKET_LIQUIDITY", "anomaly_strength": "Normal", "volume_z_score": 7.58, "volatility_z_score": 6.34, "price_change_from_window_open": 0.002087, "outcomes": { "future_return_30m": 0.0025, "max_upside_30m": 0.0098, "max_drawdown_30m": -0.0034, ...
[ { "Datetime": "2026-01-13T14:30:00", "Price_Velocity": 0, "Price_Acceleration": 0, "Log_Return": 0, "Volume_Momentum": 0, "Money_Flow_Ratio": 1, "Volume_Ratio": 1, "Volatility_Z_Score": 0, "Vol_Z_Change": 0, "Bar_Intensity": 0.486500604860882, "Distance_to_MA20": 0, "...
[ { "Datetime": "2026-01-13T14:30:00", "is_anchor": true, "Rel_Open": 0, "Rel_High": 0.00544992136462832, "Rel_Low": -0.0012754582974206442, "Rel_Close": 0.0039038719884799448 }, { "Datetime": "2026-01-13T14:35:00", "is_anchor": false, "Rel_Open": 0.00394244360257932, "Rel_...
AAPL
2026-01-13T19:14:00
{"market_phase":"CORE_SESSION","event_type":"PURE_ANOMALY","anomaly_strength":"Level_1","volume_z_sc(...TRUNCATED)
[{"Datetime":"2026-01-13T18:44:00","Price_Velocity":0.0,"Price_Acceleration":0.0,"Log_Return":0.0,"V(...TRUNCATED)
[{"Datetime":"2026-01-13T18:45:00","is_anchor":false,"Rel_Open":-0.0008448425404062279,"Rel_High":0.(...TRUNCATED)
End of preview. Expand in Data Studio

MagSeven High-Frequency Anomaly Dataset (Sample)

This repository provides a public sample dataset extracted from a larger, production-ready financial time series dataset.

The goal of this sample is to demonstrate:

  • Data structure
  • Feature engineering style
  • Cleanliness and usability for modeling

πŸ“¦ Dataset Overview

This dataset contains normalized and relative time-series features derived from raw OHLCV market data.

Instead of absolute prices, the data focuses on relative movements anchored to an open price, making it more suitable for:

  • Machine learning models
  • Cross-asset generalization
  • Regime-agnostic pattern discovery

πŸ“Š Event-Level Data Schema

Each JSON object corresponds to a single detected anomaly event and follows the schema below:

{
  "ticker": "AAPL",
  "timestamp_utc": "2026-01-06 14:30:00+00:00",
  "metrics": {
    "market_phase": "OPEN_AUCTION",
    "event_type": "MARKET_LIQUIDITY",
    "anomaly_strength": "Level_2",
    "volume_z_score": 6.32,
    "volatility_z_score": 2.15,
    "price_change_from_window_open": 0.003,
    "outcomes": {
      "future_return_30m": 0.0045,
      "max_upside_30m": 0.008,
      "max_drawdown_30m": -0.001,
      "label": "BULLISH"
    }
  },
  "data_1m": [ ... ],
  "data_5m": [ ... ]
}

🧱 Field Overview

Top-Level Fields

  • ticker: Stock symbol associated with the anomaly event.
  • timestamp_utc: UTC timestamp corresponding to the anchor (trigger) bar.
  • metrics: Event-level summary statistics, detection logic outputs, and forward-looking outcome labels.
  • data_1m: High-resolution 1-minute microstructure window centered around the anomaly event.
  • data_5m: Lower-frequency 5-minute context window capturing short-term trend behavior.

πŸ›  Usage Notes

  • All price-related fields are normalized to protect data source agreements and emphasize relative price action dynamics.
  • Absolute price levels are intentionally excluded.
  • The dataset is optimized for direct ingestion into ML pipelines without additional preprocessing.

πŸ§ͺ Example: Loading the Dataset in Python

import pandas as pd

# Load anomaly data for a single ticker
df = pd.read_json("AAPL_anomaly_package.jsonl", lines=True)

# Inspect event-level metrics
print(df.iloc[0]["metrics"])

# Convert the 1-minute window into a DataFrame
event_1m = pd.DataFrame(df.iloc[0]["data_1m"])
print(event_1m.head())

πŸ“š Feature Dictionary (data_1m & data_5m)

Both data_1m (microstructure) and data_5m (trend context) arrays share the same feature definitions.

Feature Description
Datetime Timestamp of the bar (UTC).
is_anchor True if this bar corresponds to the triggered anomaly event; False for surrounding context bars.
Rel_Open / Rel_High / Rel_Low / Rel_Close Price relative to the open price of the first bar in the window.
Rel_Price = (Price - Window_Start_Open) / Window_Start_Open
Price_Velocity Percentage change in Close price from the previous bar.
Price_Acceleration Change in Price Velocity (second derivative of price).
Log_Return Logarithmic return of the Close price.
Volume_Ratio Current volume divided by the trailing moving average volume. Measures relative volume intensity.
Money_Flow_Ratio Current money flow (Close Γ— Volume) divided by its trailing moving average.
Volume_Momentum First derivative of volume (change in volume from the previous bar).
Volatility_Z_Score Standardized score of the High–Low range relative to recent history.
Vol_Z_Change Change in Volatility Z-Score from the previous bar.
Bar_Intensity (Close - Open) / (High - Low). Measures directional conviction (range: -1.0 to 1.0).
Distance_to_MA20 Percentage distance of the Close price from the 20-period moving average.

🧠 Intended Use Cases

This dataset format is suitable for:

  • Time-series forecasting
  • Anomaly detection
  • Pattern discovery
  • Quantitative research
  • Feature engineering benchmarks
  • ML / DL pipelines (LSTM, Transformer, etc.)

πŸ§ͺ About This Sample

This Hugging Face repository contains only a small subset of the full dataset.

It is intended for:

  • Inspection
  • Experimentation
  • Pipeline testing

The full dataset includes:

  • Larger time coverage
  • Multiple instruments
  • Extended metadata
  • Ready-to-train splits

πŸ”— Full Dataset (Gumroad)

The complete dataset is available for purchase on Gumroad:

πŸ‘‰ Get the full dataset on Gumroad


πŸ“„ License

This sample dataset is released under the CC-BY-4.0 License.

You are free to use it for research and experimentation, with attribution.


πŸ“¬ Contact

If you have questions, feedback, or custom data requests, feel free to reach out via Gumroad.


πŸ“¬ Contact & Support

If you have any questions about this dataset, licensing, or access to the full version, feel free to reach out:

πŸ“§ Email: quantalpha.global@gmail.com

Please note that this email is intended for dataset-related inquiries only.
We aim to respond within 1–2 business days.

Downloads last month
11