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.10.tar.gz (15.7 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.10-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jing-0.2.10.tar.gz
  • Upload date:
  • Size: 15.7 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.10.tar.gz
Algorithm Hash digest
SHA256 0ccf4adaaa6a162cc3b32929d701e3097687c751d73d136fc8061f7eded99db6
MD5 5f62df933656d79d8304b380bc120bf1
BLAKE2b-256 760eca0a4e0b18abebc2f4a6fb8ec129be5a9352e49d2a5c2fc1229bad77260e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jing-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 228873bccce7ac0f1f7667c5241e6149f0f91800d798d47e40549e17060ca763
MD5 fb18cca7b730e2a5a9b678e2933e99e5
BLAKE2b-256 7fdceaada8ab1393058838b46551484b0000e9ad40f39b02ee321ea5c91e6da1

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