Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

china stock

Project Description

Author: Hao Liu


$ pip install china-stock


Import china-stock module:

>>> import chinastock as cs

Get stock prices information on nearest trading day:

>>> cs.get_stock_today(code='000001', exchange='SZ')

Get historical stock close prices:

>>> cs.get_stock_history(code='000001', exchange='SZ')

Get stock’s adjusted close prices, open, high, low, volume, and change:

>>> cs.get_stock_history_adj(code='000001', exchange='SZ')


  • Add get_stock_history and get_stock_history_adj methods
  • get_stock_today method return strings, not datetime
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
china-stock-0.1.5.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Jul 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting