Library to get Chinese stock price
Supported Engines:
- Hexun API
- Sina Finance API
- Yahoo Finance API
Usage:
from cstock.request import Requester
from cstock.hexun_engine import HexunEngine
engine = HexunEngine()
requester = Requester(engine)
stock_obj = requester.request('000626')
print stock_obj[0].as_dict()
- Download the latest release.
- Clone the repo:
git clone git://github.com/godsarmy/chinese-stock-api.git
. - Download from pypi.