据 AlphaMoat 统计,截至 2026-10,moltrade 累计下载 9,456 次、获 7 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 2,917 位,在「专业领域」分类(1,228 个)中排名第 303 位。
列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。
| 平台 | 累计下载 | 星标 | 评论 |
|---|---|---|---|
| ClawHub ↗ | 5,910 | 7 | 1 |
| SkillHub ↗ | 9,456 | 7 | — |
各平台的计数口径不同,统计时间不一致。
该技能用于配置、回测、测试模式运行 Moltrade 交易机器人,并通过 Nostr 网络广播加密信号、接入交易所适配器和策略。源材料说明密钥与资金保留在用户本机,云中继不持有私钥,并提供 Binance Spot、Uniswap、Polymarket 等适配器以及 ClawHub 安装方式。源材料同时要求默认使用测试模式、切换实盘需用户明确同意,并提示实盘与凭据处理可能影响真实资金。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-10 | 9,456 | — | 7 |
| 2026-09 | 6,743 | — | 7 |
| 2026-08 | 6,029 | +3.0% | 7 |
| 2026-07 | 5,853 | +4.1% | 7 |
| 2026-06 | 5,620 | +2.7% | 7 |
| 2026-05 | 5,474 | — | 7 |
| 2026-03 | 5,068 | — | 7 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
name: moltrade
description: Operate the Moltrade trading bot (config, backtest, test-mode runs, Nostr signal broadcast, exchange adapters, strategy integration) in OpenClaw.
metadata:
openclaw:
emoji: "🤖"
requires:
bins: ["python", "pip"]
homepage: https://github.com/hetu-project/moltrade.git
---
# Moltrade Bot Skill
**Moltrade** is a decentralized, automated trading assistant that lets you run quant strategies, share encrypted signals, and allow others to copy your trades—all securely via the Nostr network. Earn reputation and credits based on your trading performance.

**YOUR 24/7 AI TRADER ! EARNING MONEY WHILE YOU'RE SLEEPING.**
[](https://x.com/hetu_protocol) [](https://t.me/+uJrRgjtSsGw3MjZl) [](https://clawhub.ai/ai-chen2050/moltrade) [](https://www.moltrade.ai/)
---
## Advantages
**Moltrade** balances security, usability, and scalability. Key advantages include:
1. **Client-side Key self-hosting,not cloud Custody,**: All sensitive keys and credentials remain on the user's machine; the cloud relay never holds funds or private keys, minimizing custodial risk.**No access to private keys or funds.**
2. **Encrypted, Targeted Communication**: Signals are encrypted before publishing and only decryptable by intended subscribers, preserving strategy privacy and subscriber security.
3. **Lightweight Cloud Re-encryption & Broadcast**: The cloud acts as an efficient relay/re-broadcaster without storing private keys; re-encryption or forwarding techniques improve delivery reliability and reach.
4. **One-Click Copy Trading (User Friendly)**: Provides an out-of-the-box copy-trading experience for non-expert users—set up in a few steps and execute signals locally.
5. **OpenClaw Strategy Advisor**: Integrates OpenClaw as an advisory tool for automated backtests and improvement suggestions; users decide whether to adopt recommended changes.
6. **Cloud Can Be Decentralized Relayer Network**: The lightweight relay architecture allows future migration to decentralized relay networks, reducing single points of failure and improving censorship resistance.
7. **Unified Incentive (Credit) System**: A transparent, verifiable Credit mechanism rewards all participants (signal providers, followers, relay nodes), aligning incentives across the ecosystem.
## **How It Works (Simplified Flow)**
```bash
1) Run Your Bot ──→ 2) Generate & Encrypt ──→ 3) Relay ──→ 4) Copy & Execute ──→ 5) Verify & Earn
```
## Install & Init
- If you are inside **OpenClaw**, you can install directly via ClawHub:
```bash
clawhub search moltrade
clawhub install moltrade
```
- OR Clone the repo and install Python deps locally:
- `git clone https://github.com/hetu-project/moltrade.git`
- `cd moltrade/trader && pip install -r requirements.txt`
- Initialize a fresh config with the built-in wizard:
- **Security Requirement**: Always ask the human user to run `python main.py --init` themselves in a separate terminal. Do not ask for or handle their wallet private keys directly or save them to disk via agent scripts.
- For CI/agents, keep using the repo checkout; there is no separate pip package/CLI yet.
## Update Config Safely
- Backup or show planned diff before edits.
- Change only requested fields (e.g., `trading.exchange`, `trading.default_strategy`, `nostr.relays`).
- Validate JSON; keep types intact. Remind user to provide real secrets themselves.
## Run Backtest (local)
- Install deps: `pip install -r trader/requirements.txt`.
- Command: `python trader/backtest.py --config trader/config.example.json --strategy <name> --symbol <symbol> --interval 1h --limit 500`.
- Report PnL/win rate/trade count/drawdown if available. Use redacted config (no real keys).
## Start Bot (test mode)
- Ensure `config.json` exists (run `python main.py --init` if not) and `trading.exchange` set (default hyperliquid).
- Command: `python trader/main.py --config config.json --test --strategy <name> --symbol <symbol> --interval 300`.
- Watch `trading_bot.log`; never switch to live without explicit user approval.
## Run Bot (live)
- Only after validation on test mode; remove `--test` to hit mainnet.
- Command: `python trader/main.py --config config.json --strategy <name> --symbol <symbol>`.
- Double-check keys, risk limits, and symbol before starting; live mode will place real orders.
## Copy-trade Usage (live)
- Follower (mirrors leader, no strategy trading): `python trader/main.py --config trader/config.json --strategy momentum --symbol HYPE --copytrade follower`
## Broadcast Signals to Nostr
- Check `nostr` block: `nsec`, `relayer_nostr_pubkey`, `relays`, `sid`.
- `SignalBroadcaster` is wired in `main.py`. In test mode, verify `send_trade_signal` / `send_execution_report` run without errors.
## Binance Spot Support
Moltrade supports Binance Spot trading via `binance-sdk-spot`. Set `trading.exchange` to `"binance"` in your config and provide API credentials.
> **Related Skills** (raw API calls, not tied to the bot runtime):
>
> - [`binance/spot`](binance/spot/SKILL.md) — Binance Spot REST API skill: market data, order management, account info. Requires API key + secret; supports testnet and mainnet.
> - [`binance/square-post`](binance/square-post/SKILL.md) — Binance Square social platform skill: post trading insights/signals as text content via the Square OpenAPI. Requires a Square OpenAPI key.
### Install Binance SDK
```bash
pip install binance-sdk-spot
```
### Config Fields
Add a `binance` block alongside the existing `trading` block:
```json
{
"trading": {
"exchange": "binance",
"default_symbol": "BTCUSDT",
"default_strategy": "momentum"
},
"binance": {
"api_key": "your_mainnet_api_key",
"api_secret": "your_mainnet_api_secret",
"testnet_api_key": "your_testnet_api_key",
"testnet_api_secret": "your_testnet_api_secret"
}
}
```
> **Note**: Binance testnet uses keys generated separately at <https://testnet.binance.vision> (GitHub login required). Mainnet keys do **not** work on the testnet.
### Testnet (–-test)
When `--test` is passed the bot routes all requests to `testnet.binance.vision` and uses `binance.testnet_api_key` / `testnet_api_secret`. If testnet keys are absent it falls back to mainnet keys, which will cause auth errors against the testnet endpoint.
```bash
python trader/main.py --config config.json --test --strategy momentum --symbol BTCUSDT
```
### Live Trading
```bash
python trader/main.py --config config.json --strategy momentum --symbol BTCUSDT
```
### Backtest
```bash
python trader/backtest.py --config trader/config.example.json --strategy momentum --symbol BTCUSDT --interval 1h --limit 500
```
### Supported Interface
`BinanceClient` (`trader/binance_api.py`) implements the same interface as `HyperliquidClient`:
| Method | Description |
| ------------------------------------------------------ | ------------------------------------------------------------- |
| `get_candles(symbol, interval, limit)` | K-line data as `[ts, open, high, low, close, vol]` |
| `get_balance(asset)` | Free balance for an asset (default `"USDT"`) |
| `get_positions()` | Non-zero asset balances (spot has no margin positions) |
| `get_open_orders()` | All current open orders |
| `place_order(symbol, is_buy, size, price, order_type)` | LIMIT or MARKET order with auto lot-size / tick-size rounding |
| `cancel_order(order_id, symbol)` | Cancel by order ID |
| `cancel_all_orders(symbol)` | Cancel all orders (optionally for one symbol) |
| `get_ticker_price(symbol)` | Latest traded price |
## Uniswap V3 Support
Moltrade supports decentralized swaps on EVM chains using Uniswap V3 Router via `web3`. Set `trading.exchange` to `"uniswap"` in your config. Note that DEX swaps are atomic; there are no open limit orders or margin positions, and price charting requires an external oracle (currently returns empty or mock data locally).
### Install Web3
```bash
pip install web3
```
### Config Fields
Add a `uniswap` block alongside the existing `trading` block:
```json
{
"trading": {
"exchange": "uniswap",
"default_symbol": "WETH",
"default_strategy": "momentum"
},
"uniswap": {
"rpc_url": "https://eth-mainnet.g.alchemy.com/v2/...",
"private_key": "your_wallet_private_key",
"chain_id": 1,
"router_address": "0xE592427A0AEce92De3Edee1F18E0157C05861564",
"slippage_tolerance": 0.005,
"default_token_in": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"default_token_out": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
}
```
## Polymarket Support
Moltrade supports prediction markets on Polymarket via the official `py-clob-client`. Set `trading.exchange` to `"polymarket"` in your config.
### Install CLOB Client
```bash
pip install py-clob-client
```
### Config Fields
Add a `polymarket` block alongside the existing `trading` block:
```json
{
"trading": {
"exchange": "polymarket",
"default_symbol": "TOKEN_ID_HERE",
"default_strategy": "momentum"
},
"polymarket": {
"api_key": "your_polymarket_api_key",
"api_secret": "your_polymarket_api_secret",
"api_passphrase": "your_polymarket_api_passphrase",
"private_key": "your_wallet_private_key",
"chain_id": 137
}
}
```
## Add Exchange Adapter
- Implement adapter in `trader/exchanges/` matching `HyperliquidClient` interface (`get_candles`, `get_balance`, `get_positions`, `place_order`, etc.).
- Register in `trader/exchanges/factory.py` keyed by `trading.exchange`.
- Update config `trading.exchange` and rerun backtest/test-mode.
## Integrate New Strategy
- Follow `trader/strategies/INTEGRATION.md` to subclass `BaseStrategy` and register in `get_strategy`.
- Add config under `strategies.<name>`; backtest, then test-mode before live.
## Safety / Secrets
- Never print or commit private keys, mnemonics, nsec, or shared keys.
- Default to test mode; require explicit consent for live trading.
AIGC创作过程自动存证技能。自动识别创作平台与生成工具,将创作过程记录存证并盖有公安备案电子印章,具备可信时间戳,可以在全国电子印章互认平台核验。
反电信网络诈骗(反诈)专家技能。当用户描述一个疑似诈骗的场景、短信、电话、链接、聊天记录、App、投资平台、招聘信息或转账要求,并询问「这是不是诈骗」「要不要转钱」「怎么止损」「钱还能不能追回来」,或需要识别诈骗话术、拆解骗局结构、生成报案材料与取证清单时使用。同时在对话中主动嗅探「转账、验证码、屏幕共享、安全账户、保证金、刷单、稳赚、百万保障、跑分」等风险词并插入预警,即使对方并未询问反诈。适用场景还包括:家属求助劝阻疑似被骗的亲人、企业/银行/支付机构/互联网平台做涉诈账户识别与交易监测规则、涉诈资金链(跑分、卡四件套、GOIP)分析、反诈合规与员工培训、反诈实战演练。
电子印章公安备案、全网互认,实现所有格式文件电子签章与视频确权,覆盖全国所有CA厂商自2005年以来的全量电子签章数据,无论由哪个地区、哪套系统、哪家CA机构签发,均可精准校验与互认。
包拯.Skills你身边的专家律师团 — 专业法律咨询 + 要素式/通用起诉状起草 + 刑事专项材料辅助 + 法条分析与法规检索。flk.npc.gov.cn API实时法条优先,不可用时AI知识库降级兜底,**法条来源按四档标注可核验(已核验-flk API / 已核验-单源 / 已引-离线库 / 未核验-模型生成),交付末尾附法条/事实/金额/程序分项置信度**;以22类法律领域覆盖矩阵约束路由边界;支持35个起诉状模板、5类刑事专项材料辅助;内置Logic Doctor逻辑自检、诉讼时效追踪及10类异常容错处理(含连续失败熔断);渐进式意图收敛协议(3轮状态机);混合意图自动任务拆解(按依赖排序→合并→顺序执行);含反模式清单与危机干预出口(自杀/家暴/未成年人侵害先于一切法律分析)。非标准案由自动使用通用模板。
律师AI办案工作台:从接案到结案全流程提效——案件分析、要件梳理、文书初稿、证据质证、法庭攻防演练、赔偿与费用计算、期限提醒、复盘归档;覆盖民事、刑事、劳动、非诉、破产、执行、行政、仲裁八大领域,111 个专家技能;法条可核验、结论可复核。
包拯.Skills你身边的专家律师团 — 专业法律咨询 + 要素式/通用起诉状起草 + 刑事专项材料辅助 + 法条分析与法规检索。flk.npc.gov.cn API实时法条优先,不可用时AI知识库降级兜底,**法条来源按四档标注可核验(已核验-flk API / 已核验-单源 / 已引-离线库 / 未核验-模型生成),交付末尾附法条/事实/金额/程序分项置信度**;以22类法律领域覆盖矩阵约束路由边界;支持35个起诉状模板、5类刑事专项材料辅助;内置Logic Doctor逻辑自检、诉讼时效追踪及10类异常容错处理(含连续失败熔断);渐进式意图收敛协议(3轮状态机);混合意图自动任务拆解(按依赖排序→合并→顺序执行);含反模式清单与危机干预出口(自杀/家暴/未成年人侵害先于一切法律分析)。非标准案由自动使用通用模板。
基于技术交底书生成专利申请初稿。技术交底书内容至少包含技术问题、解决方案、技术效果。内置的推理、视觉、多模态、数学、函数、仿真等模型底座均为国产,国外模型0使用,可放心食用。 近期安装量暴增感谢支持,不少私信希望能力提升但这已是国产极限,我们不必追求最强技能,达到及格即可。学习交流欢迎联系微信号A26dian4
露禾论文写作助手(免费版):一句话生成引用可溯源、不编造的专业学术论文,按国标 GB/T 7714 插入真实文献引用,中英文 3000/5000/8000 字,一键导出 Word。说「写论文 / 帮我写论文」即可使用。
数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。