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
Release history Release notifications | RSS feed
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.12.tar.gz
(16.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
jing-0.2.12-py3-none-any.whl
(22.5 kB
view details)
File details
Details for the file jing-0.2.12.tar.gz.
File metadata
- Download URL: jing-0.2.12.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a19a874c44be57e69de7e5df5a1b8df3dd666f5758f58d4e3d7a2d19013aec97
|
|
| MD5 |
9b1a9d3a6d450b03bf5167614b02f76a
|
|
| BLAKE2b-256 |
f8efd7467454c36410837783cc515cad4182c4da7abdc36b05673d65e4088adc
|
File details
Details for the file jing-0.2.12-py3-none-any.whl.
File metadata
- Download URL: jing-0.2.12-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c130cbf627e1205ea98d6cddcd1607ee7256a3aca73db4792d5952a1ef1d0603
|
|
| MD5 |
ca2b05aad4db6c9b499c606291bdfc3a
|
|
| BLAKE2b-256 |
f587ecd411273c8e21169173d3549d55d0b1149e92a21317249ff5d5152ff0c1
|