revx-monitor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMonitoring (revx monitor
)
revx monitor监控(revx monitor
)
revx monitorLive price and technical indicator alerts. Runs as a continuous polling process.
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
Symbols use format with a dash: , , .
BASE-QUOTEBTC-USDETH-EURSOL-USDIf Telegram connectors are configured (see skill), alerts are sent as notifications.
revx-telegram实时价格与技术指标警报。以持续轮询进程运行。
需要身份验证。运行这些命令前,请确保已安装并配置。如果任何命令因身份验证相关错误失败——revx、Auth not configured、No private key found、Authentication failed (401)、Invalid signature,或insecure permissions路径下缺少密钥/配置文件——立即调用~/.config/revolut-x/技能并自行修复问题。不要打断用户让他们运行设置步骤。仅在需要用户执行专属操作(粘贴API密钥、在Revolut X配置文件中注册公钥、选择密码短语)时才联系用户。修复完成后,重试原命令。revx-auth
交易对采用格式,用短横线分隔:、、。
BASE-QUOTEBTC-USDETH-EURSOL-USD如果已配置Telegram连接器(详见技能),警报将以通知形式发送。
revx-telegramBehavioral Instructions for Claude
Claude行为说明
Long-Running Commands
长期运行命令
All commands run indefinitely (polling loops with live dashboard output).
revx monitor <type>How to handle:
- Run the command using the tool with
Bash— this frees Claude immediately while the process runs asynchronouslyrun_in_background: true - Periodically read the background task output file with the tool to monitor status and report key events to the user (alerts triggered, errors)
Read - If the user asks to stop, use the tool with the task ID
TaskStop - Also print the command to the user so they can optionally run it in a separate terminal for the full live dashboard experience (with colors, real-time tables, Ctrl+C to stop)
Example — starting a monitor:
Bash tool call:
json
{ "command": "revx monitor price BTC-USD --direction above --threshold 100000", "run_in_background": true }Response to user:
Started monitoring BTC-USD price in the background. I'll check for alerts periodically.If you'd like to see the live dashboard, run this in a separate terminal:bashrevx monitor price BTC-USD --direction above --threshold 100000Press Ctrl+C to stop. Alerts will also be sent to Telegram if configured.
所有命令会无限期运行(带实时仪表板输出的轮询循环)。
revx monitor <type>处理方式:
- 使用工具并设置
Bash来运行命令——这会立即释放Claude,同时进程在后台异步运行run_in_background: true - 定期使用工具读取后台任务输出文件,监控状态并向用户报告关键事件(警报触发、错误)
Read - 如果用户要求停止,使用工具并传入任务ID
TaskStop - 同时向用户打印该命令,以便他们可以选择在单独终端中运行,获得完整的实时仪表板体验(带颜色、实时表格,按Ctrl+C停止)
示例——启动监控:
Bash工具调用:
json
{ "command": "revx monitor price BTC-USD --direction above --threshold 100000", "run_in_background": true }给用户的回复:
已在后台启动BTC-USD价格监控。我会定期检查警报情况。若要查看实时仪表板,请在单独终端中运行以下命令:bashrevx monitor price BTC-USD --direction above --threshold 100000按Ctrl+C停止。如果已配置,警报也会发送至Telegram。
All Monitor Types
所有监控类型
bash
undefinedbash
undefinedPrice threshold
价格阈值监控
revx monitor price BTC-USD --direction above --threshold 100000
revx monitor price BTC-USD --direction above --threshold 100000
RSI (Relative Strength Index)
RSI(相对强弱指数)监控
revx monitor rsi ETH-USD --direction above --threshold 70 --period 14
revx monitor rsi ETH-USD --direction above --threshold 70 --period 14
EMA crossover
EMA交叉监控
revx monitor ema-cross BTC-USD --direction bullish --fast-period 9 --slow-period 21
revx monitor ema-cross BTC-USD --direction bullish --fast-period 9 --slow-period 21
MACD crossover
MACD交叉监控
revx monitor macd BTC-USD --direction bullish --fast 12 --slow 26 --signal 9
revx monitor macd BTC-USD --direction bullish --fast 12 --slow 26 --signal 9
Bollinger Bands breach
布林带突破监控
revx monitor bollinger BTC-USD --band upper --period 20 --std-mult 2
revx monitor bollinger BTC-USD --band upper --period 20 --std-mult 2
Volume spike
成交量峰值监控
revx monitor volume-spike BTC-USD --period 20 --multiplier 2.0
revx monitor volume-spike BTC-USD --period 20 --multiplier 2.0
Bid-ask spread
买卖价差监控
revx monitor spread BTC-USD --direction above --threshold 0.5
revx monitor spread BTC-USD --direction above --threshold 0.5
Order book imbalance
订单簿失衡监控
revx monitor obi BTC-USD --direction above --threshold 0.3
revx monitor obi BTC-USD --direction above --threshold 0.3
Price change percentage
价格变动百分比监控
revx monitor price-change BTC-USD --direction rise --threshold 5.0 --lookback 24
revx monitor price-change BTC-USD --direction rise --threshold 5.0 --lookback 24
ATR breakout
ATR突破监控
revx monitor atr-breakout BTC-USD --period 14 --multiplier 1.5
revx monitor atr-breakout BTC-USD --period 14 --multiplier 1.5
List all types with descriptions
查看所有监控类型及描述
revx monitor types
**Common option:** `--interval <seconds>` (minimum 5, default 10)revx monitor types
**通用选项:** `--interval <seconds>`(最小值5,默认10)Monitor Defaults
监控默认值
| Type | Key Defaults |
|---|---|
| direction: above, threshold: required |
| direction: above, threshold: 70, period: 14 |
| direction: bullish, fast: 9, slow: 21 |
| direction: bullish, fast: 12, slow: 26, signal: 9 |
| band: upper, period: 20, std-mult: 2 |
| period: 20, multiplier: 2.0 |
| direction: above, threshold: 0.5 |
| direction: above, threshold: 0.3 |
| direction: rise, threshold: 5.0, lookback: 24 |
| period: 14, multiplier: 1.5 |
| 类型 | 关键默认值 |
|---|---|
| 方向:above,阈值:必填 |
| 方向:above,阈值:70,周期:14 |
| 方向:bullish,快速周期:9,慢速周期:21 |
| 方向:bullish,快速周期:12,慢速周期:26,信号线周期:9 |
| 带:upper,周期:20,标准差倍数:2 |
| 周期:20,倍数:2.0 |
| 方向:above,阈值:0.5 |
| 方向:above,阈值:0.3 |
| 方向:rise,阈值:5.0,回溯周期:24 |
| 周期:14,倍数:1.5 |
Events (Alert History)
事件(警报历史)
View past alert triggers and notification events:
bash
revx events # Last 50 events
revx events --limit 10
revx events --category alert_triggered
revx events --json查看过往警报触发及通知事件:
bash
revx events # 最近50条事件
revx events --limit 10
revx events --category alert_triggered
revx events --jsonCommon Workflow: Set Up Price Alert with Telegram
常见流程:设置带Telegram通知的价格警报
bash
revx connector telegram add --token <token> --chat-id <id> --test
revx monitor price BTC-USD --direction above --threshold 100000See also:skill for full Telegram connector management.revx-telegram
bash
revx connector telegram add --token <token> --chat-id <id> --test
revx monitor price BTC-USD --direction above --threshold 100000另请参阅:技能,了解完整的Telegram连接器管理方法。revx-telegram
Related Skills
相关技能
| Skill | Purpose |
|---|---|
| Configure Telegram notifications for alerts |
| Understand market data and indicators |
| Automated grid trading with monitoring |
| Check balances and order status |
| API key setup and configuration |
| 技能 | 用途 |
|---|---|
| 配置警报的Telegram通知 |
| 了解市场数据与指标 |
| 带监控的自动化网格交易 |
| 查看余额与订单状态 |
| API密钥设置与配置 |