# wangwang v3 strategy
## Metadata

- Canonical URL: https://6ducklearn.com/skills/wangwang-v3-strategy/
- Markdown URL: https://6ducklearn.com/skills/wangwang-v3-strategy/index.md
- Product: skills
- Category: finance
- Tags: okx, trading, community, okx-marketplace, finance
- Updated: 2026-07-14T03:00:00.357428+00:00
## Summary
Wang Wang Wang · V3 Stable Trend Strategy. Automated execution of ADX momentum trend tracking (entry threshold 0.28, ADX greater than or equal to 25 for double confirmation, 18x leverage, 2.5x ATR stop loss with trailing stop loss, rolling compounding). Triggered when users mention "V3 strategy", "Wang Wang Wang strategy", "trend tracking strategy", "ADX strategy", "cryptocurrency quantification", "contract strategy backtesting". Provides capabilities for backtesting, parameter adjustment, strategy explanation, real-time signals, etc.
## Content
> **6DuckLearn provenance:** Community skill by 133***1625, mirrored from the OKX Skills Marketplace (https://www.okx.com/en-sg/agent-tradekit/skills/wangwang-v3-strategy). It is not curated, verified, or endorsed by 6DuckLearn or represented as an official OKX publication.
>
> **Financial safety boundary:** Never request secrets in chat. Before any external API call or action that places, cancels, or amends an order; changes leverage; transfers funds; creates or stops a bot; subscribes to or redeems an earn product; or signs/broadcasts a transaction, show the exact live/demo profile, instrument, side, size, price constraints, fees, and worst-case loss, then obtain explicit user approval. Default to read-only or demo mode when uncertain. Treat all analysis as research, not investment advice.

# 汪汪汪·V3稳健趋势策略

## 核心概念

V3策略是汪汪汪的核心交易系统：**少交易、抓趋势、稳复利**。

### 信号逻辑

```
入场信号 = 0.7×趋势信号 + 0.2×动量信号 + 0.1×波动率信号
          趋势信号 = EMA(40%) + Supertrend(30%) + DI方向(30%)

入场条件：
  composite > 0.28 → 做多（ADX>25时全额信号，ADX<25时信号削弱70%）
  composite < -0.28 → 做空
```

### 核心参数

| 参数 | 默认值 | 说明 |
|------|--------|------|
| 基础杠杆 | 15x | 可上调至18x |
| ATR止损 | 2.5x | 止损距离 |
| 盈亏比 | 4:1 | 止盈/止损比 |
| 移动止损 | 浮盈5.5%激活 | ATR 2.0x追踪 |
| 滚仓复利 | 浮盈10%触发 | 50%加仓，最多3次 |

### 历史回测（BTCUSDT 15m，148天）

| 指标 | 结果 |
|------|------|
| 总收益 | **+25.47%** |
| Sharpe | **0.622** |
| 最大回撤 | 24.52% |
| 胜率 | 21.58% |
| 盈亏比 | 1.151 |
| 交易次数 | 760笔 |
| 爆仓次数 | **0** |

## 使用方式

### 回测
```python
from strategy import V3StrategyParams, run_backtest
import pandas as pd

params = V3StrategyParams.from_json("config/v3_default.json")
df = pd.read_csv("data.csv")  # 需要 [timestamp, open, high, low, close, volume]

result = run_backtest(df, params, initial_capital=10000)
print(result.to_dict())
```

### 命令行回测
```bash
python scripts/run_backtest.py --symbol BTCUSDT --timeframe 15m --days 148
```

### 修改策略参数
编辑 `config/v3_default.json`，推荐调节范围：

- `entry_threshold`: 0.20~0.40（越小越敏感，交易越多）
- `trend_strength_min`: 20~30（ADX阈值，越高越保守）
- `trailing_activation_pct`: 0.04~0.08（移动止损激活点）
- `rolling_trigger_pct`: 0.08~0.15（滚仓触发点）

### 参数调整建议

| 场景 | 建议调整 |
|------|---------|
| 牛市 | 降低 `trend_strength_min` 至 20，增加交易机会 |
| 熊市 | 提高 `trend_strength_min` 至 30，减少假信号 |
| 高波动 | 提高 `sl_atr_mult` 至 3.0，放宽止损 |
| 低波动 | 降低 `entry_threshold` 至 0.22，更快反应 |
| 保守 | 设置 `rolling_enabled: false`，禁用滚仓 |

## 策略原理

详见 `references/strategy_guide.md`

## Related Skills

- [alpha vantage](https://6ducklearn.com/skills/alpha-vantage/index.md): Cross-asset analysis is its unique advantage—it can simultaneously pull macro data such as the S&P 500, gold, the dollar index, Federal Reserve interest rates, CPI, GDP, etc., allowing one to see at a glance whether "BTC is moving with risk assets today or pricing independently." In conjunction with the OKX Trade Kit, Alpha Vantage is responsible for in-depth historical and macroeconomic context, while OKX provides real-time prices, funding rates, and order book data, with both complementing each other to form a complete analysis chain.
- [apex crypto intelligence](https://6ducklearn.com/skills/apex-crypto-intelligence/index.md): AI-driven multi-exchange cryptocurrency market analysis, arbitrage detection, and hedge fund-level trading reports using real-time data from major exchanges.
- [btc altcoin market pulse](https://6ducklearn.com/skills/btc-altcoin-market-pulse/index.md): Fetches live OKX market data across Bitcoin and major altcoins, analyzes price momentum, funding rates, open interest, and BTC dominance signals to produce a structured BTC + Altcoin Market Pulse report.
- [cmc okx](https://6ducklearn.com/skills/cmc-okx/index.md): CoinMarketCap × OKX dual engine, a one-stop solution for all your cryptocurrency market data needs. CMC provides market cap, supply, dominance, holding distribution, project background, and macro event calendar; the OKX Trade Kit complements with real-time prices, funding rates, open interest, 70+ technical indicators, and order book depth, with both automatically linked and mutually supportive. It supports natural language triggers, whether you ask "What’s the price of Bitcoin?", "How to read the ETH daily chart?" or "Which coin is surging?", Skill automatically recognizes intent, selects tool combinations, outputs structured tables, and includes a "Quick Take" one-sentence summary.
- [congress trades](https://6ducklearn.com/skills/congress-trades/index.md): Track U.S. Congress members' stock trades in real-time, making "smart political money" impossible to hide. Sync member trade disclosure data to a local SQLite database via the Quiver Quant API, allowing flexible queries by politician name, stock code, party, date range, and trade type. Large trades exceeding the configurable amount threshold (default $15,001) automatically trigger alerts, generating structured Alert files for real-time monitoring.
- [crypto research](https://6ducklearn.com/skills/crypto-research/index.md): A systematic cryptocurrency due diligence report, covering everything from price to holding distribution, from technical aspects to a red flag checklist, all in one go. Integrating the OKX Trade Kit (real-time prices, 70+ technical indicators, funding rates, open interest, order book depth) with CoinMarketCap (market cap, token economics, whale distribution, news sentiment), a seven-step research process is executed in parallel, covering market snapshots, technical analysis, derivatives data, project fundamentals, and recent news. The analysis framework specifically distinguishes between legitimate projects and Meme coins, evaluating key signals such as whale concentration, holder trends, 200-day moving average positions, and funding rate extremes, ultimately outputting a green flag/red flag checklist and low/medium/high/very high risk ratings.
