股票信息爬虫
股票数据下载应用应用。个股K线历史每天(自从开盘日起),高开低收,成交量等各种数据
命令行pip install tuStockSpider 下载项目到
之后在tuStockSpidert的路径下,如下
/lib/python3/site-packages/tuStockSpider
使用
在编辑器中
import tuStockSpider as tss
tss.download_history_data(‘000002’,’D:/temp/data/’) #下载000002数据到D:/temp/data/文件夹
tss.download_history_data(‘000002’) #下载000002数据到默认的/lib/python3/site-packages/tuStockSpider/data文件夹
#慎用download_all_hitory(),速度慢而且多次请求
tss.download_all_hitory(‘’) #下载全部股票数据
tss.download_all_hitory(‘sz’) #下载全部深圳证券交易所股票数据
tss.download_all_hitory(‘sh’,’shdata/’) #下载全部上海证券交易所股票数据到shdata文件夹
版本更新 pip install –upgrade tuStockSpider
Metadata
Release files for tuStockSpider 0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tuStockSpider-0.15.tar.gz | 3.3 kB | Without provenance | Details for tuStockSpider-0.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tuStockSpider-0.15-py3-none-any.whl | Python 3 | none | any | Details for tuStockSpider-0.15-py3-none-any.whl |
Total release size: 8.4 kB
Release files / tuStockSpider-0.15.tar.gz
| Download URL | tuStockSpider-0.15.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb596dcedb208d1a3815f86e3229dbdba8db58cb8496a6c632975a289faa2e91
|
|
BLAKE2b-256 checksum How to use checksums |
b49f19b8f9b15306087f4ea66c3a3b69852c7691e901cbad40bf346867dacb15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tuStockSpider-0.15-py3-none-any.whl
| Download URL | tuStockSpider-0.15-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98ce8cb5fa4377c711b76bffcabfe5ab8bf2bdb0080b46d3347e5bf54b0c121f
|
|
BLAKE2b-256 checksum How to use checksums |
3e7a3c0a19605cc3d5ee7b204ebe417e85967f1601dbf1b4e5fba213684954dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tuStockSpider 0.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.