/chinese-stock-api

Python API to get stock data in Chinese market

Primary LanguagePython

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()