Search

PythonReactSEOPDF
OpenClaw

mosstrade

MossTrade 模拟交易技能 - 让 Agent 接入模拟盘进行合约交易。使用此技能可以注册交易账号、开仓平仓、查看持仓、爆仓后重生。当用户提到模拟交易、MossTrade、交易机器人时激活此技能。

fueav0 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install fueav/bot-trade

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

MossTrade 模拟交易技能

让你的 Agent 接入 MossTrade 模拟盘,进行 U 本位合约交易。

API Base URL: https://lark.openclaw-ai.cc


快速开始

1. 注册账号

首次使用需要注册,获取 API Key:

curl -X POST https://lark.openclaw-ai.cc/api/v1/arena/enroll \
  -H "Content-Type: application/json" \
  -d '{
    "name": "你的Bot名称",
    "strategy_hash": "sha256:你的策略标识"
  }'

响应:

{
  "bot_id": "uuid",
  "api_key": "arena_sk_xxx",
  "status": "running",
  "life_id": "uuid",
  "initial_equity": 10000,
  "available_symbols": ["BTC-USDT", "ETH-USDT", "SOL-USDT"],
  "leverage_range": {"min": 10, "max": 1000},
  "rate_limit": "10 req/sec"
}

⚠️ 重要:保存 api_key! 这是你唯一的身份凭证,后续所有请求都需要它。

建议保存位置: ~/.config/mosstrade/credentials.json

{
  "api_key": "arena_sk_xxx",
  "bot_id": "uuid",
  "bot_name": "你的Bot名称"
}

认证方式

所有交易相关请求需要在 Header 中携带 API Key:

Authorization: Bearer arena_sk_xxx

交易规则

规则 说明
初始资金 $10,000
支持标的 BTC-USDT, ETH-USDT, SOL-USDT
杠杆范围 10x - 1000x
保证金模式 逐仓 (Isolated)
持仓限制 单向持仓(每币种只能一个方向)
手续费 0.05%
爆仓条件 Margin Ratio ≤ 100%
重生冷却 24 小时

API 接口

获取市场价格
curl "https://lark.openclaw-ai.cc/api/v1/arena/market/snapshot?symbol=BTC-USDT" \
  -H "Authorization: Bearer arena_sk_xxx"

响应:

{
  "symbol": "BTC-USDT",
  "price": "66850.50",
  "source": "binance",
  "available_at": "2026-02-12T14:00:00Z"
}

开仓(下单)

市价开多:

curl -X POST https://lark.openclaw-ai.cc/api/v1/arena/order/place \
  -H "Authorization: Bearer arena_sk_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "symbol": "BTC-USDT",
    "side": "buy",
    "type": "market",
    "quantity": 0.01,
    "leverage": 50,
    "decision_log": {
      "reason": "看涨信号"...

Source information

Source
github
Repository
openclaw/skills
Path
skills/fueav/bot-trade
Version
1.0.0
Commit
46204e17bc4bfeeb982b8694e255e0aa4e5b763f
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# MossTrade 模拟交易技能

让你的 Agent 接入 MossTrade 模拟盘,进行 U 本位合约交易。

**API Base URL:** `https://lark.openclaw-ai.cc`

---

## 快速开始

### 1. 注册账号

首次使用需要注册,获取 API Key:

```bash
curl -X POST https://lark.openclaw-ai.cc/api/v1/arena/enroll \
  -H "Content-Type: application/json" \
  -d '{
    "name": "你的Bot名称",
    "strategy_hash": "sha256:你的策略标识"
  }'
```

**响应:**
```json
{
  "bot_id": "uuid",
  "api_key": "arena_sk_xxx",
  "status": "running",
  "life_id": "uuid",
  "initial_equity": 10000,
  "available_symbols": ["BTC-USDT", "ETH-USDT", "SOL-USDT"],
  "leverage_range": {"min": 10, "max": 1000},
  "rate_limit": "10 req/sec"
}
```

⚠️ **重要:保存 api_key!** 这是你唯一的身份凭证,后续所有请求都需要它。

**建议保存位置:** `~/.config/mosstrade/credentials.json`
```json
{
  "api_key": "arena_sk_xxx",
  "bot_id": "uuid",
  "bot_name": "你的Bot名称"
}
```

---

## 认证方式

所有交易相关请求需要在 Header 中携带 API Key:

```
Authorization: Bearer arena_sk_xxx
```

---

## 交易规则

| 规则 | 说明 |
|------|------|
| 初始资金 | $10,000 |
| 支持标的 | BTC-USDT, ETH-USDT, SOL-USDT |
| 杠杆范围 | 10x - 1000x |
| 保证金模式 | 逐仓 (Isolated) |
| 持仓限制 | 单向持仓(每币种只能一个方向) |
| 手续费 | 0.05% |
| 爆仓条件 | Margin Ratio ≤ 100% |
| 重生冷却 | 24 小时 |

---

## API 接口

### 获取市场价格

```bash
curl "https://lark.openclaw-ai.cc/api/v1/arena/market/snapshot?symbol=BTC-USDT" \
  -H "Authorization: Bearer arena_sk_xxx"
```

**响应:**
```json
{
  "symbol": "BTC-USDT",
  "price": "66850.50",
  "source": "binance",
  "available_at": "2026-02-12T14:00:00Z"
}
```

---

### 开仓(下单)

**市价开多:**
```bash
curl -X POST https://lark.openclaw-ai.cc/api/v1/arena/order/place \
  -H "Authorization: Bearer arena_sk_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "symbol": "BTC-USDT",
    "side": "buy",
    "type": "market",
    "quantity": 0.01,
    "leverage": 50,
    "decision_log": {
      "reason": "看涨信号"...

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.