Skip to main content

China stock market everyday history data downloader

Project description

股票信息爬虫

股票数据下载应用应用。个股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

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

tuStockSpider-0.15.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tuStockSpider-0.15-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file tuStockSpider-0.15.tar.gz.

File metadata

  • Download URL: tuStockSpider-0.15.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tuStockSpider-0.15.tar.gz
Algorithm Hash digest
SHA256 cb596dcedb208d1a3815f86e3229dbdba8db58cb8496a6c632975a289faa2e91
MD5 30f58f2d68daf5908ffdad8e6f5b1146
BLAKE2b-256 b49f19b8f9b15306087f4ea66c3a3b69852c7691e901cbad40bf346867dacb15

See more details on using hashes here.

File details

Details for the file tuStockSpider-0.15-py3-none-any.whl.

File metadata

File hashes

Hashes for tuStockSpider-0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 98ce8cb5fa4377c711b76bffcabfe5ab8bf2bdb0080b46d3347e5bf54b0c121f
MD5 e3815b89b9ba246cfa4b933c8ffe4e86
BLAKE2b-256 3e7a3c0a19605cc3d5ee7b204ebe417e85967f1601dbf1b4e5fba213684954dd

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