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.3.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page