level2逐笔委托查询接口

沪深逐笔委托队列查询

前置步骤

分配数据库服务器

查询模板

以下是沪深委托队列查询的请求模板:

http://<数据库服务器>/sql?mode=order_book&code=<股票代码>&offset=<offset>&token=<token>

查询参数说明

参数名类型说明
modestring查询类别,委托队列查询使用order_book
codestring需要查询的证券代码
offsetstring支持按队列偏移量查询,未指定则查询最新数据
tokenstring用户账户的认证token,用于验证请求权限

查询示例

  • 查询最新委托列表
http://<数据库服务器>/sql?mode=order_book&code=000001&token=<token>
  • 根据偏移量查询
http://<数据库服务器>/sql?mode=order_book&code=000001&offset=<offset>&token=<token>

返回参数说明

字段名类型说明
offsetint偏移标记,用于继续查询前面的数据
pricefloat委托价格
volumeint档位挂单总量(股)
typeint委托类型,B表示买,S表示卖
timestring委托时间

返回数据示例

{"code": 0,"cnt": 1,"msg": "","data": {"code": "000001","slice": 192,"fields": ["offset", "price", "volume", "type", "time"],"list": [[90593065,16.97,800,"B","09:32:02"],...[90592690,16.98,7400,"S","09:31:58"]]}
}

参考地址:沪深Level2逐笔委托队列

在线测试

您可以通过以下链接进行在线测试:逐笔委托队列查询。

接口返回:

{"code": 0,"cnt": 43,"msg": "","data": {"code": "000553","slice": 192,"fields": ["offset","price","volume","type","time"],"list": [[20085635,7.19,100,"S","09:58:10"],[20085552,7.19,1000,"S","09:58:10"],[20066698,7.19,1000,"B","09:58:07"],[20052932,7.16,200,"S","09:58:06"],[20018359,7.17,900,"B","09:58:02"],[20008414,7.17,800,"B","09:58:01"],[19993661,7.19,2100,"S","09:57:59"],[19982569,7.19,200,"S","09:57:57"],[19953167,7.06,5100,"B","09:57:53"],[19950051,7.19,500,"S","09:57:53"],[19941533,6.66,1000,"B","09:57:52"],[19931896,7.19,1000,"S","09:57:50"],[19921481,7.18,1200,"B","09:57:49"],[19912073,7.19,500,"S","09:57:48"],[19901164,7.19,6600,"S","09:57:46"],[19874560,7.17,800,"B","09:57:42"],[19844281,7.19,100,"S","09:57:38"],[19828677,7.19,1300,"B","09:57:36"],[19823156,7.19,100,"S","09:57:35"],[19822756,7.19,100,"S","09:57:35"],[19822745,7.19,100,"S","09:57:35"],[19822742,7.19,100,"S","09:57:35"],[19822739,7.19,100,"S","09:57:35"],[19822729,7.19,100,"S","09:57:35"],[19822727,7.19,100,"S","09:57:35"],[19822726,7.19,100,"S","09:57:35"],[19822669,7.19,500,"B","09:57:35"],[19808489,7.19,100,"B","09:57:34"],[19800900,7.19,200,"S","09:57:33"],[19800898,7.19,200,"S","09:57:33"],[19800800,7.19,200,"S","09:57:33"],[19768640,7.19,100,"B","09:57:28"],[19766089,7.19,200,"B","09:57:28"],[19750186,7.19,300,"B","09:57:26"],[19714644,7.19,100,"B","09:57:22"],[19705088,7.19,200,"B","09:57:20"],[19685915,7.19,1500,"S","09:57:18"],[19635034,7.19,2000,"S","09:57:14"],[19624409,7.11,100,"S","09:57:13"],[19612485,7.19,300,"S","09:57:12"],[19572673,7.19,1500,"B","09:57:09"],[19569705,7.19,1500,"B","09:57:09"],[19552258,7.19,1400,"S","09:57:07"],[19520496,7.19,100,"S","09:57:03"],[19503489,7.19,400,"B","09:57:01"],[19484252,7.19,300,"B","09:56:59"],[19483528,7.19,900,"B","09:56:59"],[19479712,7.19,700,"S","09:56:59"],[19479655,7.19,1000,"S","09:56:58"],[19478965,7.19,100,"S","09:56:58"],[19478804,7.19,4700,"S","09:56:58"],[19474519,7.19,400,"B","09:56:58"],[19414312,6.9,500,"B","09:56:50"],[19411463,7.19,5000,"S","09:56:50"],[19410505,7.19,300,"B","09:56:50"],[19391046,7.11,6300,"B","09:56:47"],[19374850,6.99,2000,"B","09:56:45"],[19364187,7.19,2600,"B","09:56:44"],[19356958,7.19,1200,"B","09:56:43"],[19331397,7.19,6200,"B","09:56:39"],[19326963,7.17,800,"B","09:56:39"],[19326775,7.19,200,"B","09:56:39"],[19283106,7.19,1900,"B","09:56:33"],[19279170,7.19,7000,"B","09:56:32"],[19279107,7.19,2000,"S","09:56:32"],[19274169,7.19,700,"S","09:56:31"],[19273267,7.19,300,"B","09:56:31"],[19265745,7.19,10000,"B","09:56:30"],[19264099,7.19,1900,"B","09:56:30"],[19251826,7.19,1200,"B","09:56:28"],[19238458,6.5,5000,"B","09:56:26"],[19235089,7.19,1000,"B","09:56:26"],[19227706,7.19,1000,"S","09:56:25"],[19217903,7.1,6800,"B","09:56:24"],[19207410,7.07,200,"B","09:56:22"],[19204775,6.91,400,"B","09:56:22"],[19189884,7.19,600,"S","09:56:20"],[19160879,7.19,500,"B","09:56:16"],[19160679,7.19,200,"S","09:56:16"],[19153369,7.19,200,"S","09:56:15"],[19143783,7.1,500,"B","09:56:14"],[19132894,7.11,100,"S","09:56:13"],[19124699,7.19,1000,"S","09:56:12"],[19121222,7.11,100,"S","09:56:11"],[19115822,7.19,10000,"S","09:56:11"],[19112015,7.19,1600,"B","09:56:10"],[19089428,7.19,10700,"B","09:56:08"],[19073712,7.19,100,"B","09:56:06"],[19062445,7.19,2700,"B","09:56:05"],[19058502,7.19,10500,"S","09:56:04"],[19053441,7.19,100,"B","09:56:04"],[19042808,7.19,2100,"S","09:56:03"],[19038126,7.19,1300,"S","09:56:02"],[19023964,7.19,20000,"S","09:56:01"],[19004649,7.19,1500,"B","09:55:59"],[18984839,7.19,1400,"B","09:55:56"],[18980840,7.19,3800,"S","09:55:56"],[18972266,7.19,200,"B","09:55:55"],[18947113,7.19,500,"S","09:55:53"],[18931670,7.18,2100,"B","09:55:51"],[18924493,7.19,1300,"B","09:55:51"],[18908982,7.17,800,"B","09:55:50"],[18896417,7.19,6300,"B","09:55:49"],[18867665,7.19,5000,"S","09:55:45"],[18861164,7.19,300,"B","09:55:45"],[18854013,7.19,900,"B","09:55:44"],[18850687,7.19,100,"S","09:55:43"],[18850531,7.19,500,"B","09:55:43"],[18845258,6.8,1000,"B","09:55:43"],[18833900,7.19,1000,"B","09:55:41"],[18826737,7.19,1700,"B","09:55:40"],[18816340,7.19,1000,"S","09:55:39"],[18812053,7.19,1500,"S","09:55:39"],[18811741,7.19,500,"B","09:55:39"],[18809413,7.19,15100,"S","09:55:38"],[18792068,7.19,500,"S","09:55:37"],[18765733,7.19,4700,"S","09:55:34"],[18755441,7.19,1400,"B","09:55:32"],[18728410,7.19,1000,"S","09:55:29"],[18723422,7.19,6100,"S","09:55:29"],[18713668,7.19,90600,"B","09:55:28"],[18713666,7.19,1800,"S","09:55:28"],[18713640,7.19,116900,"B","09:55:28"],[18713467,7.19,20000,"B","09:55:28"],[18711613,7.16,200,"B","09:55:27"],[18702800,7.19,2100,"B","09:55:26"],[18691547,7.19,10100,"B","09:55:25"],[18685750,7.19,1400,"B","09:55:24"],[18673109,7.19,100,"B","09:55:23"],[18665529,7.19,500,"S","09:55:22"],[18663038,7.19,1300,"B","09:55:21"],[18649765,7.19,100,"S","09:55:20"],[18649565,7.19,500,"B","09:55:20"],[18649210,7.05,1000,"B","09:55:20"],[18647137,7.19,1200,"B","09:55:20"],[18626586,7.19,400,"S","09:55:17"],[18625125,7.19,700,"B","09:55:17"],[18618170,7.19,500,"S","09:55:16"],[18606212,7.19,800,"B","09:55:15"],[18603742,7.19,1300,"B","09:55:15"],[18599148,7.1,1100,"B","09:55:14"],[18586500,7.19,1100,"S","09:55:13"],[18579988,7.19,300,"S","09:55:13"],[18571345,7.19,2200,"S","09:55:12"],[18571279,7.19,1900,"S","09:55:12"],[18571278,7.19,500,"S","09:55:12"],[18571176,7.19,200,"S","09:55:12"],[18571175,7.19,6700,"S","09:55:12"],[18571168,7.19,300,"S","09:55:12"],[18571147,7.19,300,"S","09:55:12"],[18571138,7.19,300,"S","09:55:12"],[18571137,7.19,2400,"S","09:55:12"],[18571132,7.19,100,"S","09:55:12"],[18571129,7.19,1000,"S","09:55:12"],[18571125,7.19,400,"S","09:55:12"],[18571122,7.19,200,"S","09:55:12"],[18571120,7.19,200,"S","09:55:12"],[18571109,7.19,1900,"S","09:55:12"],[18571100,7.19,2500,"S","09:55:12"],[18571099,7.19,2200,"S","09:55:12"],[18571098,7.19,1600,"S","09:55:12"],[18559843,7.19,3000,"B","09:55:11"],[18557966,7.19,200,"S","09:55:11"],[18557670,7.19,300,"S","09:55:10"],[18557598,7.19,3300,"S","09:55:10"],[18557555,7.19,200,"S","09:55:10"],[18557492,7.19,1000,"S","09:55:10"],[18557488,7.19,400,"S","09:55:10"],[18552201,7.19,300,"S","09:55:10"],[18552194,7.19,1800,"S","09:55:10"],[18550586,7.19,300,"B","09:55:10"],[18544571,7.19,200,"S","09:55:09"],[18526244,7.19,2400,"B","09:55:08"],[18513751,7.19,1000,"B","09:55:07"],[18489842,7.19,1000,"B","09:55:05"],[18470664,7,300,"B","09:55:03"],[18467066,7.1,500,"B","09:55:02"],[18466584,7.19,1500,"S","09:55:02"],[18449553,7.19,11600,"B","09:55:00"],[18442354,7.19,700,"B","09:55:00"],[18441031,7.19,300,"B","09:55:00"],[18432276,7.07,100,"B","09:54:58"],[18427239,7.19,3000,"S","09:54:58"],[18416515,7.19,600,"B","09:54:56"],[18411657,7.19,1400,"S","09:54:56"],[18410744,7.19,1600,"B","09:54:55"],[18410715,7.19,3000,"S","09:54:55"],[18373245,7.19,76400,"B","09:54:51"],[18373224,7.19,57100,"B","09:54:51"],[18373219,7.19,85300,"B","09:54:51"],[18373217,7.19,84900,"B","09:54:51"],[18373205,7.19,54300,"B","09:54:51"]]}
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/64456.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

文献研读|基于像素语义层面图像重建的AI生成图像检测

前言&#xff1a;本篇文章主要对基于重建的AI生成图像检测的四篇相关工作进行介绍&#xff0c;分别为基于像素层面重建的检测方法 DIRE 和 Aeroblade&#xff0c;以及基于语义层面重建的检测方法 SimGIR 和 Zerofake&#xff1b;并对相应方法进行比较。 相关文章&#xff1a;论…

VScode MAC按任意键关闭终端 想要访问桌面文件

说明 最近配置MAC上CPP的运行环境&#xff0c;在安装必要的CPP插件后&#xff0c;配置launch和task等json文件后&#xff0c;点击运行三角形&#xff0c;每次都会跳出main想要访问桌面上的文件。并且输出也是在调试控制台&#xff0c;非常逆天。 尝试 尝试1:尽管我尝试将ta…

Linux Shell 脚本编程基础知识篇

ℹ️大家好&#xff0c;我是练小杰&#xff0c;从本文是Linux shell脚本编程的基础知识内容&#xff0c;后续我会不断补充~~ 更多Linux 相关内容请点击&#x1f449;“Linux专栏”~ 假面驾驭&#xff0c;时王&#xff0c;假面骑士时王~~ 文章目录 什么是 Linux Shell主要功能…

QT绘制同心扇形

void ChartForm::paintEvent(QPaintEvent *) {QPainter painter(this);painter.setRenderHint(QPainter::Antialiasing);// 设置抗锯齿painter.save();// 设置无边框&#xff08;不需要设置QPen&#xff0c;因为默认是不绘制边框的&#xff09;QPen pen(Qt::NoPen);// QPen pen…

TL3568/TL3562更改主机名,在Kernel用menuconfig失效

前言 最近在玩RK3562开发板&#xff0c;想改串口调试时看到的主机名&#xff0c;开发板的主机名默认是RK3562-Tronlong&#xff0c;如图&#xff1a; 按照之前玩T113开发版&#xff0c;在Kernel通过make menuconfig&#xff0c;可以改。但是在这个RK3562&#xff0c;改了后&…

【PLL】ISSCC 2024 Tutorial: Calibration Techniques in PLLs

1. 数字辅助模拟电路 为什么要辅助&#xff0c;或替换模拟电路&#xff1f; 利用CMOS管子尺寸缩小&#xff0c;降低功耗 和 减小面积校正模拟电路的 非线性行为 和 失配 数字辅助的好处&#xff1a; 简化模拟电路设计提高能源效率&#xff0c;提高准确度 2. 锁相环基础 2.1 概…

STM32-笔记5-按键点灯(中断方法)

1、复制03-流水灯项目&#xff0c;重命名06-按键点灯&#xff08;中断法&#xff09; 在\Drivers\BSP目录下创建一个文件夹exti&#xff0c;在该文件夹下&#xff0c;创建两个文件exti.c和exti.h文件&#xff0c;并且把这两个文件加载到项目中&#xff0c;打开项目工程文件 加载…

Mvc、Springmvc框架

一.Mvc&#xff1a; 1.概念&#xff1a; MVC它是一种设计理念。把程序按照指定的结构来划分: Model模型 、View视图 、Controller控制层&#xff1b; 结构图&#xff1a; 二.Springmvc: 1.概念&#xff1a; springmvc框架它是spring框架的一个分支。它是按照mvc架构思想设计…

spring使用rabbitmq当rabbitmq集群节点挂掉 spring rabbitmq怎么保证高可用,rabbitmq网络怎么重新连接

##spring rabbitmq代码示例 Controller代码 import com.alibaba.fastjson.JSONObject; import com.newland.mi.config.RabbitDMMQConfig; import org.springframework.amqp.core.Message; import org.springframework.amqp.core.MessageProperties; import org.springframewo…

前端面试问题集合

0 HTML5相关 websocket WebSocket 使用ws或wss协议&#xff0c;Websocket是一个持久化的协议&#xff0c;相对于HTTP这种非持久的协议来说。WebSocket API最伟大之处在于服务器和客户端可以在给定的时间范围内的任意时刻&#xff0c;相互推送信息。WebSocket并不限于以Ajax(或X…

RabbitMQ如何构建集群?

大家好&#xff0c;我是锋哥。今天分享关于【RabbitMQ如何构建集群&#xff1f;】面试题。希望对大家有帮助&#xff1b; RabbitMQ如何构建集群&#xff1f; 1000道 互联网大厂Java工程师 精选面试题-Java资源分享网 在RabbitMQ中&#xff0c;集群&#xff08;Cluster&#x…

3大Excel免费功能

推荐几个免费excel图表绘制工具 Power Map Power Map是Excel的内置功能 Power Map可在Windows用户的Excel 2013或者Excel 2016或者Office 365中使用,如下图, 看案例 动态地图1 动态地图2

概率论得学习和整理31: 连续型随机变量的概率本质是求面积,均匀分布等

目录 1 连续性随机变量 2 连续性随机变量和 离散型随机变量&#xff0c;分布的区别 3 不要混淆概念 4 均匀分布的相关 4.1 定义 4.2 例子 1 连续性随机变量 连续性随机变量最大的特点&#xff0c;单个点上的概率0多了一个分布函数&#xff0c;因为从1维变2维了&#xff…

素数回文数的个数

素数回文数的个数 C语言代码C 代码Java代码Python代码 &#x1f490;The Begin&#x1f490;点点关注&#xff0c;收藏不迷路&#x1f490; 求11到n之间&#xff08;包括n&#xff09;&#xff0c;既是素数又是回文数的整数有多少个。 输入 一个大于11小于1000的整数n。 输出…

FFmpeg库之ffmpeg

文章目录 ffmpeg命令行使用基本命令选择流 -map选项 主要命令视频选项音频选项多媒体格式转换滤镜裁剪加水印画中画 录制查看可用的录制设备查看录制设备选项参数录制桌面录制窗口录制摄像头录制麦克风录制系统声音同时录制桌面和麦克风 直播推流拉流 ffmpeg命令行使用 ffmpeg…

牛客周赛 Round 72 题解

本次牛客最后一个线段树之前我也没碰到过&#xff0c;等后续复习到线段树再把那个题当例题发出来 小红的01串&#xff08;一&#xff09; 思路&#xff1a;正常模拟&#xff0c;从前往后遍历一遍去统计即可 #include<bits/stdc.h> using namespace std; #define int lo…

SKETCHPAD——允许语言模型生成中间草图,在几何、函数、图算法和游戏策略等所有数学任务中持续提高基础模型的性能

概述 论文地址&#xff1a;https://arxiv.org/pdf/2406.09403 素描是一种应用广泛的有效工具&#xff0c;包括产生创意和解决问题。由于素描能直接传达无法用语言表达的视觉和空间信息&#xff0c;因此从古代岩画到现代建筑图纸&#xff0c;素描在世界各地被用于各种用途。儿童…

SpringBoot整合druid数据源

SprintBoot默认使用的是HikariDataSource数据源&#xff0c;而且上次课中我们也说了这个数据源访问速度很快&#xff0c;但是这里还要给大家介绍一个第三方的数据源druid&#xff0c;它是阿里开发的一款开源的数据源&#xff0c;被很多人认为是Java语言中最好的数据库连接池&am…

Dubbo 3.x源码(26)—Dubbo服务引用源码(9)应用级服务发现订阅refreshServiceDiscoveryInvoker

基于Dubbo 3.1&#xff0c;详细介绍了Dubbo服务的发布与引用的源码。 此前我们学习了MigrationRuleHandler这个处理器&#xff0c;它用于通过动态更改规则来控制迁移行为。MigrationRuleListener的onrefer方法是Dubbo2.x 接口级服务发现与Dubbo3.x应用级服务发现之间迁移的关键…

Qt Creator 为同一个项目切换不同的构建套件(Kit)

如下图所示&#xff0c;我只有一个构建套件&#xff1a; 切换构建套件(Kit)的步骤如下&#xff1a; 选中上图中的步骤②后&#xff0c;可以看到如下图所示的结果&#xff0c;构建套件就已经添加成功了&#xff1a; 此时&#xff0c;我们可以自由选择使用哪一个构建套件。 如…