AI Agent Hub
Back to skills
OneQuant A-Share Buy Sell Signal Backtesting Workbench icon

OneQuant A-Share Buy Sell Signal Backtesting Workbench

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_a9caeb3c/a-stock-buy-sell-predict.

About this skill

Problem Addressed

A-share entry and exit decisions often stall between scattered market data, ad-hoc indicator formulas, and backtest loops that mix paper trading with live account assumptions. OneQuant turns this into a local Flask service for validating rule-based MA and RSI signals without assembling a custom pipeline.

How It Works

  • Data and signals: market indices, industry rankings, northbound flow, stock K-lines, five-level order book, and MACD/KDJ/RSI indicators with buy/sell signals.
  • Strategy backtesting: templates for MA golden cross and RSI overbought/oversold, with adjustable periods, thresholds, initial capital, and date ranges, plus equity curves and performance records.
  • Programmatic access: 14 modules and 102 REST endpoints for Python requests, CLI, curl, or batch scripts, with export of trade logs and backtest reports.
  • Paper trading and risk controls: local simulated orders, positions, P&L, order management, stop-loss/take-profit, and max position limits.

Boundaries and Caveats

It is for local A-share research, not low-latency trading or direct broker execution. Free AkShare has roughly 3-5 second latency and limited intraday history; backtests omit commissions, slippage, and stamp duty, so signals are best confirmed after close. Paid JQData/RQData improve latency and historical depth, but outputs should still be treated as research references.

Use Cases

  • Review the historical performance of MA or RSI signals on an A-share stock, then compare equity curves before shortlisting it.
  • After market close, screen limit-up, MA golden cross, or RSI oversold stocks and export the list to Excel for the next-day review.
  • Run limit orders in the local paper account, track P&L and order history, and check stop-loss or max-position alerts.
  • Pull K-lines, northbound flow, and financial metrics through REST APIs into a Python research report.

Best For

  • A-share retail investors who want to validate technical signals on watchlist stocks and review paper-position risk.
  • Quant beginners who want to run MA and RSI backtests and understand how periods and thresholds change buy/sell signals.
  • Python analysts who need stable REST endpoints for market data, financial metrics, and batch backtest results.
  • Finance content creators who need quotes, K-lines, northbound flow, and dragon-tiger board data for charts or tables.