项目介绍

shiyu2011/cookstock 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 100 个 Star、44 次 Fork。

仓库全名
shiyu2011/cookstock
Star 数
100
Fork 数
44
未关闭 Issue
2

README 摘要

cookStock CookStock is a comprehensive stock screening tool implementing several advanced strategies to assist with stock analysis and selection. This tool can run in batch mode, automating the screening and analysis process using data from the YahooFinance API. Key Features 1. Filters stocks according to Mark Minervini's stage 2 criteria, including moving average, volume, and price position strategies. 2. Detects…

完整内容见 GitHub 原始 README 或本页 。

常见问题

cookstock 用什么语言开发?

主要使用 Python 编写,目前有 100 个 Star。

如何获取 cookstock 的源码?

可以直接克隆仓库:git clone https://github.com/shiyu2011/cookstock.git,默认分支为 main;安装与运行步骤见仓库 README。

cookstock 最近还在维护吗?

仓库最近一次更新为 2025年5月17日,当前有 2 个未关闭 Issue;Star 数为 100,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

daily stock screening by using Mark Minervini's volatility contraction pattern detection, stage 2 template searching and news sentiment analysis by openAi api

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
194
价值分
73
活跃状态
活跃

语言占比

Python

贡献者

README

cookStock

CookStock is a comprehensive stock screening tool implementing several advanced strategies to assist with stock analysis and selection. This tool can run in batch mode, automating the screening and analysis process using data from the YahooFinance API.

Key Features

  1. Filters stocks according to Mark Minervini’s stage 2 criteria, including moving average, volume, and price position strategies.

  2. Detects volatility contraction patterns, including identifying potential pivots, assessing for deep corrections, and evaluating selling pressure to determine if it has dried up.

  3. extracts news from yahoo finance and feed news into chatgpt api to collect feed back

  4. ranks selections based on technical factors and impact of news

  5. Calculates each stock’s intrinsic value based on the Rule #1 investing principles, allowing comparison to the stock’s market price.

all the tools can run under a batch mode, which allows you to screen and analyze stocks automatically

Data Source and Automation

Using the YahooFinance API, cookStock pulls stock data automatically for analysis. All tools are designed to run in batch mode, enabling automatic daily screening of stocks based on the selected criteria.

Here is an example of TSLA’s volatility contraction pattern Figure_1

Usage Instructions batch mode:

  1. Run cookStockPipeline.py to perform both stage 2 template screening and apply contraction pattern detection on the selected stocks.
  2. Run cookstock_askgpt.py to perform news extraction and gpt review. I have 2 ways to get news a. use scraper to scrapt news from yahoo finance b. use finnhub to request news

test function:

  1. run runTest_cookStock_basic.py to run RULE ONE
  2. run runTest_cookStock_stage2templte.py to run stage2 template and test contraction pattern

We also run the selection daily and post here: View Daily Selection Results

If you enjoy this project and even gain profits from it, consider supporting through a donation via PayPal

Paypal

评论

暂无评论