Skip to main content

Python API to get Chinese stock price

Project description


Library to get Chinese stock price via Hexun API or Sina Finance API

Usage:

```
from cstock.request import Requests
from cstock.hexun_engine import HexunEngine

engine = HexunEngine()
requester = Requester(engine)

stock = requester.request('000626')
print stock.as_dict()
```

* [Download the latest release](https://github.com/godsarmy/chinese-stock-api/zipball/master).
* Clone the repo: `git clone git://github.com/godsarmy/chinese-stock-api.git`.
* [Download from pypi](https://pypi.python.org/pypi/chinesestockapi).

Project details


Download files

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

Source Distribution

chinesestockapi-1.2.tar.gz (5.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page