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.2.11.tar.gz (15.9 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.2.11-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jing-0.2.11.tar.gz
Algorithm Hash digest
SHA256 b397f706228cf3e2f14eb622438792c9f6659f530c74ee272e6a82cfdb3c0249
MD5 520b27f8b75c35b84b0bbf18da1a06aa
BLAKE2b-256 89518262834dfbffd470f4ff5aaa37f39f8c422fc6e60478b070e54f430f1294

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jing-0.2.11-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f86e012e5b6ba8e62494f4694b73f8165b40d3c292acfb25df25775f3bd6e313
MD5 eb1256a0c2088e177b7c696205ed4cc6
BLAKE2b-256 5b48e04f5ffe38d34f34644cc00e0896fc6abd1db1d62ce7d5d0f7a3034a7981

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