Market Ta
market_taCompute technical analysis from dYdX candles: RSI, EMA trend, ATR, Bollinger, MACD, VWAP, and realized volatility for any ticker and resolution.
Instructions
Technical snapshot computed from dYdX candles: RSI(14), EMA20/EMA50 trend, ATR(14) volatility, Bollinger(20,2) position, MACD(12,26,9), VWAP(20) and annualized realized vol. Pure local math — no external TA library. Key fields: price, trend_ema20_50 ("up"/"down"), rsi14 (0-100) and rsi_zone (overbought >70 / oversold <30 / neutral), atr14 (absolute) and atr_pct_of_price (pct), bollinger_pctB (0 = lower band, 1 = upper band), macd_line/signal_line/macd_hist (classic 12/26/9; hist > 0 = bullish momentum), vwap_20 (volume-weighted average price over the last 20 candles: typical price (H+L+C)/3 weighted by usdVolume) and realized_vol_annualized_pct (population std of log returns x sqrt(candles-per-year), scaled by resolution). Needs >=55 candles; returns {"error": ...} for thin markets. Example: market_ta(ticker="BTC-USD", resolution="1HOUR")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| resolution | No | 1HOUR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||