OneQuant A-Share Buy Sell Signal Backtesting Workbench
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/RSIindicators with buy/sell signals. - Strategy backtesting: templates for
MA golden crossandRSI 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.
Related Skills
A local A-share quant workspace for quotes, k-lines, conditional screening, MA/RSI backtesting, simulated trading, and risk control via REST APIs.
Systematically identify and evaluate the economic moats of listed companies using the Tang Shu Fang investment methodology for long-term investment analysis.
A skill that converts natural language questions into A-stock data queries and returns verifiable structured analysis conclusions, covering multi-dimensional analysis of market trends, fundamentals, and news.
An AI financial copilot by Wind, integrating financial databases and multimodal analysis to provide end-to-end support across investment research, asset allocation, risk control, quant, and report generation.