Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

indicator-expert

БесплатноЗапускает вложенные скриптыНе проверен

OpenAlgo indicator expert. Use when user asks about technical indicators, charting, plotting indicators, creating custom indicators, building dashboards…

marketcallsот marketcalls★ 23 звезды на GitHub

Об этом скилле

OpenAlgo Indicator Expert Skill

Environment

  • Python 3.12+ (required by openalgo 2.x) with openalgo, pandas, numpy, plotly, dash, streamlit
  • Data sources: OpenAlgo (Indian markets via client.history(), client.quotes(), client.depth()), yfinance (US/Global)
  • Real-time: OpenAlgo WebSocket (client.connect(), subscribe_ltp, subscribe_quote, subscribe_depth)
  • Indicators: openalgo.ta (ALWAYS — 100+ indicators computed by a compiled Rust core, full speed from the first call)
  • Charts: Plotly with template="plotly_dark"
  • Dashboards: Plotly Dash with dash-bootstrap-components (default) OR Streamlit with st.plotly_chart() — use Streamlit only when the user explicitly asks for it
  • Custom indicators: vectorized NumPy composed from openalgo.ta primitives (Rust core — no JIT, no warmup)
  • API keys loaded from single root .env via python-dotenv + find_dotenv() — never hardcode keys
  • Scripts go in appropriate directories (charts/, dashboards/, custom_indicators/, scanners/) created on-demand
  • Never use icons/emojis in code or logger output

Critical Rules

  1. ALWAYS use openalgo.ta for ALL technical indicators. Never reimplement what already exists in the library.
  2. Data normalization: Always convert DataFrame index to datetime, sort, and strip timezone after fetching.
  3. Signal cleaning: Always use ta.exrem() after generating raw buy/sell signals. Always .fillna(False) before exrem.
  4. Plotly dark theme: All charts use template="plotly_dark" with xaxis type="category" for candlesticks.
  5. Custom indicators: Compose from openalgo.ta primitives (ta.sma, ta.stdev, ta.bbands, ...) plus vectorized NumPy. Never reimplement built-ins; no JIT or warmup is needed.
  6. Input flexibility: openalgo.ta accepts numpy arrays, pandas Series, or lists. Output matches input type.
  7. WebSocket feeds: Use client.connect(), client.subscribe_ltp() / subscribe_quote() / subscribe_depth() for real-time data.
  8. Environment: Load .env from project root via find_dotenv() — never hardcode API keys.
  9. Market detection: If symbol looks Indian (SBIN, RELIANCE, NIFTY), use OpenAlgo. If US (AAPL, MSFT), use yfinance.
  10. Always explain chart outputs in plain language so traders understand what the indicator shows.

Data Source Priority

Market Data Source Method Example Symbols
India (equity) OpenAlgo client.history() SBIN, RELIANCE, INFY
India (index) OpenAlgo client.history(exchange="NSE_INDEX") NIFTY, BANKNIFTY
India (F&O) OpenAlgo client.history(exchange="NFO") NIFTY30DEC25FUT
US/Global yfinance yf.download() AAPL, MSFT, SPY

OpenAlgo API Methods for Data

Method Purpose Returns
client.history(symbol, exchange, interval, start_date, end_date) OHLCV candles DataFrame (timestamp, open, high, low, close, volume)
client.quotes(symbol, exchange) Real-time snapshot Dict (open, high, low, ltp, bid, ask, prev_close, volume)
client.multiquotes(symbols=[...]) Multi-symbol quotes List of quote dicts
client.depth(symbol, exchange) Market depth (L5) Dict (bids, asks, ohlc, volume, oi)
client.intervals() Available intervals Dict (minutes, hours, days, weeks, months)
client.optionchain(underlying, exchange, expiry_date, strike_count) Option chain around ATM Dict (underlying_ltp, atm_strike, chain with ce/pe per strike)
client.optiongreeks(symbol, exchange, interest_rate, ...) Option greeks + IV Dict (greeks: delta/gamma/theta/vega/rho, implied_volatility, days_to_expiry)
client.expiry(symbol, exchange, instrumenttype) Expiry dates list Dict (data: list of expiry dates)
client.connect() WebSocket connect None (sets up WS connection)
client.subscribe_ltp(instruments, callback) Live LTP stream Callback with {symbol, exchange, ltp}
client.subscribe_quote(instruments, callback) Live quote stream Callback with {symbol, exchange, ohlc, ltp, volume}
client.subscribe_depth(instruments, callback) Live depth stream Callback with {symbol, exchange, bids, asks}

Indicator Library Reference

All indicators accessed via from openalgo import ta:

Trend (20)

ta.sma, ta.ema, ta.wma, ta.dema, ta.tema, ta.hma, ta.vwma, ta.alma, ta.kama, ta.zlema, ta.t3, ta.frama, ta.supertrend, ta.ichimoku, ta.chande_kroll_stop, ta.trima, ta.mcginley, ta.vidya, ta.alligator, ta.ma_envelopes

Momentum (9)

ta.rsi, ta.macd, ta.stochastic, ta.cci, ta.williams_r, ta.bop, ta.elder_ray, ta.fisher, ta.crsi

Volatility (16)

ta.atr, ta.bbands, ta.keltner, ta.donchian, ta.chaikin_volatility, ta.natr, ta.rvi, ta.ultimate_oscillator, ta.true_range, ta.massindex, ta.bb_percent, ta.bb_width, ta.chandelier_exit, `ta.historical_vol

Полный SKILL.md на GitHub

Установить indicator-expert в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

rules/assets/bollinger_chart/chart.pyrules/assets/custom_indicator/template.pyrules/assets/dashboard_basic/app.pyrules/assets/dashboard_multi/app.pyrules/assets/ema_chart/chart.pyrules/assets/live_feed/template.pyrules/assets/macd_chart/chart.pyrules/assets/multi_indicator/chart.pyrules/assets/rsi_chart/chart.pyrules/assets/scanner/template.pyrules/assets/streamlit_basic/app.pyrules/assets/streamlit_multi/app.pyrules/assets/supertrend_chart/chart.pyrules/custom-indicators.mdrules/dashboard-patterns.mdrules/data-fetching.mdrules/indicator-catalog.mdrules/indicator-combinations.mdrules/multi-timeframe.mdrules/performance.mdrules/plotting.mdrules/signal-generation.mdrules/streamlit-patterns.mdrules/symbol-format.mdrules/websocket-feeds.md

FAQ

Что делает скилл indicator-expert?

OpenAlgo indicator expert. Use when user asks about technical indicators, charting, plotting indicators, creating custom indicators, building dashboards, real-time feeds, scanning stocks, indicator combinations, or using openalgo.ta. Also triggers for indicator functions (sma, ema, rsi, macd, supertrend, bollinger, atr, adx, ichimoku, stochastic, obv, vwap, crossover, crossunder, exrem).

Как установить скилл indicator-expert?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл indicator-expert запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить indicator-expert с