generate_signal
Generate an AI-powered crypto trading signal for a given pair and timeframe. Returns: action (OPEN_LONG | OPEN_SHORT | CLOSE), confidence (0.0–1.0), entry_price, take_profit (array of price levels), stop_loss, risk_reward ratio, indicators (rsi, macd, ema_20, atr), risk_flags (overbought_rsi | oversold_rsi | low_volume | high_spread | near_resistance | near_support), generated_at (ISO 8601), expires_at (ISO 8601), and quota_remaining. The thesis field contains LLM reasoning and is only present when include_thesis=true. On quota exhaustion returns error_code=QUOTA_EXCEEDED with Retry-After header. Requires Authorization: Bearer nt_.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Trading pair in BASE/QUOTE format, e.g. BTC/USDT, ETH/USDT, SOL/USDT. | |
| strategy | No | Signal strategy to apply. Defaults to trend_rider. | |
| timeframe | No | Candlestick timeframe for signal analysis. Defaults to 15m. | 15m |
| personality | No | Risk personality shaping confidence weighting and TP/SL aggressiveness. Defaults to scalper. | |
| include_thesis | No | When true, includes the LLM-generated reasoning in the `thesis` field of the response. Adds ~200ms latency. |