myhhub/stock
stock股票.获取股票数据,计算股票指标,筹码分布,识别股票形态,综合选股,选股策略,股票验证回测,股票自动交易,支持PC及移动设备。
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
📈 InStock — all-in-one A-share quant toolkit
Run the full pick-test-act loop from one web app.
InStock is a Python-based system for A-shares and ETFs. It grabs daily market data, crunches technical indicators, maps chip/cost distribution (CYQ), flags K-line patterns and runs free-combo stock selection. All results are shown through a web UI that works on PC, tablet and mobile, and a Docker image is provided for easy setup.
✨ Highlights
- Daily market data: Pulls stocks/ETFs, fund flows, dividends, 龙虎榜, block trades, early/late rush, limit-up reasons and more.
- Technical indicators: 30+ indicators via TA-Lib and pandas (MACD, KDJ, BOLL, TRIX, RSI, CCI, WR, VR, DMI, ATR, OBV, SAR, PSY, EMV, TEMA, MFI, VWMA, PPO, WT, Supertrend, DPO, VHF, RVI, FI, ENE, STOCHRSI). Formulas are tuned to match Tonghuashun and 通达信 results.
- K-line pattern scan: Identifies 61 candlestick patterns with a clear buy/sell/neutral flag for each.
- Chip distribution (CYQ): Computes position cost distribution over a set time range (defaults to 210 trading days) and outputs a price-level share breakdown.
- Composite selection: Mix 200+ fields across market/industry/region/concept/style/index/listing time, fundamentals, technicals, news, popularity and quote data with custom filters.
- Built-in strategies + backtest: Includes rules like 放量上涨, 停机坪, 回踩年线, 突破平台, 放量跌停, 海龟交易法则, 高而窄的旗形, 低ATR成长 and basic fundamental picks, plus a strategy template to extend.
- Auto-trade with guardrails: Has built-in logic for new-share subscription (stagging) with trade logs per strategy. Other trade strategies are not bundled due to money risk.
- Batch, infra and access: Run by current date, single date, enum list or date range with smart trading-day detection. Supports multi-proxy, cookie injection, DB-first storage, web UI and multi-threading.
💡 Why it matters
InStock keeps ingestion, calculation, filtering, verification and action in one loop instead of wiring separate tools. DB design lets it hold history for reuse, batch jobs make multi-day runs practical on a notebook (about 4 minutes for a full day's tasks in stated tests), and rule-based selection keeps results traceable. The explicit split between read-only analysis and the tightly limited auto-trade path keeps testable quant work front and center.
#Stock #Quant #Backtesting #TechnicalAnalysis #TiniX
Similar Projects
Discover other similar projects and AI models.
The most complete open-source, self-hosted Agentic Trading OS—AI research, Python strategies, factor discovery, backtesting, optimization, paper/live multi-asset execution, risk controls, monitoring, MCP, and multi-tenant SaaS in one auditable stack.
A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
Python toolkit for quantitative finance: stock analysis, technical indicators, strategy backtesting, portfolio optimization, and financial modeling.
Python library for portfolio optimization and risk models, built on scikit-learn
Python trading framework with AI agents that actually place the trade. Backtest, paper and live trade on 12 brokers: stocks, options, futures, forex, crypto and prediction markets.