Datasets:
|
Download README.md from SmartStake/mlb-mainlines: direct link, hf CLI and curl.
- Browser
- Download file 4.49 kB
-
https://huggingface.co/datasets/SmartStake/mlb-mainlines/resolve/main/README.md
- Command line
-
hf download hf://datasets/SmartStake/mlb-mainlines/README.md
-
curl -L -o README.md https://huggingface.co/datasets/SmartStake/mlb-mainlines/resolve/main/README.md
4.49 kB
| license: cc-by-4.0 | |
| language: | |
| - en | |
| pretty_name: SmartStake MLB Mainline Odds (2026) | |
| tags: | |
| - sports-betting | |
| - sports-analytics | |
| - mlb | |
| - baseball | |
| - odds | |
| - prediction-markets | |
| size_categories: | |
| - 100M<n<1B | |
| task_categories: | |
| - time-series-forecasting | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: "game_date=*/*.parquet" | |
| # SmartStake MLB Mainline Odds (2026) | |
| Full-resolution pregame odds movements on MLB mainline markets from 67 sportsbooks, | |
| exchanges, and prediction markets, for every game from 30 June through 7 August 2026. | |
| Every row is one book's price for one selection at one moment. This is the raw | |
| material behind the study | |
| ["Who's Actually Sharp on MLB Mainlines After CFTC Recognition?"](https://smartstake.app/learn/sharpest-sportsbooks-mlb-mainlines), | |
| a companion to | |
| [SmartStake MLB Player Prop Odds and Results](https://huggingface.co/datasets/SmartStake/mlb-player-props). | |
| ## Coverage | |
| - **Games:** 565 game ids with a scheduled first pitch from 30 June through 7 August | |
| 2026 (US Eastern dates). The All-Star Game (14 July) is included. | |
| - **Window:** pregame only. Every row has `ts < start_time`. | |
| - **Markets:** moneyline, run line, and total runs, each for the full game, the 1st | |
| half (first 5 innings), and the 1st inning. | |
| - **Books:** 67, including Pinnacle, Kalshi, Polymarket, Novig, ProphetX, 4Caster, | |
| FanDuel, BetOnline, DraftKings, and Fanatics (the ten in the study). | |
| - **Rows:** ~150 million. | |
| - **Coverage gap:** the odds archive was down from 20 June until the evening of | |
| 30 June 2026 (UTC), so games on the first days of the window are missing their | |
| earliest quotes. | |
| ## Schema | |
| | column | type | description | | |
| |---|---|---| | |
| | `game_id` | string | Per-game identity. Group on this. | | |
| | `start_time` | timestamp | Scheduled first pitch (UTC). Subtract `ts` for time to first pitch. | | |
| | `home_team` | string | Home team. | | |
| | `away_team` | string | Away team. | | |
| | `market` | string | `moneyline`, `run line`, `total runs`, or the same with a `1st half` or `1st inning` prefix. | | |
| | `line` | double | The run line handicap or the total. Null for moneylines. | | |
| | `side` | string | `home` or `away` for moneylines and run lines; `over` or `under` for totals. | | |
| | `book` | string | Sportsbook / exchange / prediction market. | | |
| | `ts` | timestamp | When the quote was recorded (UTC), millisecond resolution. | | |
| | `odds` | double | Decimal odds as displayed by the book. | | |
| | `is_suspended` | bool | `true` when `odds <= 1.02`: the market was pulled, not a real price. | | |
| | `is_alt` | bool | `true` for an alternate (non-main) line. | | |
| | `is_deleted` | bool | `true` when the book removed the selection at `ts`. | | |
| | `max_bet_size` | double | The book's posted limit or the size resting at that price, where the feed carries one. Null otherwise. | | |
| | `contract_id` | string | The exchange contract ticker (Kalshi and similar). Null for sportsbooks. | | |
| | `game_date` | date | Partition key: the US Eastern date of first pitch. | | |
| ## Notes and caveats | |
| - **Suspensions are kept but flagged.** A book (Pinnacle especially) often pulls a | |
| market before reposting a new number; those ticks carry `odds <= 1.02` and | |
| `is_suspended = true`. Filter them out before treating `odds` as a price. | |
| - **Removed selections are kept but flagged.** Rows with `is_deleted = true` mark a | |
| selection leaving the board, and their `odds` is often null. | |
| - **Odds are raw.** Nothing is de-vigged. Devig each book's two sides yourself before | |
| comparing books. | |
| - **Exact duplicate rows are removed; nothing else is.** Thin-book prints on the | |
| exchanges are left in on purpose, since they are part of what the study measures. | |
| - **Prediction markets list each team as its own contract.** `contract_id` tells you | |
| which contract a quote came from. | |
| ## Loading | |
| ```python | |
| import pandas as pd | |
| df = pd.read_parquet("hf://datasets/SmartStake/mlb-mainlines/game_date=2026-07-10") | |
| ``` | |
| ```sql | |
| -- DuckDB, straight from the hub | |
| SELECT book, count(*) FROM 'hf://datasets/SmartStake/mlb-mainlines/**/*.parquet' GROUP BY 1; | |
| ``` | |
| ## Provenance, license, and responsible use | |
| Odds were collected from public sportsbook and exchange feeds. Released under | |
| CC BY 4.0 for research and educational use. This dataset is informational and | |
| historical: past prices do not predict future outcomes, and betting carries risk of | |
| loss. Not affiliated with any sportsbook. 21+. | |
| ## Citation | |
| > SmartStake (2026). SmartStake MLB Mainline Odds (2026). Hugging Face. | |