Install and use Ashare
mainAshare is a lightweight API for real-time A-share market data. It is designed to be portable: the entire library consists of a single file
Ashare.py. To use it, simply include Ashare.py in your project directory and import it using from Ashare import *.from Ashare import *