可转债快照数据 (cn_cbond_level2_snapshot)

数据描述: 该表详细记录了可转债市场的快照数据,包括了交易的基本信息(如交易日期、开盘价、最高价、最低价、成交价、前收盘价)、委托买卖情况(包括1-10档的委买/卖价、委买/卖量、委托笔数)、交易量数据(如当日累计成交量、成交笔数、当日成交额)、市场深度数据(如委买总量、委卖总量、加权平均委买价、加权平均委卖价)以及时间信息(包括标准时间和具体到毫秒的时间)

文档
数据简介

用例
* 用例1:查询某一可转债成交笔数大于某阈值的时刻 ``` import dai df = dai.query(""" SELECT date,instrument, num_trades FROM cn_cbond_level2_snapshot WHERE num_trades > 100000 AND instrument = '118040.SH' ORDER BY date""", filters={"date": ["2023-01-04 09:15:03", "2024-01-03 15:00:00"]} ).df() ``` * 用例2:查询买卖盘的买卖力量差异 ``` import dai df = dai.query(""" SELECT date, total_bid_volume, total_ask_volume, total_bid_volume - total_ask_volume AS bid_ask_spread FROM cn_cbond_level2_snapshot WHERE instrument = '127025.SZ' ORDER BY date""", filters={"date": ["2023-01-04", "2024-01-04"]} ).df() ```
表结构
字段 字段类型 字段描述
bid_price7 float 7档委买价
low float 最低价
high float 最高价
num_trades int32 成交笔数
amount double 当日成交额(元)
ask_volume1 int64 1档委卖量
ask_volume2 int32 2档委卖量
pre_close float 前收盘
ask_volume4 int32 4档委卖量
ask_volume5 int32 5档委卖量
ask_volume6 int32 6档委卖量
ask_volume7 int32 7档委卖量
ask_volume8 int32 8档委卖量
__PARTITION__ int64 -
bid_price10 float 10档委买价
bid_volume1 int64 1档委买量
bid_volume2 int32 2档委买量
bid_volume3 int32 3档委买量
bid_volume4 int32 4档委买量
bid_volume5 int32 5档委买量
bid_volume6 int32 6档委买量
instrument string 标的
bid_volume8 int32 8档委买量
bid_volume9 int32 9档委买量
trading_day int32 交易日期
ask_volume10 int32 10档委卖量
bid_volume10 int32 10档委买量
ask_avg_price float 加权平均委卖价
bid_avg_price float 加权平均委买价
ask_num_orders1 int32 买1档委托笔数
ask_num_orders2 int32 买2档委托笔数
ask_num_orders3 int32 买3档委托笔数
ask_num_orders4 int32 买4档委托笔数
ask_num_orders5 int32 买5档委托笔数
ask_num_orders6 int32 买6档委托笔数
ask_num_orders7 int32 买7档委托笔数
ask_num_orders8 int32 买8档委托笔数
ask_num_orders9 int32 买9档委托笔数
bid_num_orders1 int32 卖1档委托笔数
bid_num_orders2 int32 卖2档委托笔数
bid_num_orders3 int32 卖3档委托笔数
bid_num_orders4 int32 卖4档委托笔数
bid_num_orders5 int32 卖5档委托笔数
bid_num_orders6 int32 卖6档委托笔数
bid_num_orders7 int32 卖7档委托笔数
bid_num_orders8 int32 卖8档委托笔数
bid_num_orders9 int32 卖9档委托笔数
ask_num_orders10 int32 买10档委托笔数
bid_num_orders10 int32 卖10档委托笔数
total_ask_volume int64 委卖总量
total_bid_volume int64 委买总量
open float 开盘价
ask_price1 float 1档委卖价
ask_price2 float 2档委卖价
ask_price3 float 3档委卖价
ask_price4 float 4档委卖价
ask_price5 float 5档委卖价
ask_price6 float 6档委卖价
ask_price7 float 7档委卖价
ask_price8 float 8档委卖价
ask_price9 float 9档委卖价
bid_price1 float 1档委买价
bid_price2 float 2档委买价
bid_price3 float 3档委买价
bid_price4 float 4档委买价
bid_price5 float 5档委买价
date timestamp[ns] 时间
time int32 -
volume int64 当日累计成交量
ask_price10 float 10档委卖价
bid_price9 float 9档委买价
bid_price8 float 8档委买价
bid_price6 float 6档委买价
price float 成交价
ask_volume3 int32 3档委卖量
bid_volume7 int32 7档委买量
ask_volume9 int32 9档委卖量

表名cn_cbond_level2_snapshot

起始时间:

最近更新时间: