solana-dex-execution
收藏资源简介:
该数据集记录了Solana区块链上DEX(去中心化交易所)的报价值以及聚合器为达到该报价所选择的路由。数据集包含两个表格:`e24_solana_quotes` 和 `e24_solana_routes`。`e24_solana_quotes` 的每一行代表一个交易对在某一时刻某一规模的报价,包括输出量、价格影响、美元价值以及路由腿数。`e24_solana_routes` 的每一行代表所选路由的一条腿,包含交易场所、交易数量以及该腿承载的订单百分比。用户可以通过 `(round_ts, input_symbol, output_symbol, in_amount)` 字段连接这两个表格。数据集的规模固定为1、50和1000 SOL,以便价格影响随时间可比。路由信息是难以从其他来源获取的,它反映了可路由流动性的实际分布。数据集还包含一个原始字段 `amm_report_raw`,以JSON格式存储聚合器考虑过的交易场所报告,由于该字段可能包含非标准信息(如稳定币报价或流动性不足的字符串),因此保持原始格式。注意事项:数据仅来自一个聚合器(虽然它是Solana上的主导者);报价仅供参考,不反映真实交易的上链风险、优先费用或滑点;价格影响是聚合器自己的估计;仅包含5个以SOL为输入的交易对;失败请求以显式错误行表示。数据分区为Parquet文件,按集合窗口存储在 `dataset/YYYY/MM/` 目录下。每个数据集包含一个固定的7天样本窗口,从各自的第一个收集日开始,覆盖2026-08-30至2026-09-05。完整历史数据可应要求提供。数据集使用ODC-BY许可。
This dataset records quotes from decentralized exchanges (DEXs) on the Solana blockchain and the routes selected by an aggregator to achieve those quotes. It contains two tables: `e24_solana_quotes` and `e24_solana_routes`. Each row in `e24_solana_quotes` represents a quote for a trading pair at a specific time and size, including output amount, price impact, dollar value, and number of route legs. Each row in `e24_solana_routes` represents a leg of the selected route, including the venue, trade amount, and the percentage of the order carried by that leg. Users can join the two tables using the fields `(round_ts, input_symbol, output_symbol, in_amount)`. The dataset has fixed sizes of 1, 50, and 1000 SOL to make price impact comparable over time. Route information is hard to obtain from other sources and reflects the actual distribution of routable liquidity. The dataset also includes a raw field `amm_report_raw`, which stores the reports from venues considered by the aggregator in JSON format; this field is kept raw because it may contain non-standard information (e.g., stablecoin quotes or liquidity insufficiency strings). Notes: The data comes from only one aggregator (though it is the dominant one on Solana); quotes are for reference only and do not reflect on-chain risk, priority fees, or slippage of actual trades; price impact is the aggregators own estimate; only 5 trading pairs with SOL as input are included; failed requests are represented as explicit error rows. The data is partitioned into Parquet files stored in `dataset/YYYY/MM/` directories by collection window. Each dataset contains a fixed 7-day sample window starting from its respective first collection day, covering 2026-08-30 to 2026-09-05. Full historical data is available upon request. The dataset is licensed under ODC-BY.
数据集概述
数据集名称:Solana DEX execution costs and routing(Solana DEX 执行成本与路由)
许可协议:ODC-BY(允许自由使用,需注明出处 "DataForge (dataforge-labs)")
数据集规模:1M 至 10M 行
任务类型:时间序列预测(time-series-forecasting)
时间覆盖:固定 7 天采样窗口,跨度为 2026-08-30 至 2026-09-05
数据集内容
该数据集记录了 Solana 链上 DEX 的代币兑换报价(quote),以及聚合器为实现该报价所采用的流动性路由(routing)信息。数据集的核心价值在于:报价和路由信息在真实交易执行后不会上链,因此难以从链上数据获取,本数据集提供了这些“看不见”的数据。
表结构与行含义
| 表名 | 一行代表的内容 |
|---|---|
e24_solana_quotes |
某一时刻、某一交易对、某一规模的报价:输出金额、价格影响、美元价值、路由腿数 |
e24_solana_routes |
所选路由的一条腿(leg):场所、金额及其承载的订单百分比 |
两张表可通过 (round_ts, input_symbol, output_symbol, in_amount) 字段进行关联。订单规模固定为 1、50、1000 SOL 三档,以便在不同时间点上比较价格影响。
原始字段说明
amm_report_raw 字段是聚合器对其所考虑场所(venues)的原始报告,以 JSON 格式逐字存储,未做解析。该字段并非仅限于当前报价的交易对,可能包含其他规模量级的信息或异常文本(如 "Pair insufficient liquidity"),因此刻意保持原始状态以避免产生有误导性的派生指标。
数据特点与注意事项
- 单一聚合器来源:数据来自 Solana 上占主导地位的聚合器,报价反映的是该聚合器的路由结果,而非全网最优价格。
- 报价为指示性(indicative):真实交易还涉及交易落地风险、优先费用和滑点等,这些均未被报价反映。
price_impact_pct为聚合器自身估计值,并非重新计算得出。- 覆盖范围有限:仅包含 5 个交易对,且全部以 SOL 作为输入代币,是 Solana 生态的一部分而非全量数据。
- 错误处理方式:失败的请求会以显式错误行记录(测量值为空),可将聚合器不可用与交易对无路由两种情况区分开来。
- 数据分区与采样窗口:以 Parquet 格式存储,按
dataset/YYYY/MM/目录分区,每个采集窗口一个文件。数据集固定为 7 天采样窗口,不会自动推进,因此无需重复下载。 - 覆盖清单:
e0_run_manifest表完整列出了每个采集窗口的轮询计数和失败计数,并以完整而非窗口化的形式发布。窗口间的数据缺口是真实存在的,无法事后填补,数据集中无任何插值处理。
访问与获取
可通过 Hugging Face datasets 库或 huggingface_hub 的 snapshot_download 工具下载数据。每个数据集均带有固定的 7 天采样窗口,便于用户在请求完整数据之前检查数据的 schema、覆盖范围和质量。完整历史数据可通过讨论区(discussions tab)联系获取。





