stock-api:股票接口 | 韭菜小猪 | A股 | 美股 | 港股 | 股票 | 基金 | JavaScript

上传者: 42104366 | 上传时间: 2022-09-01 09:13:29 | 文件大小: 100KB | 文件类型: ZIP
股票数据小助手 简介 一款聚焦在 股票实时数据 和 周边相关服务 的接口小助手。 股票数据 名称 接口名 搜索股票代码 获取股票实时数据 获取股票组实时数据 官网 网易财经 netease 雪球 xueqiu 新浪股票 sina 已实现 已实现 已实现 传送门 腾讯股票 tencent 已实现 已实现 已实现 传送门 安装 npm install stock-api yarn add stock-api 使用 接口概览 选择数据源 搜索股票代码 获取股票实时数据 获取股票组实时数据 股票代码 由于每个交易所数据规则不一样,为了能统一规范对代码定义了规则 交易所+股票代码。 交易所 代号 实例 上海交易所 SH SH000001 深圳交易所 SZ SZ399001 香港交易所 HK HKHSI 美国交易所 US USDJI 选择数据源 可选导入 import { stocks } from

文件下载

资源详情

[{"title":"( 67 个子文件 100KB ) stock-api:股票接口 | 韭菜小猪 | A股 | 美股 | 港股 | 股票 | 基金 | JavaScript","children":[{"title":"stock-api-master","children":[{"title":".travis.yml <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":".eslintrc <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"jestconfig.json <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"stocks","children":[{"title":"xueqiu","children":[{"title":"index.test.ts <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"transforms","children":[{"title":"stock.test.ts <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"api-code.test.ts <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"common-code.test.ts <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"base","children":[{"title":"index.test.ts <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"transforms","children":[{"title":"stock.test.ts <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"api-code.test.ts <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"common-code.test.ts <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"netease","children":[{"title":"index.test.ts <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"transforms","children":[{"title":"stock.test.ts <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"api-code.test.ts <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"common-code.test.ts <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"sina","children":[{"title":"index.test.ts <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"transforms","children":[{"title":"stock.test.ts <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"api-code.test.ts <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"common-code.test.ts <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tencent","children":[{"title":"index.test.ts <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"transforms","children":[{"title":"stock.test.ts <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"api-code.test.ts <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"common-code.test.ts <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"stocks","children":[{"title":"xueqiu","children":[{"title":"transforms","children":[{"title":"stock.ts <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"api-code.ts <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"common-code.ts <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"constant.ts <span style='color:#111;'> 247B </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"base","children":[{"title":"transforms","children":[{"title":"stock.ts <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"api-code.ts <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"common-code.ts <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"constant.ts <span style='color:#111;'> 250B </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 830B </span>","children":null,"spread":false}],"spread":true},{"title":"netease","children":[{"title":"transforms","children":[{"title":"stock.ts <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"api-code.ts <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"common-code.ts <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"constant.ts <span style='color:#111;'> 252B </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"sina","children":[{"title":"transforms","children":[{"title":"stock.ts <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"api-code.ts <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"common-code.ts <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"constant.ts <span style='color:#111;'> 242B </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"tencent","children":[{"title":"transforms","children":[{"title":"stock.ts <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"api-code.ts <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"common-code.ts <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"constant.ts <span style='color:#111;'> 253B </span>","children":null,"spread":false}],"spread":false},{"title":"index.ts <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 291B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"fetch.ts <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":"iconv.ts <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"constant.ts <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 94B </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'> 711B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":"types","children":[{"title":"stocks","children":[{"title":"index.d.ts <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"transforms","children":[{"title":"stock.d.ts <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"api-code.d.ts <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"common-code.d.ts <span style='color:#111;'> 302B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.d.ts <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"stock.d.ts <span style='color:#111;'> 169B </span>","children":null,"spread":false},{"title":"dictionary.d.ts <span style='color:#111;'> 111B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 170.98KB </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 209B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明