Giter VIP home page Giter VIP logo

chinese-stock-financial-index's Introduction

chinese-stock-Financial-Index

计算**A股所有股票的3年平均财务指标,并可以按照3年平均市盈率和最近5年ROE过滤股票

使用前提:

  1. 安装python3.6或者更高版本
  2. 在当前目录创建python虚拟环境,运行命令 pyvenv venv
  3. 安装依赖库,在当前目录打开命令行,输入 pip install -r requirement。

使用方法

  1. 解压'finance2018.7z'文件到当前文件夹,解压后为finance2018文件夹,包含所有a股公司到2018年的财务数据
  2. 运行calcu_3year_average_pe.py 通过3年平均收益率筛选股票,默认为市盈率范围为2-20,可以修改。 生成类似 '2018-06-09-3年平均市盈率在2和20之间的公司.xlsx'文件名的文件,里面包含筛选出来的公司。 直接用excel打开即可查看

chinese-stock-financial-index's People

Contributors

feihualiu avatar lfh2016 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.