Tagged articles
2 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Sep 16, 2021 · Backend Development

How to Retrieve Real-Time Minute-Level Stock Data with Python

This guide explains how to use Python, pandas, and requests to fetch minute‑by‑minute K‑line data for Chinese stocks from Eastmoney's API, generate the required secid, handle different market codes, and continuously save the data until market close.

APIPythonStock Data
0 likes · 9 min read
How to Retrieve Real-Time Minute-Level Stock Data with Python