get_trading_signal
Generate buy/sell signals for cryptocurrency pairs with indicators, confidence levels, and target prices based on specified timeframes.
Instructions
Get trading signal for a specific symbol and timeframe.
Args: symbol: Trading pair symbol (e.g., ETH/USDC, BTC/USDT) timeframe: Chart timeframe. Options: 1m, 5m, 15m, 1h, 4h, 1d
Returns: Buy/sell signal with indicators, confidence, and target prices.
Price: $0.50
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| timeframe | No | 1h |
Implementation Reference
- coinrailz_mcp/__init__.py:367-383 (handler)The get_trading_signal function acts as the handler for the MCP tool, taking a symbol and timeframe as input and calling the coinrailz service.
@mcp.tool() async def get_trading_signal(symbol: str, timeframe: str = "1h") -> str: """ Get trading signal for a specific symbol and timeframe. Args: symbol: Trading pair symbol (e.g., ETH/USDC, BTC/USDT) timeframe: Chart timeframe. Options: 1m, 5m, 15m, 1h, 4h, 1d Returns: Buy/sell signal with indicators, confidence, and target prices. Price: $0.50 """ payload = {"symbol": symbol, "timeframe": timeframe} result = await call_coinrailz_service("trading-signal", payload) return json.dumps(result, indent=2)