china-stock

china-stock is a Python module which can retrieves stock data from Chinese Shenzhen and Shanghai Stock exchanges.

Install

$ pip install china-stock

Test

$ python -m unittest tests/test.py

Use

>>> from china_stock import Stock
>>> symbol_list = ['sh000001', 'sh000002', 'sh601006']
>>> stocks = Stock(symbol_list)
>>> stock = stocks.get_data[0]

Currently

Software Engineer at Yahoo!

Previously

Full Stack Engineer at Prosper Marketplace

Previously

Front End Engineer at BillGuard (Acquired by Prosper)