# InStock

> Self-hosted Chinese A-share stock screener with indicators, backtests and auto-trading

Source: https://talira.ai/catalog/instock-01mknfjj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [business / finance / investment research](https://talira.ai/categories/business/finance/investment-research), [business / finance / algorithmic trading](https://talira.ai/categories/business/finance/algorithmic-trading)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- Backed by: [myhhub](https://talira.ai/orgs/myhhub.md)

InStock (the myhhub/stock repository) is a self-hosted stock analysis system for China's A-share market and ETFs. It fetches daily market data into MySQL, computes more than 30 technical indicators with TA-Lib and pandas (MACD, KDJ, BOLL, RSI and others, matched to Tonghuashun's and Tongdaxin's results), identifies candlestick patterns and chip distribution, and screens stocks on over 200 fundamental, technical, news and popularity fields or built-in strategies. It backtests what the screens pick, keeps a watchlist, shows everything in a web UI, and has an optional auto-trading service that ships only a new-share subscription strategy and examples. It runs from source in Python or from a Docker image.

## Links

- GitHub: https://github.com/myhhub/stock

## Problems it solves

- screen Chinese A-share stocks by technical indicators every day on my own server
- backtest which stock-picking strategy would have worked on A-shares
- spot candlestick patterns across the whole A-share market automatically

## Features

- daily A-share and ETF data collection
- 30+ technical indicators
- candlestick pattern recognition
- chip distribution (CYQ)
- stock screening on 200+ fields
- strategy backtesting
- optional auto-trading service
- web UI

## Limitations

- Covers China's A-share market and ETFs only.[^1]
- It scrapes Eastmoney's pages, and its README suggests proxies and rotating account cookies to get past Eastmoney's rate limits.[^1]
- The auto-trading service subscribes to new shares at 10:00 on trading days unless you remove that strategy or don't start the service.[^1]

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.27, adoption 0.84, momentum 0.77, community 0.28, backing 0.30, extensibility 0.00.

- 15.5k GitHub stars
- 4 contributors
- backed by myhhub

Warnings:

- last commit 8 months ago

## Alternatives

- [Daily Stock Analysis](https://talira.ai/catalog/daily-stock-analysis-cnhrkznr.md): LLM-powered daily analysis of your stock watchlist, pushed to chat or email
- [TradingAgents-CN](https://talira.ai/catalog/tradingagents-cn-kn96qcwp.md): Multi-agent LLM research assistant for China's A-share market, with natural-language stock screening and paper trading
- [AI Hedge Fund](https://talira.ai/catalog/ai-hedge-fund-dyt9rvjj.md): Terminal app where AI investor agents paper-trade and backtest stock funds

## Sources

[^1]: https://github.com/myhhub/stock/blob/master/README.md (checked 30 Nov 2026)
[^2]: https://github.com/myhhub/stock/blob/master/LICENSE (checked 30 Nov 2026)
