Install
openclaw skills install crypto-4h-trade-brief每4小时输出一次 BTC/ETH 行情复盘与可执行建议。基于 crypto-market-analyzer 的最新4h+1d数据,给出欧易(OKX)合约与现货网格的手填参数(区间、触发条件、止损止盈、仓位建议)。当用户要求“每4小时分析”“给欧易手填参数”“合约+网格参数建议”时使用。
openclaw skills install crypto-4h-trade-briefpython3 /home/hmzo/.openclaw/workspace/skills/public/crypto-market-analyzer/scripts/fetch_crypto_data.py --output json
先给 2-4 句市场结论(趋势、动能、是否仅反弹非反转)。
做“执行闸门”判断(先判断,后给参数):
data_quality.errors 非空。intraday_candle_count < 12 或 daily_candle_count < 120。命中后必须输出:
本轮数据不完整/滞后,暂停给参数。long_breakout.status == standby 且 short_breakdown.status == standby。volume_ratio < 0.5(极缩量)。命中后必须输出:
当前信号质量不足,仅观察,不建议执行新仓。以基础仓位 base_size 为 1:
volume_ratio >= 1.0 -> size_factor = 1.00.7 <= volume_ratio < 1.0 -> size_factor = 0.50.5 <= volume_ratio < 0.7 -> size_factor = 0.3volume_ratio < 0.5 -> size_factor = 0.0(暂停合约开仓)必须明确提示:
volume_ratio < 1:信号可靠性偏弱,降低仓位。volume_ratio < 0.5:量能过低,本轮不执行合约新仓。range_pct = (upper - lower) / mid * 100,mid = (upper + lower)/2grid_count = clamp(int(range_pct / 0.8), 12, 40)single_grid_profit_pct ~= range_pct / grid_count输出时四舍五入到 2 位小数,并写明“为估算值,需扣除手续费”。
[BTC 合约]
模式: 逐仓
杠杆: Xx
方向: 条件触发
触发确认: 4h收盘确认
入场: xxxx
止损: xxxx
止盈1: xxxx
止盈2: xxxx
单笔风险: 0.8%-1%
仓位系数: x.xx
[ETH 合约]
...
[BTC 现货网格]
区间: xxxx - xxxx
网格数: xx
单格利润预估: x.xx%
投入: xxx USDT
触发条件: ...
终止条件: ...
[ETH 现货网格]
...
若模板字段缺失,必须输出:
本轮参数不完整,暂停执行,请补齐字段后再下单。这不是财务建议,先小仓位试运行。