tushare | TuShare is a utility for crawling historical data of China stocks | Business library

 by   waditu Python Version: 0.2.0 License: BSD-3-Clause

kandi X-RAY | tushare Summary

kandi X-RAY | tushare Summary

tushare is a Python library typically used in Web Site, Business, Pandas applications. tushare has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub.

TuShare is a utility for crawling historical data of China stocks

            kandi-support Support

              tushare has a medium active ecosystem.
              It has 12169 star(s) with 4271 fork(s). There are 988 watchers for this library.
              It had no major release in the last 12 months.
              There are 510 open issues and 1057 have been closed. On average issues are closed in 65 days. There are 62 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of tushare is 0.2.0

            kandi-Quality Quality

              tushare has 0 bugs and 0 code smells.

            kandi-Security Security

              tushare has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tushare code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tushare is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tushare releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed tushare and discovered the below as its top functions. This is intended to give you an instant insight into tushare implemented functionality, and help decide if they suit your requirements.
            • Function to plot data
            • Return the mean of all values in arr
            • Calculate the arbr
            • Calculates the SI value of the data
            • Get hdf5 data
            • Returns the index URL
            • Parse FQ factor
            • Parses fq_fq_fq_data
            • Return a pandas dataframe of the top list
            • Get tick data
            • Get the cffex daily
            • Download and parse BDI data
            • Returns a pandas dataframe
            • Download data from xsg
            • Retrieve stock quotes
            • Gets a list of OpenNav Assets Open
            • Get wallet grading data
            • Get SHFE daily
            • Retrieves a list of top 10 places
            • Retrieve shibor quote data
            • Takes a code and returns a pandas dataframe
            • Retrieve coins tick
            • Get k data
            • Compute a Pro bar chart
            • Get ZCE data for a given date
            • Export market data to hdf5 file
            Get all kandi verified functions for this library.

            tushare Key Features

            No Key Features are available at this moment for tushare.

            tushare Examples and Code Snippets

            Pythondot img1Lines of Code : 166dot img1no licencesLicense : No License
            copy iconCopy
            # 数据源版本号
            def getVersionName(self):
            # 数据源名称
            def getDataSrcName(self):
            # 获取所有指数代码
            #return list
            def GET_ALL_INDEXES(self):
            # 获取所有股票代码
            #return list
            Pythondot img2Lines of Code : 105dot img2no licencesLicense : No License
            copy iconCopy
            Package                       Version
            ----------------------------- ----------
            -ip                           20.2.3
            alabaster                     0.7.12
            alembic                       1.4.3
            altgraph                      0.17
            Pythondot img3Lines of Code : 36dot img3License : Permissive (MIT)
            copy iconCopy
            from ksrpc import RpcClient
            from ksrpc.connections.http import HttpxConnection
            conn = HttpxConnection('')
            conn.timeout = None
            math = RpcClient('math', conn, async_local=False)
            math.cache_get = True
            math.cache_expire = 8  

            Community Discussions


            Pandas pd.to_datetime only keep time do not date
            Asked 2019-Jun-29 at 15:24

            I have a dataframe(Pandas), with a column representing dates, in the following format:



            Answered 2019-Jun-29 at 11:08


            how to install package for python3 using pip? Now it always install for python2
            Asked 2017-Dec-18 at 21:37

            I've been puzzled for a while. I can't install/upgrade any package for my python35 now. I have python27 and python35(via anaconda) on mac. Whenever I want to install a python package via pip, the one paired with python2 was invoked.

            Go to anaconda folder(where my python35 installed): ls -al | grep pip I got the result:



            Answered 2017-Dec-18 at 06:01

            PIP is also a python package. You can use,

            Source https://stackoverflow.com/questions/47862840


            Deploying Flask app to Heroku: ModuleNotFoundError: No module named 'lxml'
            Asked 2017-Aug-01 at 05:18

            The flask runs well in my local machine. However, while I tried to deploy it to heroku, I get stuck in the deploy step: git push heroku master

            The error is: ModuleNotFoundError: No module named 'lxml'


            It looks heroku has successfully downloaded lxml module, I suspect there is something wrong with the path.



            Answered 2017-Aug-01 at 05:18

            It is solved now.

            1. remove the tushare from requirement.txt, then do git commit -am "make it better" and git push heroku master, it will be pushed successfully;

            2. put back the tushare into requirement.txt, redo the git commit -am "make it better" and git push heroku master.

            Source https://stackoverflow.com/questions/45406724

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install tushare

            You can download it from GitHub.
            You can use tushare like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone waditu/tushare

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Business Libraries


            by waditu


            by ranaroussi


            by invoiceninja


            by mrjbq7


            by hql287

            Try Top Libraries by waditu


            by wadituPython


            by wadituJavaScript


            by wadituPython


            by wadituRuby


            by wadituJupyter Notebook