Skip to main content

Download stock data and perform data analisys

Project description

jing

This is a python libary, used for download stock data and perform data analisys.

Data layout

The project now uses a source-first layout under data/:

data/
  raw/
    yahoo/us/
    baostock/cn/
    akshare/cn/
    akshare/hk/
    binance/bn/
    list/
  parquet/
  duckdb/

Examples:

  • US Yahoo CSV: data/raw/yahoo/us/AAPL.csv
  • CN BaoStock CSV: data/raw/baostock/cn/sh.601088.csv
  • HK AkShare CSV: data/raw/akshare/hk/00700.csv
  • list files: data/raw/list/us.txt

Installation

pip install jing

## Only 2 class exported

### downloader `D`
- **Function**: download the data from internet to local file system
- **Parameter**:
  - `_market` (str): us, cn, hk, default is us
- **Return Value**: No return value

### sample code

```python
import jing

d = jing.D(_market='hk')
d.download('00005')

d = jing.D(_market='cn', _source='akshare')
d.download('600519')

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

jing-0.3.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jing-0.3.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file jing-0.3.0.tar.gz.

File metadata

  • Download URL: jing-0.3.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for jing-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e9f2da0838aa720a75fbe6bea11c441be91ad89c5fc8cfd5c9633faaa02be3ec
MD5 158973d84531308ef1191699024e5c6a
BLAKE2b-256 c583d867482b25e9d023657047d4c3269ddd756049e6d4b87bd1a820f77f81c0

See more details on using hashes here.

File details

Details for the file jing-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: jing-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for jing-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b4cde7fa2557492a683361d4691637668a0d9ff7a96ced30c9248e509e8dc5b
MD5 34ededaabdeea7abbdfce9ee770086ac
BLAKE2b-256 38044a6244036c34ed9d5995688cc961ba73b4aee7948d08bbf5f5df533ef747

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