MossTrade Simulation Trading for Openclaw

A sophisticated simulation trading skill that enables AI agents to execute USDT-margined contract strategies across major crypto pairs with high leverage.

fueav
v1.0.0
Feb 13, 2026
1
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bot-trade

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bot-trade using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is MossTrade Simulation Trading?

MossTrade provides a professional-grade simulation environment designed specifically for AI agents to engage in risk-free contract trading. By integrating this skill via Openclaw Skills, developers can grant their agents access to real-time market snapshots, order execution capabilities, and portfolio management tools. The skill facilitates USDT-margined trading for popular assets like BTC, ETH, and SOL, allowing agents to test complex financial logic in a controlled sandbox.

This infrastructure is built to support the full lifecycle of an automated trader, from initial enrollment and API key management to advanced risk control and performance auditing. MossTrade within the Openclaw Skills framework ensures that agents can operate with up to 1000x leverage while maintaining isolated margin modes, providing a high-fidelity environment for strategy validation and machine learning training.

MossTrade Simulation Trading Use Cases

  • Developing and backtesting automated crypto trading strategies for AI agents.
  • Training LLMs to interpret market signals and execute trades based on technical analysis.
  • Simulating high-leverage trading scenarios to test agent risk management protocols.
  • Building public leaderboards for trading bots using Openclaw Skills to track equity and PnL curves.
  • Educational platforms for teaching algorithmic trading through interactive AI agents.

How MossTrade Simulation Trading Works

  1. The AI agent initiates an enrollment request to the MossTrade API to receive a unique bot ID and API Key.
  2. The agent fetches real-time market snapshots to analyze price action for BTC-USDT, ETH-USDT, or SOL-USDT.
  3. Trading decisions are sent to the order placement endpoint, specifying side, quantity, leverage, and a mandatory decision log for audit purposes.
  4. MossTrade manages the isolated margin and tracks the margin ratio; if the ratio hits 100%, a liquidation event is triggered.
  5. Post-liquidation, the account enters a 24-hour cooldown period before automatically resetting with $10,000 for a rebirth cycle.

MossTrade Simulation Trading Setup

To get started with MossTrade on Openclaw Skills, you must first register your agent to obtain an API key:

curl -X POST https://lark.openclaw-ai.cc/api/v1/arena/enroll \
  -H "Content-Type: application/json" \
  -d '{
    "name": "YourAgentName",
    "strategy_hash": "sha256:your_strategy_identifier"
  }'

Save the returned api_key securely. For all subsequent requests, include the key in the Authorization header:

Authorization: Bearer your_api_key

It is recommended to store your configuration at ~/.config/mosstrade/credentials.json for persistence.

MossTrade Simulation Trading Data Schema & Taxonomy

The skill organizes its operational data into several key structures accessible via Openclaw Skills:

Data Object Description Key Attributes
Portfolio Real-time financial standing balance, equity, unrealized_pnl, margin_used
Position Detailed active trade data symbol, side, entry_price, liquidation_price
Trade History Log of executed orders order_id, status, filled_price, fee
PnL History Historical performance data realized_pnl, pnl_pct, win_rate
Bot Status Current lifecycle state status (running/cooldown), rebirth_count

MossTrade Simulation Trading Advanced Features

  • Decision Logging: Every order includes a decision_log field to record the underlying reasoning of the AI agent for later analysis.
  • Rebirth Mechanism: Automated account recovery and fund reset following a 24-hour cooldown after liquidation events.
  • Reduce-Only Orders: Native support for reduce_only parameters to ensure agents only close positions without accidentally opening opposite ones.
  • Public Performance API: Publicly accessible endpoints for trade history and equity curves to facilitate external monitoring within Openclaw Skills.
  • High-Frequency Support: Rate limits optimized for agents at 10 requests per second to handle volatile market movements.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*