Connors RSI Dual-Strategy Trading Bot
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_3601a2f8/zhancheconnors.
About this skill
Problem
This skill targets automated OKX perpetual trading, where manual monitoring, inconsistent signal execution, and fragmented risk control are common pain points. It puts two strategy families into one execution framework: Strategy A trend resonance for trending markets, using 1H/4H/1D alignment, pullback entries, and trailing stops; Strategy B Connors RSI for range markets, using RSI(2) extreme readings and ADX(14) filters to avoid fading strong trends.
How It Works
The implementation is organized around scanning, risk control, order execution, and backtesting:
bot.pyis the Strategy A entry point for market scanning, signal scoring, multi-filter validation, and automated execution.rsi2_bot.pyis the Strategy B entry point for mean-reversion signals such as long entries onRSI(2) < 10and short entries onRSI(2) > 90.risk_manager.pyhandles daily loss limits, exposure caps, position counts, and cooldown rules after consecutive losses.trade_executor.pymanages entries, stop-loss, take-profit, and trailing-stop logic.backtest_rsi2.pysupports historical validation of the RSI-based strategy.
A typical workflow is to configure the API key and risk parameters in scripts/config.ini, choose a strategy to start, then verify connectivity and monitor status. The documentation stresses that the API key must have perpetual-trading permission and recommends running in demo mode first.
Boundaries and Caveats
This is best treated as an engineering scaffold for a trading bot, not a guaranteed return system. The two strategies maintain independent risk budgets, so simultaneous runs still require manual oversight of total exposure. High leverage amplifies slippage, latency, and tail-risk exposure. Before live use, verify API permissions, spend limits, stop logic, and whether the backtest coverage matches the intended instruments.
Use Cases
- Configure the API key and risk limits in OKX perpetual trading, then start a demo run to verify connectivity.
- Run Strategy A in trending markets, scan the top 20 contracts using 1H/4H/1D resonance, and place orders automatically.
- Run the Connors strategy in range-bound markets, using RSI(2) extremes and ADX filters to execute mean-reversion trades.
- Before live trading, run `backtest_rsi2.py` to validate RSI(2) results, drawdown, and timeout-based exits.
Best For
- Crypto quant engineers who want to consolidate OKX perpetual order execution, risk control, and backtesting in one codebase.
- Individual OKX API traders who need to validate Connors RSI(2) mean-reversion rules in demo trading first.
- Developers researching trend-following strategies who want to extend a bot around 1H/4H/1D resonance and trailing stops.
- Bot-ops teams that need to audit API permissions, spending limits, daily loss caps, and total position exposure.
Related Skills
Systematically scans national strategy, technology trends, capital flows, and regional capacity to identify future industries, priority tracks, and actionable deployment pathways.
Recognizes plant growth stages from images or videos and outputs structured agronomic analysis, risk notes, suggestions, and cloud report history.
Analyzes child images or videos for ASD-related social, behavioral, and stereotyped traits, then produces a structured report with early intervention suggestions.
Prepare, submit, and verify enterprise tax filings through Qixiangyun MCP, including roster checks, initialization, PDF download, and missing-declaration checks.