Sequoia-X

Sequoia-X

A quantitative automated trading tool for A-shares

Loading…

Description

#A-shares stock selection #Quantitative stock selection #Open source software #Stock screening #Automated trading tool #Python #SQLite

Sequoia-X is an open-source automatic stock selection tool designed for the A-share market, with a straightforward core idea: automatically scan all A-shares after the market closes each day, filter stocks based on preset technical patterns, and push the results to Feishu. The entire screening process operates according to clear strategic rules, without relying on subjective judgments from large models, making it suitable for users who prefer technical analysis, quantitative screening, and automated backtesting.

In terms of data, Sequoia-X uses baostock to obtain A-share post-adjusted daily K data and saves market data to a local SQLite database. This eliminates the need for additional registration for market accounts and reduces the hassle of frequently calling third-party financial website APIs and dealing with anti-scraping restrictions.

During the first run, the software will backfill historical market data for the entire market, which takes about 12 minutes; thereafter, during regular use, it only needs to incrementally supplement market data, execute stock selection strategies, and send screening results, typically completing the entire process in about 2 to 3 minutes.

Software Features



Automatic scanning of all A-shares: Automatically retrieves and checks market stock data after the market closes each day, searching for individual stocks that meet the specified technical patterns.

baostock market data: Pulls A-share post-adjusted daily K data through baostock, without relying on web market interfaces like Eastmoney, reducing the impact of anti-scraping and interface changes.

SQLite local storage: All historical market data is directly stored in a local SQLite database. After the initial data backfill, only new trading data needs to be updated daily, improving operational efficiency.

Automatic incremental data supplementation: Simply run the main program daily, and it will automatically check for missing market data and supplement the latest data, eliminating the need to manually download the complete historical market data every day.

6 built-in stock selection strategies: Currently integrates Turtle Breakout, Moving Average Expansion, High and Narrow Flag, Limit Up Pullback, Limit Down Reversal, RPS Breakout, and other six technical stock selection strategies to filter market opportunities from different technical patterns.

Automatic push to Feishu: After executing the strategy, the final list of selected stocks can be directly pushed to Feishu, making it convenient to quickly check the scanning results after the market closes each day.

Rule-driven stock selection: The entire scanning process is executed according to predefined technical indicators and pattern conditions, not relying on large models to "guess" price movements or subjectively generate investment conclusions, making the screening logic clearer and easier to check and modify strategy code.

One-click completion of daily processes: During normal use, simply run the main program to sequentially complete data updates, strategy scanning, generating stock lists, and Feishu pushing, making it an excellent tool for daily automated backtesting.