中国上市公司分析

liuyuqi-dellpc 5a622e6bad Merge branch 'release/0.3.0' 5 months ago
.github bc243c6901 0 5 months ago
.vscode bc243c6901 0 5 months ago
crawl_sse 5181e34840 fix error 5 months ago
docs 14f3c5aba1 完成上市公告下载 1 year ago
scripts e400ed6ef8 1 5 months ago
test 5181e34840 fix error 5 months ago
.dockerignore bc243c6901 0 5 months ago
.env bc243c6901 0 5 months ago
.gitignore 5181e34840 fix error 5 months ago
Dockerfile bc243c6901 0 5 months ago
README.md 5a622e6bad Merge branch 'release/0.3.0' 5 months ago
crawl_sse.spec 57cfbb72ab add poetry 5 months ago
docker-compose.debug.yml bc243c6901 0 5 months ago
docker-compose.yml bc243c6901 0 5 months ago
main.py 570ef9c436 1 5 months ago
poetry.lock e400ed6ef8 1 5 months ago
pyproject.toml e400ed6ef8 1 5 months ago
requirements.txt e400ed6ef8 1 5 months ago

README.md

crawl_sse

下载上市公司数据:

Version Python

English

上市公司数据下载,分析

Develop

抽取上市公司数据:

poetry shell
python main.py crawl --extractor sse

python main.py crawl --extractor cninfo
#上市公司年报下载:
python main.py download --extractor cninfo

docker 打包交付运行:

# docker run -d -p 9515:9515 -v $(pwd):/app mcr.microsoft.com/msedge/msedgedriver

docker run -it --rm -v /data/crawl_sse:/app jianboy/crawl_sse:1.0.1 download --extractor cninfo

分析年报: docs/上市公司分析.ipynb

License

Reference