Install
openclaw skills install precise-t-tradingProfessional T+0 intraday trading system for Chinese A-shares. Uses Bayesian inference, Kelly criterion, and VaR risk management to optimize day-trading decisions. Supports real-time quotes from Tencent Finance API. Ideal for active traders seeking quantitative edge in volatile markets. Includes risk control, position sizing, and automated monitoring.
openclaw skills install precise-t-tradingProfessional quantitative trading skill for Chinese A-share intraday T+0 trading. Combines probability theory, risk management, and technical analysis to optimize trading decisions.
Use this skill when:
python scripts/t_trading_analysis.py sz000981
Output:
======================================================================
Precise T+0 Trading System v2.0
======================================================================
【Real-time Quote】
Stock: 山子高科 (000981)
Price: 4.06 CNY
Change: -1.69%
...
【Quantitative Analysis】
Win Rate: 65.0% → 75.5% (Bayesian)
Expected Profit: +0.0481 CNY/share PASS
Kelly Position: 50.0% → Conservative 30.0%
Technical Score: 85/100
VaR(95%): 269.43 CNY
【Final Decision】
GO - Execute T+0 Trade
Action Plan:
Buy Zone: 4.01 - 4.04
Sell Zone: 4.39 - 4.72
Position: 360 shares
Expected Profit: +17.33 CNY
Stop Loss: 3.96
python scripts/stock_monitor.py
Monitors stocks every 60 minutes and logs alerts.
open scripts/dashboard.html
Real-time visualization with auto-refresh every 30 seconds.
| Variable | Default | Description |
|---|---|---|
T_TRADING_DEFAULT_STOCK | sz000981 | Default stock code |
T_TRADING_TOTAL_SHARES | 1200 | Total share position |
scripts/config.pyclass Config:
SUPPORT_LEVEL = 4.01 # Support price
RESISTANCE_LEVEL = 4.72 # Resistance price
MAX_POSITION_RATIO = 0.3 # Max 30% per trade
E(T) = p × profit - (1-p) × loss
p_new = α × p_recent + (1-α) × p_historical
f* = (p × b - q) / b
VaR = z × σ × position_value
precise-t-trading/
├── SKILL.md # This file
├── _meta.json # Skill metadata
└── scripts/
├── t_trading_analysis.py # Main analysis script
├── stock_monitor.py # Automated monitoring
├── dashboard.html # Web dashboard
└── config.py # Configuration
User: "分析山子高科的做T机会"
→ Run: python scripts/t_trading_analysis.py sz000981
→ Show analysis results
→ Provide trading recommendation
User: "帮我监控山子高科和隆基绿能"
→ Edit scripts/config.py with stock list
→ Run: python scripts/stock_monitor.py
→ Check logs for alerts
User: "打开监控面板"
→ Open: scripts/dashboard.html
→ Browser shows real-time prices
| Problem | Solution |
|---|---|
| "Data fetch failed" | Check internet connection |
| "Module not found" | Run pip install -r requirements.txt |
| "GBK encoding error" | Use UTF-8 terminal or PowerShell |
| "Permission denied" | Run as administrator on Windows |
⚠️ Trading involves risk. Past performance does not guarantee future results.
Kemi (yang77160)
If this skill helps you make money, consider supporting its development!
WeChat Pay / Alipay:

Your support helps me:
MIT License - Free to use, modify, and distribute.
Happy Trading! Remember: Risk management first. 📊
**⭐ 如果这个技能对你有帮助,请在 ClawHub 上给它点个星!
邀请好友使用,双方都得奖励!
每推荐5人,额外获得:
"用了一周,做T胜率从50%提升到70%,太香了!" - 张先生,上海
"终于不用凭感觉交易了,数据说话,心里有底" - 李女士,深圳
"VaR风控帮我躲过一次大跌,少亏2000+" - 王先生,北京
你也用得好?欢迎分享你的故事! 发邮件到 yang77160@example.com 或加微信**