贵州茅台[600519]行情数据接口

贵州茅台: 实时行情

Restful API

复制代码
# 测试接口:可以复制到浏览器打开`
`https://tsanghi.com/api/fin/stock/XSHG/realtime?token=demo&ticker=600519`
`

获取股票实时行情(开、高、低、收、量)。

请求方式:GET。

Python示例

复制代码
import requests`

`url = f"https://tsanghi.com/api/fin/stock/XSHG/realtime?token=demo&ticker=600519"`
`data = requests.get(url).json()`
`print(data)`
`

Response示例

2、 贵州茅台: 历史行情

Restful API

复制代码
# 测试接口:可以复制到浏览器打开`
`https://tsanghi.com/api/fin/stock/XSHG/daily?token=demo&order=2&ticker=600519`
`

获取股票日线基本行情(开、高、低、收、量)。

请求方式:GET。

Python示例

复制代码
import requests`

`url = f"https://tsanghi.com/api/fin/stock/XSHG/daily?token=demo&order=2&ticker=600519"`
`data = requests.get(url).json()`
`print(data)`
`

Response示例

++更多接口及详情:tsanghi.com++

相关推荐
金銀銅鐵1 天前
[Python] 从《千字文》中随机挑选汉字
后端·python
cup111 天前
[技术复盘] Windows Python 打包实战:Nuitka 环境踩坑总结与 CI 自动化构建全指南
python·ai·环境变量·ci·nuitka·skill
aqi001 天前
15天学会AI应用开发(七)有了大模型为什么还要引入RAG
人工智能·python·大模型·ai编程·ai应用
金銀銅鐵1 天前
用 Python 实现 Take-Away 游戏
python·游戏
copyer_xyf1 天前
Agent 流程编排
后端·python·agent
copyer_xyf1 天前
Agent RAG
后端·python·agent
copyer_xyf1 天前
【RAG】向量数据库:milvus
后端·python·agent
copyer_xyf1 天前
Agent 记忆管理
后端·python·agent
JieE2122 天前
LeetCode 56. 合并区间|超清晰 JS 图解思路,面试高频区间题
javascript·算法·面试