Skip to main content

Retrieve A-share information from EastMoney for Python

Project description

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

Project details


Release history Release notifications

Download files

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

Files for EastMoney, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size EastMoney-1.0.0-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size EastMoney-1.0.0.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page