Skip to main content

A simple and easy-to-use financial data interface library built for normal investors!

Project description

  • easy to use as most of the data returned are pandas DataFrame objects

  • can be easily saved as csv, excel or json files

  • can be inserted into MySQL or Mongodb

Target Users

  • financial market analyst of China

  • learners of financial data analysis with pandas/NumPy

  • people who are interested in China financial data

Installation

pip install doupand

Upgrade

pip install –upgrade doupand

Quick Start

import doupand as dp

print(dp.datareader.ashare_description())

return:

      s_dp_code  s_code  ... s_exchmarket s_listboard
0     000001.SZ  000001  ...         SZSE          主板
1     000002.SZ  000002  ...         SZSE          主板
2     000003.SZ  000003  ...         SZSE          主板
3     000004.SZ  000004  ...         SZSE          主板
4     000005.SZ  000005  ...         SZSE          主板
...         ...     ...  ...          ...         ...
5329  873169.BJ  873169  ...          BSE         北交所
5330  873223.BJ  873223  ...          BSE         北交所
5331  873305.BJ  873305  ...          BSE         北交所
5332  873339.BJ  873339  ...          BSE         北交所
5333  873527.BJ  873527  ...          BSE         北交所

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

doupand-1.0.10.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file doupand-1.0.10.tar.gz.

File metadata

  • Download URL: doupand-1.0.10.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for doupand-1.0.10.tar.gz
Algorithm Hash digest
SHA256 c625c732294893950f833e385d6c6d57f64aebcd6333fe1add91fc5adead0f07
MD5 d05df06713fc6bf0d7b2c5369046ac90
BLAKE2b-256 4ebcd712c557c829c80e29468bc43e6cd82d593324fd9a80dfb9b91b23426188

See more details on using hashes here.

Supported by

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