asrai-mcp 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/skill/SKILL.md +2 -2
- package/skill/references/endpoints.md +1 -0
- package/src/indicator_guide.js +26 -0
- package/src/tool-endpoints.js +2 -1
- package/src/tools-definitions.js +3 -2
package/README.md
CHANGED
|
@@ -66,10 +66,10 @@ Each API call costs **$0.005 USDC** from your wallet on Base mainnet. Make sure
|
|
|
66
66
|
| `macro` | S&P 500 & Nasdaq signals — global market context | $0.01 |
|
|
67
67
|
| `sentiment` | CBBI, CMC sentiment, AI insights, channel news, Galaxy Score, social dominance | $0.03 |
|
|
68
68
|
| `late_unlocked_coins` | Post-vesting coins with low remaining selling pressure | $0.005 |
|
|
69
|
-
| `trade_signals` | Trade setups: trending movers, bounces, SAR & MACD entries, RSI, Galaxy Score, today's indicator signals | $0.
|
|
69
|
+
| `trade_signals` | Trade setups: trending movers, bounces, SAR & MACD entries, RSI, Galaxy Score, stronger coins, today's indicator signals | $0.045 |
|
|
70
70
|
| `technical_analysis(symbol, timeframe)` | Signals, ALSAT, SuperALSAT, PSAR, MACD-DEMA, AlphaTrend, TD, SMC, S/R, Elliott Wave, Ichimoku | $0.055 |
|
|
71
71
|
| `forecast(symbol)` | AI 3-7 day price prediction | $0.005 |
|
|
72
|
-
| `screener(type)` | Find coins by criteria (ichimoku-trend, rsi, vwap, volume, bounce-dip...) | $0.005 |
|
|
72
|
+
| `screener(type)` | Find coins by criteria (ichimoku-trend, rsi, vwap, volume, bounce-dip, stronger-coins...) | $0.005 |
|
|
73
73
|
| `smart_money(symbol, timeframe)` | Order blocks, fair value gaps, support/resistance | $0.01 |
|
|
74
74
|
| `elliott_wave(symbol, timeframe)` | Elliott Wave analysis | $0.005 |
|
|
75
75
|
| `ichimoku(symbol, timeframe)` | Ichimoku cloud analysis | $0.005 |
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -91,10 +91,10 @@ Requires `ASRAI_PRIVATE_KEY` set in `~/.env` or environment. Payment is signed a
|
|
|
91
91
|
| `macro` | S&P 500 & Nasdaq signals — global market context | $0.01 |
|
|
92
92
|
| `sentiment` | CBBI, CMC sentiment, AI insights, channel news, Galaxy Score, social dominance | $0.03 |
|
|
93
93
|
| `late_unlocked_coins` | Post-vesting coins with low remaining selling pressure | $0.005 |
|
|
94
|
-
| `trade_signals` | Trade setups: trending movers, bounces, SAR & MACD entries, RSI, Galaxy Score, today's indicator signals | $0.
|
|
94
|
+
| `trade_signals` | Trade setups: trending movers, bounces, SAR & MACD entries, RSI, Galaxy Score, stronger coins, today's indicator signals | $0.045 (9 calls) |
|
|
95
95
|
| `technical_analysis(symbol, timeframe)` | Signals, ALSAT, SuperALSAT, PSAR, MACD-DEMA, AlphaTrend, TD, SMC, S/R, Elliott Wave, Ichimoku | $0.06 |
|
|
96
96
|
| `forecast(symbol)` | AI 3-7 day price prediction | $0.005 |
|
|
97
|
-
| `screener(type)` | Find coins by criteria (ichimoku-trend, rsi, vwap, volume, bounce-dip...) | $0.005 |
|
|
97
|
+
| `screener(type)` | Find coins by criteria (ichimoku-trend, rsi, vwap, volume, bounce-dip, stronger-coins...) | $0.005 |
|
|
98
98
|
| `smart_money(symbol, timeframe)` | Order blocks, fair value gaps, support/resistance | $0.01 |
|
|
99
99
|
| `elliott_wave(symbol, timeframe)` | Elliott Wave analysis | $0.005 |
|
|
100
100
|
| `ichimoku(symbol, timeframe)` | Ichimoku cloud analysis | $0.005 |
|
|
@@ -53,6 +53,7 @@ x402 automatic — $0.005 USDC per endpoint on Base mainnet ($0.01 for `/ai`)
|
|
|
53
53
|
- `GET /api/ao/`
|
|
54
54
|
- `GET /api/rsi-heatmap/`
|
|
55
55
|
- `GET /api/indicator/today` — today's triggered ALSAT & indicator signals (TD9, AlphaTrend, etc.)
|
|
56
|
+
- `GET /api/stronger-coins/` — coins outperforming BTC during BTC drops (BTC-relative strength)
|
|
56
57
|
|
|
57
58
|
### Coin Info
|
|
58
59
|
- `GET /api/coinstats/<symbol>` — market cap, volume, supply
|
package/src/indicator_guide.js
CHANGED
|
@@ -411,6 +411,7 @@ const GUIDE = {
|
|
|
411
411
|
cmc_sentiment: "CMC per-coin sentiment — bullish/bearish crowd reading",
|
|
412
412
|
highvolumelowcap: "High volume + small cap = early mover potential, higher risk",
|
|
413
413
|
bounce_dip: "Auto-detected dip-buy or bounce zones — best aligned with ALSAT BUY",
|
|
414
|
+
stronger_coins: "Coins outperforming BTC during BTC drops — best long candidates for recovery leg. Access via screener('stronger-coins')",
|
|
414
415
|
Indicator_Today: "Today's triggered signals. alsat_signals = ALSAT BUY/SELL fired today. indicator_signals = TD9/AlphaTrend/etc fired today. Access via screener('indicator-today')",
|
|
415
416
|
ath: "Coins near all-time highs — momentum continuation or blow-off top risk",
|
|
416
417
|
late_unlocked_coins: "Far-future vesting tokens — no near-term selling pressure, safer hold",
|
|
@@ -419,6 +420,30 @@ const GUIDE = {
|
|
|
419
420
|
},
|
|
420
421
|
},
|
|
421
422
|
|
|
423
|
+
Stronger_Coins: {
|
|
424
|
+
what_it_is:
|
|
425
|
+
"Relative strength screener — finds coins outperforming BTC during BTC sell-offs. " +
|
|
426
|
+
"Triggered when BTC drops > 0.5% in 1 hour. Ranks all coins by their BTC-denominated " +
|
|
427
|
+
"1H change (coin vs BTC, not USD). A coin positive in BTC terms while BTC drops = " +
|
|
428
|
+
"institutional accumulation or strong sector rotation into that coin. " +
|
|
429
|
+
"These are the best long candidates for the next BTC recovery leg.",
|
|
430
|
+
key_fields: {
|
|
431
|
+
"stronger_coins[].symbol": "Coin symbol",
|
|
432
|
+
"stronger_coins[].change_1h_btc_formatted": "1H change vs BTC — positive = outperforming BTC",
|
|
433
|
+
"stronger_coins[].change_24h_btc_formatted": "24H change vs BTC — confirms sustained strength",
|
|
434
|
+
"stronger_coins[].market_cap": "Market cap (e.g. '165M', '1.2B') — filter out micro-caps",
|
|
435
|
+
"stronger_coins[].platform": "Sector/category (DeFi, AI, Gaming...) — reveals sector rotation",
|
|
436
|
+
timestamp: "When this list was last generated (BTC drop trigger time)",
|
|
437
|
+
},
|
|
438
|
+
how_to_interpret:
|
|
439
|
+
"change_1h_btc positive + change_24h_btc also positive = sustained relative strength, highest conviction. " +
|
|
440
|
+
"change_1h_btc positive but change_24h_btc negative = short-term spike only, lower conviction. " +
|
|
441
|
+
"Multiple coins from same platform (sector) = sector rotation signal, buy the sector leader. " +
|
|
442
|
+
"Large market_cap (>500M) stronger coins = institutional driven, more reliable signal. " +
|
|
443
|
+
"Small market_cap (<100M) = higher risk/reward, momentum play only. " +
|
|
444
|
+
"Stronger_Coins + ALSAT BUY = highest-conviction long entry on BTC dip recovery.",
|
|
445
|
+
},
|
|
446
|
+
|
|
422
447
|
Support_Resistance: {
|
|
423
448
|
what_it_is:
|
|
424
449
|
"Key price levels from Fibonacci retracements, pivot points, " +
|
|
@@ -462,6 +487,7 @@ const SUMMARY = {
|
|
|
462
487
|
Forecast: "AI 3-7 day prediction. Fields: direction, confidence (>70%=reliable), primary_target",
|
|
463
488
|
Indicator_Today: "Today's triggered signals. alsat_signals = ALSAT BUY/SELL fired today. indicator_signals = TD9/AlphaTrend/etc fired today. Access via screener('indicator-today')",
|
|
464
489
|
Market_Indicators: "trending, gainers_losers, rsi_screener, sar_coins, macd_coins, emacross, techrating, vwap, galaxyscore, bounce_dip, cmcai",
|
|
490
|
+
Stronger_Coins: "Relative strength vs BTC during BTC drops. Fields: symbol, change_1h_btc_formatted, change_24h_btc_formatted, platform. Access via screener('stronger-coins')",
|
|
465
491
|
Support_Resistance: "Key levels. Fields: fib_0_618, ema.ema200, latest_high_pivot, trendline_breaks.current_support",
|
|
466
492
|
};
|
|
467
493
|
|
package/src/tool-endpoints.js
CHANGED
|
@@ -55,6 +55,7 @@ export const TRADE_SIGNALS_ENDPOINTS = [
|
|
|
55
55
|
"/api/galaxyscore/",
|
|
56
56
|
"/api/rsi/",
|
|
57
57
|
"/api/indicator/today",
|
|
58
|
+
"/api/stronger-coins/",
|
|
58
59
|
];
|
|
59
60
|
|
|
60
61
|
// ── Dynamic endpoint builders (return arrays) ─────────────────────────────────
|
|
@@ -112,7 +113,7 @@ export const SCREENER_TYPES = [
|
|
|
112
113
|
"ichimoku-trend", "sar-coins", "macd-coins", "emacross",
|
|
113
114
|
"techrating", "vwap", "volume", "highvolumelowcap",
|
|
114
115
|
"bounce-dip", "galaxyscore", "socialdominance", "late-unlocked-coins",
|
|
115
|
-
"ath", "rsi", "rsi-heatmap", "ao", "indicator-today",
|
|
116
|
+
"ath", "rsi", "rsi-heatmap", "ao", "indicator-today", "stronger-coins",
|
|
116
117
|
];
|
|
117
118
|
|
|
118
119
|
// ── Symbol normalisation ──────────────────────────────────────────────────────
|
package/src/tools-definitions.js
CHANGED
|
@@ -124,7 +124,8 @@ export const TOOLS = [
|
|
|
124
124
|
description:
|
|
125
125
|
"Run a market screener to find coins matching specific criteria. " +
|
|
126
126
|
"Types: ichimoku-trend, sar-coins, macd-coins, emacross, techrating, vwap, volume, " +
|
|
127
|
-
"highvolumelowcap, bounce-dip, galaxyscore, socialdominance, late-unlocked-coins, ath, rsi, rsi-heatmap, ao. " +
|
|
127
|
+
"highvolumelowcap, bounce-dip, galaxyscore, socialdominance, late-unlocked-coins, ath, rsi, rsi-heatmap, ao, stronger-coins. " +
|
|
128
|
+
"Use stronger-coins to find coins with positive BTC-relative performance (outperforming BTC). " +
|
|
128
129
|
"Use indicator-today ONLY when user asks what signals fired/triggered today in the database " +
|
|
129
130
|
"(e.g. 'today\\'s ALSAT signals', 'which indicators triggered today', 'today\\'s TD9/AlphaTrend signals').",
|
|
130
131
|
inputSchema: {
|
|
@@ -136,7 +137,7 @@ export const TOOLS = [
|
|
|
136
137
|
"ichimoku-trend", "sar-coins", "macd-coins", "emacross",
|
|
137
138
|
"techrating", "vwap", "volume", "highvolumelowcap",
|
|
138
139
|
"bounce-dip", "galaxyscore", "socialdominance", "late-unlocked-coins",
|
|
139
|
-
"ath", "rsi", "rsi-heatmap", "ao", "indicator-today",
|
|
140
|
+
"ath", "rsi", "rsi-heatmap", "ao", "indicator-today", "stronger-coins",
|
|
140
141
|
],
|
|
141
142
|
description: "Type of screener to run",
|
|
142
143
|
},
|