kalshi-perps-data
收藏资源简介:
Kalshi Perps Market Data 是一个用于预测 Kalshi 平台上加密货币永续期货价格在未来30分钟内涨跌方向的数据集。它包含多时间框架价格历史数据、工程化技术特征以及新闻情绪数据,这些数据由开源交易机器人自动收集。数据集旨在为配套的分类模型提供训练数据,并在此存档以确保训练过程不依赖于 Kalshi API 可能仅提供的近期数据窗口。数据覆盖了自产品首次上市(2026年6月4日)以来每种工具的全部历史价格,涵盖13种加密货币工具:BTC、ETH、SOL、XRP、DOGE、LTC、BCH、LINK、SUI、NEAR、HYPE、kSHIB 和 ZEC。数据来源包括:价格数据来自 Kalshi 的 REST 端点(提供1分钟和60分钟的OHLC数据,反映实际可交易工具价格,而非外部指数);新闻情绪数据来自免费的 RSS 源(如 Google News、CoinTelegraph、CryptoSlate、Decrypt),并通过简单关键词极性进行评分。数据以表格形式组织,每行代表一个工具在某一分钟的观测值,主要字段包括:工具代码、时间戳、收盘价、1分钟/5分钟/15分钟 trailing 百分比回报率、距离15分钟/30分钟移动平均的距离、过去15分钟内1分钟回报率的滚动标准差、过去60分钟蜡烛图窗口内的百分比变化、新闻情绪评分以及标签(若30分钟后价格上涨则为1,下跌则为0)。所有滚动/滞后特征均采用无泄漏方式计算。数据集大约每15分钟由机器人的定时收集任务追加更新,适用于时间序列预测、表格分类等任务,特别是在加密货币交易和价格方向预测的研究场景中。数据集以 MIT 许可证提供,规模在10万到100万样本之间,语言为英语。请注意,该数据集与 Kalshi 无关联或认可,仅作为开源交易机器人项目的一部分用于研究/信息目的,不保证准确性或完整性,且不构成财务建议。
Kalshi Perps Market Data is a dataset for predicting the direction of cryptocurrency perpetual futures prices on the Kalshi platform within the next 30 minutes. It includes multi-timeframe price history data, engineered technical features, and news sentiment data, automatically collected by an open-source trading bot. The dataset is designed to provide training data for a companion classification model and is archived here to ensure the training process does not rely on Kalshi APIs potentially limited recent data window. Data covers the full price history of each instrument since its initial listing (June 4, 2026), including 13 cryptocurrency instruments: BTC, ETH, SOL, XRP, DOGE, LTC, BCH, LINK, SUI, NEAR, HYPE, kSHIB, and ZEC. Sources include: price data from Kalshis REST endpoints (providing 1-minute and 60-minute OHLC data reflecting actual tradable instrument prices, not external indices); news sentiment data from free RSS feeds (e.g., Google News, CoinTelegraph, CryptoSlate, Decrypt), scored via simple keyword polarity. Data is organized in tabular form, with each row representing a minute-level observation for an instrument. Key fields include: ticker, timestamp (ts, in UTC seconds), close price, 1-minute/5-minute/15-minute trailing percentage returns (ret_1m, ret_5m, ret_15m), distance to 15-minute/30-minute moving averages (dist_to_ma_15, dist_to_ma_30, as fractions), rolling standard deviation of 1-minute returns over the past 15 minutes (volatility_15), percentage change over the past 60-minute candle window (trend_pct), news sentiment score (sentiment_score, range [-1, 1]), and label (label_up: 1 if price rises after 30 minutes, 0 if falls, empty for recent rows). All rolling/lagged features are computed without leakage (using only data prior to their timestamp). The dataset is updated approximately every 15 minutes via the bots scheduled collection tasks. It is suitable for tasks like time series forecasting and tabular classification, particularly in research contexts for cryptocurrency trading and price direction prediction. The dataset is provided under an MIT license, with a scale between 100,000 and 1,000,000 samples, and in English. Note that this dataset is not affiliated with or endorsed by Kalshi; it is part of an open-source trading bot project for research/informational purposes only, with no guarantees of accuracy or completeness, and does not constitute financial advice.
数据集概述
数据集名称:Kalshi Perps Market Data
许可协议:MIT
语言:英语
任务类别:时间序列预测、表格分类
标签:加密货币、金融、交易、时间序列、Kalshi、永续合约、价格预测
数据集规模:100,000 < n < 1,000,000 条记录
核心用途
该数据集用于预测 Kalshi 平台上加密货币永续合约在 未来30分钟内的价格涨跌方向。它是为配套的方向分类模型(papylove/kalshi-perps-model)提供训练数据而构建的,确保训练不依赖于 Kalshi API 可能仅保留的近期窗口数据。
覆盖范围
- 涵盖的加密货币品种:BTC、ETH、SOL、XRP、DOGE、LTC、BCH、LINK、SUI、NEAR、HYPE、kSHIB、ZEC
- 未覆盖品种说明:DOT、HBAR、XLM 已在 Kalshi 上市,但截至数据集创建时尚未产生任何 K 线历史记录
- 时间跨度:覆盖每个交易品种自上市以来的完整历史(Kalshi 加密永续合约于 2026年6月4日 首次上线)
数据来源
| 数据类别 | 来源 |
|---|---|
| 价格数据 | Kalshi 官方 REST API 端点 (/margin/markets/{ticker}/candlesticks),提供 1分钟 和 60分钟 OHLC 数据 |
| 新闻情绪 | 免费 RSS 新闻源(Google News、CoinTelegraph、CryptoSlate、Decrypt),通过简单关键词极性评分 |
数据模式
每一行对应 一个交易品种 的 1分钟观测数据。
| 列名 | 描述 |
|---|---|
ticker |
Kalshi 市场代码,例如 KXBTCPERP |
ts |
Unix 时间戳(秒,UTC),对应 K 线收盘时间 |
close |
该分钟内的合约价格 |
ret_1m, ret_5m, ret_15m |
过去 1/5/15 分钟的滚动百分比收益 |
dist_to_ma_15, dist_to_ma_30 |
当前价格距离 15/30 分钟移动平均线的比例距离 |
volatility_15 |
过去 15 分钟内 1分钟收益率的滚动标准差 |
trend_pct |
过去 60 分钟 K 线窗口内的百分比变化 |
sentiment_score |
采集时对应币种的新闻情绪得分,范围 [-1, 1] |
label_up |
若30分钟后价格更高则为1,更低则为0;对于时间过近而无法确定的行则为空 |
所有滚动/滑动特征均 无数据泄露 —— 仅基于各自时间戳之前的过往数据计算。
更新频率
数据由开源交易机器人(papykabukanyi/bettor)的定时采集任务 大约每15分钟追加一次。
声明
- 与 Kalshi 无任何关联或背书
- 仅供研究与信息用途,作为开源交易机器人项目的一部分提供
- 不保证数据的准确性或完整性
- 不构成任何金融建议




