This skill serves as a bridge between the OpenClaw AI agent and the FMZ Quantum Trading Platform. It enables the AI to execute trade decisions (Buy/Sell/Wait) programmatically by sending structured JSON signals to a specific robot instance running on FMZ.
The AI should invoke this tool when a market analysis concludes with a definitive trading action.
| Parameter | Type | Description |
| :--- | :--- | :--- |
| action | string | The specific trading action to take. Accepted values: buy, sell, wait, close. |
| symbol | string | The trading pair symbol, formatted as BASE_QUOTE (e.g., BTC_USDT, ETH_USDT). |
| price | float | The current market price or limit price for the order. |
| reason | string | A brief explanation of why this trade decision was made (e.g., "RSI overbought", "Breaking support"). |
When the AI detects a buying opportunity for Bitcoin at 65000 USDT due to a positive trend:
handler(
action="buy",
symbol="BTC_USDT",
price=65000.0,
reason="MACD golden cross detected on 4H chart."
)
共 1 个版本