Skip to content
This repository was archived by the owner on Apr 7, 2023. It is now read-only.

CNKKDC/StockAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StockAnalysis

🔨 Tools

Twitter URL GitHub watchers GitHub forks

🧷 Introduce

  StockAnalysis is a program that analyzes stocks based on public funds, scoring stocks held by most funds in combination with their one-year interest rate and the percentage of positions held.Of course, if a fund's interest rate is high, then its holdings of stocks will be higher points;Conversely, if a fund has a negative one-year interest rate, it will have a corresponding deduction for the stocks it holds.So we know whether the stock is popular or not in the market.
  For the selection of the fund, this program will select the public offering open subscription stock and stock index fund when crawling data.
  Mainly for the Chinese stock market design.

🎯 API

  Information comes from Eastmoney

FUND_COMPANY_LIST_URL = "http://fund.eastmoney.com/company/default.html"
FUND_LIST_URL = "http://fund.eastmoney.com/Company/home/KFSFundNet?gsid={{companyId}}"
FUND_HOLD_URL = "http://fundf10.eastmoney.com/FundArchivesDatas.aspx?type=jjcc&code={{fundId}}&topline={{DisplayTopItems}}&year=&month="
FUND_RATE_URL = "http://fund.eastmoney.com/pingzhongdata/{{fundId}}.js"

⌨️ Calculation

  The starting fraction is 1, and the multiple is 1.First, check the one-year interest rate of the fund. If the interest rate is more than 100%, then the multiple becomes 2.If the interest rate is greater than 70% and less than 100%, then the multiple becomes 1.5;If the interest rate is greater than 50% and less than 70%, then the multiple does not become 1.If the interest rate is greater than 20% and less than 50%, the multiple becomes 0.2;If the interest rate is negative, the multiple does not become -1.Then the first three stocks held by this fund are added, the value is multiple * scores.
  And so on until all the funds have been analysed.Finally, the stock data is sorted according to the number of points.

💡 About

  Due to the short development cycle of this program, the research is not in-depth enough, so this program only provides a way of thinking for stock analysis.The data obtained by this program is not absolutely objective. The first data crawled is too little and the analysis is not comprehensive enough.Secondly, there is no more detailed scoring criteria for the fund's holding of stocks and the fund's longer interest rate;Finally, this program does not exclude environmental factors of the industry. For example, I knew before writing the program that "Kweichow Moutai" must be the first.
  I only put forward my ideas, interested friends can Fork my project or contact me, we discuss research together.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages