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.9.tar.gz
(15.7 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.9-py3-none-any.whl
(22.2 kB
view details)
File details
Details for the file jing-0.2.9.tar.gz.
File metadata
- Download URL: jing-0.2.9.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dd8538f0320bcf95518f2e3582dfec15a0c0e3f148fd6aae405f66b5602bedc
|
|
| MD5 |
5e001cc4dc52864c27127548df796c30
|
|
| BLAKE2b-256 |
8a92ed1b724e8e40b8cc9bc47871e4a532ecb67fbd4eaf88bb9a92df4214c73d
|
File details
Details for the file jing-0.2.9-py3-none-any.whl.
File metadata
- Download URL: jing-0.2.9-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffeb8038a2173fba891c9c8dbaa2f2ef8b962cc233d3c397b5ae7ab8d9dfaa8d
|
|
| MD5 |
03c967f9dc05ad102abd5fe6a99424a8
|
|
| BLAKE2b-256 |
6a6f796fb2cada38180bbe105aba22c03a82c6f8730a1201f3d50b326373fd6c
|