RepositoryPython
MY

myhhub/stock

stock股票.获取股票数据,计算股票指标,筹码分布,识别股票形态,综合选股,选股策略,股票验证回测,股票自动交易,支持PC及移动设备。

15.5ksao
3.2kfork
10issue
12lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: cyq

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: strategies

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: strategy

#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

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
edtechre/pybroker

Algorithmic Trading in Python with Machine Learning

3.7k
Nov 30, 2026
RepositoryPython
openbq-org/OpenBB

Open Data Platform for analysts, quants and AI agents.

76.0k
Nov 29, 2026
RepositoryPython
HKUDS/Vibe-Trading

"Vibe-Trading: Your Personal Trading Agent"

39.5k
Dec 2, 2026
RepositoryPython
OpenByteInc/QuantDinger

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.

14.1k
Nov 30, 2026
RepositoryPython
ricequant/rqalpha

A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities

6.9k
Oct 28, 2026
RepositoryPython
shashankvemuri/Finance

Python toolkit for quantitative finance: stock analysis, technical indicators, strategy backtesting, portfolio optimization, and financial modeling.

4.4k
Sep 12, 2026
RepositoryPython
zvtvz/zvt

modular quant framework.

4.3k
Jul 1, 2026
RepositoryPython
skfolio/skfolio

Python library for portfolio optimization and risk models, built on scikit-learn

2.7k
Dec 2, 2026
RepositoryPython
Lumiwealth/lumibot

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.

2.3k
Nov 28, 2026