Crypto 4h Trade Brief
每4小时输出一次 BTC/ETH 行情复盘与可执行建议。基于 crypto-market-analyzer 的最新4h+1d数据,给出欧易(OKX)合约与现货网格的手填参数(区间、触发条件、止损止盈、仓位建议)。当用户要求“每4小时分析”“给欧易手填参数”“合约+网格参数建议”时使用。
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 3 · 733 · 0 current installs · 0 all-time installs
by@hmzo
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The skill claims to produce 4-hour BTC/ETH briefs using 'crypto-market-analyzer' data, but it does not include that analyzer, declare it as a dependency, or provide an install step. Instead it references a hard-coded absolute path (/home/hmzo/.openclaw/workspace/skills/public/crypto-market-analyzer/...) to a script outside the skill bundle — a mismatch between claimed capability and what is actually provided.
Instruction Scope
Runtime instructions tell the agent to execute a local Python script at a specific absolute path. Executing that script could perform any file I/O or network activity (the SKILL.md assumes the script will output specific JSON fields). The instructions otherwise stay focused on analyzing structured JSON from that script and producing trade templates, but they grant the agent the ability to run unverified code from the host filesystem and assume data fields that are not validated within the skill.
Install Mechanism
There is no install spec and no external packages are fetched by the skill itself (instruction-only). That minimizes supply-chain risk from the skill package, but shifts risk to the referenced external script which is not included.
Credentials
The skill requests no environment variables, credentials, or config paths. This is proportionate to its stated purpose of producing trade parameters and is preferable from a secrets perspective. However, it still depends on a local script whose access requirements are unknown.
Persistence & Privilege
The description says 'output every 4 hours', but the skill has no scheduling metadata or 'always' flag. Autonomous invocation is allowed by default on the platform, so the skill could be invoked periodically by an agent, but the skill package itself does not request elevated persistence. Confirm how scheduling is intended to be implemented.
What to consider before installing
This skill is suspicious mainly because it expects a local tool at a hard-coded path that is not included or declared. Before installing or enabling it: 1) ask the publisher to include the crypto-market-analyzer dependency or provide a clear, trusted install step (or change the script path to a relative, bundled script). 2) If you must run it, inspect the referenced Python script's contents to ensure it doesn't read unrelated files or exfiltrate data. 3) Prefer running the analyzer in a sandbox or CI environment you control, not directly from an agent with broad filesystem access. 4) Clarify how the 'every 4 hours' scheduling will be implemented and consider disabling autonomous invocation until you trust the script. 5) If you don't control the environment where the referenced path exists, do not enable this skill because it will fail or might run unexpected local code.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.1
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
Crypto 4H Trade Brief
执行步骤
- 运行分析脚本,获取最新 BTC/ETH 数据:
python3 /home/hmzo/.openclaw/workspace/skills/public/crypto-market-analyzer/scripts/fetch_crypto_data.py --output json
-
先给 2-4 句市场结论(趋势、动能、是否仅反弹非反转)。
-
做“执行闸门”判断(先判断,后给参数):
A) 数据可用性闸门(任一命中则暂停参数)
data_quality.errors非空。intraday_candle_count < 12或daily_candle_count < 120。- 最新数据时间戳滞后明显(超过 8 小时)。
命中后必须输出:
本轮数据不完整/滞后,暂停给参数。
B) 交易质量闸门(任一命中则仅给观察方案,不给可执行入场)
long_breakout.status == standby且short_breakdown.status == standby。volume_ratio < 0.5(极缩量)。
命中后必须输出:
当前信号质量不足,仅观察,不建议执行新仓。- 仍可提供关键位与触发条件,但标记为“观察模板”。
- 若通过闸门,再输出欧易手填参数,分两块:
A) 合约(永续)
- 方向建议:只给“做多条件”与“做空条件”,不要无条件喊单。
- 触发确认:必须写明“按 4h 收盘确认突破/跌破,不接受瞬时插针触发”。
- 必给参数:
- 入场触发价(基于支撑/阻力突破确认)
- 止损价(结构位)
- 止盈1/止盈2(至少 1:1.5 和 1:2.5)
- 建议杠杆(小白默认 3x-5x)
- 单笔风险上限(默认总资金 0.8%-1%)
B) 现货网格
- 必给参数:
- 价格区间(下沿/上沿)
- 网格数量(使用统一推导规则)
- 单格利润预期(区间与网格推导)
- 终止条件(跌破下沿如何处理、突破上沿如何处理)
- 若当前偏空,优先“防守型区间”(下沿留缓冲)。
- 仓位系数规则(强制执行)
以基础仓位 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 现货网格]
...
若模板字段缺失,必须输出:
本轮参数不完整,暂停执行,请补齐字段后再下单。
输出要求
- 中文,面向小白,先结论后参数。
- 每次都注明:
这不是财务建议,先小仓位试运行。 - 任何暂停/观察场景,语气要明确,不给模糊建议。
- 优先使用分析脚本产出的结构化字段,不手工臆测价位。
Files
1 totalSelect a file
Select a file to preview.
Comments
Loading comments…
