Reuters
Retrieve A-share information from EastMoney for Python
Install
pip install EastMoney
Usage
- Initializing
from EastMoney import EastMoney
em=EastMoney('600320','SH')#EastMoney('300015','SZ')
- Get full info
It will return
{'code':'...','price':'...','PE':'...','marketCap':'...','company':'...','company_name_en':'...','company_name_cn':'...','industry':'...','area':'...','desc':'...'}
em.getInfo()
- Get code
em.getCode()
- Get current price
em.getPrice()
- Get name
em.getName()
- Get company full name
em.getCompanyName()
- Get company full name in English
em.getCompanyName(lang='EN')
- Get market capital
em.getMarketCap()
- Get PE
em.getPE()
- Get company industry
reuters.getIndustry()
- Get company location
reuters.getLoc()
- Get company full description
reuters.getDesc()
Metadata
Release files for EastMoney 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| EastMoney-1.0.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| EastMoney-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / EastMoney-1.0.0.tar.gz
| Download URL | EastMoney-1.0.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2986c9f300c1f3832a7c3c364130cd44ef2e5f7bbe649830d8319391dc88eea
|
|
BLAKE2b-256 checksum How to use checksums |
f6bf80f82068cd2f0e6e13cc5034c2d445679601890edf38d5d5fba460b750e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / EastMoney-1.0.0-py3-none-any.whl
| Download URL | EastMoney-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df7fa076ae1ca28416eab47fe93bbb1e049610982f746e62c076e8bc3e731c06
|
|
BLAKE2b-256 checksum How to use checksums |
053663155a0f861e68ac4656c8fe4e1e6abffe34346c0ac95e67617810fa364d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|