Loading...
Loading...
Compare original and translation side by side
revx configurerevx configureInstall the CLI, generate API keys, and configure write-operation security.
Auto-resolve target. When invoked from anotherskill due to an auth error, do not bounce the user back to manual setup. Diagnose the failure against the Error Reference below, run the fix yourself (e.g.revx-*,chmod 600 ~/.config/revolut-x/private.pem,revx configure generate-keypair), then return to the calling skill and retry the original command. Only ask the user for inputs that only they can provide: the 64-character API key string, confirmation that they have registered the public key in their Revolut X profile, the keypair passphrase, or approval to overwrite an existing keypair.revx configure set --api-key <key>
安装CLI、生成API密钥并配置写入操作安全设置。
自动修复目标:当因认证错误从其他技能调用时,请勿让用户返回手动设置。根据下方的错误参考诊断故障,自行执行修复操作(例如revx-*、chmod 600 ~/.config/revolut-x/private.pem、revx configure generate-keypair),然后返回调用技能并重试原命令。仅向用户请求只有他们能提供的信息:64位字符的API密钥字符串、确认已在Revolut X个人资料中注册公钥、密钥对密码,或允许覆盖现有密钥对的确认。revx configure set --api-key <key>
node -vnode -vnpm install -g @revolut/revolut-x-cli && npm link @revolut/revolut-x-clirevxrevx --version # Should print the versionnpm install -g @revolut/revolut-x-cli && npm link @revolut/revolut-x-clirevxrevx --version # 应输出版本号revx configure # Interactive setup wizardrevx configure generate-keypair # Creates Ed25519 keypairrevx configure # 交互式设置向导revx configure generate-keypair # 创建Ed25519密钥对undefinedundefinedrevx configure get # Show config status (keys redacted)
revx configure path # Print config directory pathrevx configure get # 显示配置状态(密钥已脱敏)
revx configure path # 打印配置目录路径revx configure # Interactive setup wizard
revx configure get # Show config status (keys redacted)
revx configure set --api-key <key> # Set API key
revx configure generate-keypair # Generate Ed25519 keypair
revx configure path # Print config directory pathrevx configure # 交互式设置向导
revx configure get # 显示配置状态(密钥已脱敏)
revx configure set --api-key <key> # 设置API密钥
revx configure generate-keypair # 生成Ed25519密钥对
revx configure path # 打印配置目录路径| Platform | Path |
|---|---|
| macOS/Linux | |
| Windows | |
| Override | |
| 操作系统 | 路径 |
|---|---|
| macOS/Linux | |
| Windows | |
| 自定义路径 | |
| Error | Cause | Fix |
|---|---|---|
| Auth not configured | Missing API key or private key | Run |
| Authentication failed (401) | Invalid key or signature | Re-register public key at exchange.revolut.com |
| Network error | Connection/timeout failure | Check connectivity, retry |
| 错误信息 | 原因 | 修复方法 |
|---|---|---|
| 未配置认证 | 缺少API密钥或私钥 | 运行 |
| 认证失败(401) | 密钥或签名无效 | 在exchange.revolut.com重新注册公钥 |
| 网络错误 | 连接/超时失败 | 检查网络连接,重试 |
revx-accountrevx-marketrevx-tradingrevx-accountrevx-marketrevx-trading| Skill | Purpose |
|---|---|
| Currencies, pairs, tickers, candles, order book |
| Balances, order queries, trade history, events |
| Place and cancel orders |
| Live price/indicator alerts |
| Telegram notification setup |
| Grid bot backtest, optimize, run |
| 技能 | 用途 |
|---|---|
| 货币、交易对、行情、K线、订单簿 |
| 余额、订单查询、交易历史、事件记录 |
| 下单与撤单 |
| 实时价格/指标提醒 |
| Telegram通知设置 |
| 网格机器人回测、优化、运行 |