Loading...
Loading...
Compare original and translation side by side
revx order placerevx order cancelrevx order placerevx order cancelPlace market and limit orders, cancel open orders.
Auth required. Make sureis installed and configured before running these commands. If any command fails with an auth-related error —revx,Auth not configured,No private key found,Authentication failed (401),Invalid signature, or a missing key/config file atinsecure permissions— invoke the~/.config/revolut-x/skill immediately and apply the fix yourself. Do not interrupt the user to ask them to run setup. Only escalate to the user for steps only they can perform (pasting the API key, registering the public key in their Revolut X profile, choosing a passphrase). After the fix, retry the original command.revx-auth
BASE-QUOTEBTC-USDETH-EURSOL-USDrevx market pairsrevx-marketorder place--json--output json下达市价单和限价单,取消未成交订单。
需要身份验证。 执行这些命令前,请确保已安装并配置。如果命令因身份验证相关错误失败——如revx、Auth not configured、No private key found、Authentication failed (401)、Invalid signature,或insecure permissions路径下缺少密钥/配置文件——请立即调用~/.config/revolut-x/技能并自行修复问题。 不要打断用户让他们执行设置步骤。仅当步骤只能由用户完成时(如粘贴API密钥、在Revolut X账户中注册公钥、选择密码短语),才告知用户操作。修复完成后,重试原命令。revx-auth
BTC-USDETH-EURSOL-USDrevx market pairsrevx-marketorder place--json--output jsonrevx order placerevx order cancelOrder to place:
- Pair: BTC-USD
- Side: buy
- Type: limit @ $95,000
- Size: 0.001 BTC
Shall I proceed?
revx order cancel --allrevx order placerevx order cancel待下达订单:
- 交易对:BTC-USD
- 方向:买入
- 类型:限价单 @ 95,000美元
- 数量:0.001 BTC
是否继续执行?
revx order cancel --allBTC-USD--qty--quote--market--limit <price>--post-onlyBTC-USD--qty--quote--market--limit <price>--post-onlyundefinedundefined
**Arguments:** `<symbol> <side>`
- `symbol`: `BASE-QUOTE` format (e.g., `BTC-USD`, `ETH-EUR`)
- `side`: `buy` or `sell` (case-insensitive)
**Flags:**
| Flag | Description |
|---|---|
| `--qty <amount>` | Size in base currency (e.g., 0.001 for BTC) |
| `--quote <amount>` | Size in quote currency (e.g., 500 for USD) |
| `--market` | Market order (required unless `--limit`) |
| `--limit <price>` | Limit price (required unless `--market`) |
| `--post-only` | Post-only execution (limit orders only) |
Must specify either `--qty` or `--quote` (not both).
---
**参数:** `<symbol> <side>`
- `symbol`:「BASE-QUOTE」格式(如`BTC-USD`、`ETH-EUR`)
- `side`:`buy`或`sell`(不区分大小写)
**选项:**
| 选项 | 说明 |
|---|---|
| `--qty <amount>` | 基础货币数量(如BTC为0.001) |
| `--quote <amount>` | 计价货币金额(如USD为500) |
| `--market` | 市价单(若未指定`--limit`则必填) |
| `--limit <price>` | 限价价格(若未指定`--market`则必填) |
| `--post-only` | 仅挂单执行(仅适用于限价单) |
必须指定`--qty`或`--quote`中的一个(不可同时指定)。
---revx order cancel <order-id> # Cancel a single order
revx order cancel --all # Cancel all open ordersrevx order cancel <order-id> # 取消单个订单
revx order cancel --all # 取消所有未成交订单| Error | Cause | Fix |
|---|---|---|
| Order rejected (400) | Invalid params or insufficient funds | Check pair constraints via |
| Not found (404) | Invalid order ID | Verify with |
| Rate limit (429) | Too many requests | Wait for |
| 错误信息 | 原因 | 修复方法 |
|---|---|---|
| Order rejected (400) | 参数无效或资金不足 | 通过 |
| Not found (404) | 订单ID无效 | 使用 |
| Rate limit (429) | 请求过于频繁 | 等待 |
| Skill | Purpose |
|---|---|
| Check balances, view order status and fills after trading |
| Check prices and pair constraints before trading |
| API key setup and passkey configuration |
| Automated grid trading bot |
| 技能 | 用途 |
|---|---|
| 查看账户余额、交易后的订单状态与成交记录 |
| 交易前查看价格与交易对约束条件 |
| API密钥设置与密钥配置 |
| 自动化网格交易机器人 |