Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

indicator-expert指标专家

Agent Skill

indicator-expert 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,581

周安装

228

GitHub Stars

8

下载量

1,788
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:indicator-expert(指标专家)
来源仓库:https://github.com/marketcalls/openalgo-indicator-skills
仓库路径:skills/indicator-expert
安装命令:
npx skills add https://github.com/marketcalls/openalgo-indicator-skills --skill indicator-expert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/marketcalls/openalgo-indicator-skills --skill indicator-expert

简介

indicator-expert 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

OpenAlgo Indicator Expert Skill

Environment

  • Python with openalgo, pandas, numpy, plotly, dash, streamlit, numba
  • 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+ Numba-optimized indicators)
  • Charts: Plotly with template="plotly_dark"
  • Dashboards: Plotly Dash with dash-bootstrap-components OR Streamlit with st.plotly_chart()
  • Custom indicators: Numba @njit(cache=True, nogil=True) + NumPy
  • 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. Numba for custom indicators: Use @njit(cache=True, nogil=True) — never fastmath=True (breaks NaN handling).
  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

MarketData SourceMethodExample Symbols
India (equity)OpenAlgoclient.history()SBIN, RELIANCE, INFY
India (index)OpenAlgoclient.history(exchange="NSE_INDEX")NIFTY, BANKNIFTY
India (F&O)OpenAlgoclient.history(exchange="NFO")NIFTY30DEC25FUT
US/Globalyfinanceyf.download()AAPL, MSFT, SPY

OpenAlgo API Methods for Data

MethodPurposeReturns
client.history(symbol, exchange, interval, start_date, end_date)OHLCV candlesDataFrame (timestamp, open, high, low, close, volume)
client.quotes(symbol, exchange)Real-time snapshotDict (open, high, low, ltp, bid, ask, prev_close, volume)
client.multiquotes(symbols=[...])Multi-symbol quotesList of quote dicts
client.depth(symbol, exchange)Market depth (L5)Dict (bids, asks, ohlc, volume, oi)
client.intervals()Available intervalsDict (minutes, hours, days, weeks, months)
client.connect()WebSocket connectNone (sets up WS connection)
client.subscribe_ltp(instruments, callback)Live LTP streamCallback with {symbol, exchange, ltp}
client.subscribe_quote(instruments, callback)Live quote streamCallback with {symbol, exchange, ohlc, ltp, volume}
client.subscribe_depth(instruments, callback)Live depth streamCallback 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_volatility, ta.ulcer_index, ta.starc

Volume (14)

ta.obv, ta.obv_smoothed, ta.vwap, ta.mfi, ta.adl, ta.cmf, ta.emv, ta.force_index, ta.nvi, ta.pvi, ta.volosc, ta.vroc, ta.kvo, ta.pvt

Oscillators (20+)

ta.cmo, ta.trix, ta.uo_oscillator, ta.awesome_oscillator, ta.accelerator_oscillator, ta.ppo, ta.po, ta.dpo, ta.aroon_oscillator, ta.stoch_rsi, ta.rvi_oscillator, ta.cho, ta.chop, ta.kst, ta.tsi, ta.vortex, ta.gator_oscillator, ta.stc, ta.coppock, ta.roc

Statistical (9)

ta.linreg, ta.lrslope, ta.correlation, ta.beta, ta.variance, ta.tsf, ta.median, ta.mode, ta.median_bands

Hybrid (6+)

ta.adx, ta.dmi, ta.aroon, ta.pivot_points, ta.sar, ta.williams_fractals, ta.rwi

Utilities

ta.crossover, ta.crossunder, ta.cross, ta.highest, ta.lowest, ta.change, ta.roc, ta.stdev, ta.exrem, ta.flip, ta.valuewhen, ta.rising, ta.falling

Modular Rule Files

Detailed reference for each topic is in rules/:

Rule FileTopic
indicator-catalogComplete 100+ indicator reference with signatures and parameters
data-fetchingOpenAlgo history/quotes/depth, yfinance, data normalization
plottingPlotly candlestick, overlay, subplot, multi-panel charts
custom-indicatorsBuilding custom indicators with Numba + NumPy
websocket-feedsReal-time LTP/Quote/Depth streaming via WebSocket
numba-optimizationNumba JIT patterns, cache, nogil, NaN handling
dashboard-patternsPlotly Dash web applications with callbacks
streamlit-patternsStreamlit web applications with sidebar, metrics, plotly charts
multi-timeframeMulti-timeframe indicator analysis
signal-generationSignal generation, cleaning, crossover/crossunder
indicator-combinationsCombining indicators for confluence analysis
symbol-formatOpenAlgo symbol format, exchange codes, index symbols

Chart Templates (in rules/assets/)

TemplatePathDescription
EMA Chartassets/ema_chart/chart.pyEMA overlay on candlestick
RSI Chartassets/rsi_chart/chart.pyRSI with overbought/oversold zones
MACD Chartassets/macd_chart/chart.pyMACD line, signal, histogram
Supertrendassets/supertrend_chart/chart.pySupertrend overlay with direction coloring
Bollingerassets/bollinger_chart/chart.pyBollinger Bands with squeeze detection
Multi-Indicatorassets/multi_indicator/chart.pyCandlestick + EMA + RSI + MACD + Volume
Basic Dashboardassets/dashboard_basic/app.pySingle-symbol Plotly Dash app
Multi Dashboardassets/dashboard_multi/app.pyMulti-symbol multi-timeframe dashboard
Streamlit Basicassets/streamlit_basic/app.pySingle-symbol Streamlit app
Streamlit Multiassets/streamlit_multi/app.pyMulti-timeframe Streamlit app
Custom Indicatorassets/custom_indicator/template.pyNumba custom indicator template
Live Feedassets/live_feed/template.pyWebSocket real-time indicator
Scannerassets/scanner/template.pyMulti-symbol indicator scanner

Quick Template: Standard Indicator Chart Script

import os
from datetime import datetime, timedelta
from pathlib import Path

import numpy as np
import pandas as pd
import plotly.graph_objects as go
from plotly.subplots import make_subplots
from dotenv import find_dotenv, load_dotenv
from openalgo import api, ta

# --- Config ---
script_dir = Path(__file__).resolve().parent
load_dotenv(find_dotenv(), override=False)

SYMBOL = "SBIN"
EXCHANGE = "NSE"
INTERVAL = "D"

# --- Fetch Data ---
client = api(
    api_key=os.getenv("OPENALGO_API_KEY"),
    host=os.getenv("OPENALGO_HOST", "http://127.0.0.1:5000"),
)

end_date = datetime.now().date()
start_date = end_date - timedelta(days=365)

df = client.history(
    symbol=SYMBOL, exchange=EXCHANGE, interval=INTERVAL,
    start_date=start_date.strftime("%Y-%m-%d"),
    end_date=end_date.strftime("%Y-%m-%d"),
)
if "timestamp" in df.columns:
    df["timestamp"] = pd.to_datetime(df["timestamp"])
    df = df.set_index("timestamp")
else:
    df.index = pd.to_datetime(df.index)
df = df.sort_index()
if df.index.tz is not None:
    df.index = df.index.tz_convert(None)

close = df["close"]
high = df["high"]
low = df["low"]
volume = df["volume"]

# --- Compute Indicators ---
ema_20 = ta.ema(close, 20)
rsi_14 = ta.rsi(close, 14)

# --- Chart ---
fig = make_subplots(
    rows=2, cols=1, shared_xaxes=True,
    row_heights=[0.7, 0.3], vertical_spacing=0.03,
    subplot_titles=[f"{SYMBOL} Price + EMA(20)", "RSI(14)"],
)

# Candlestick
x_labels = df.index.strftime("%Y-%m-%d")
fig.add_trace(go.Candlestick(
    x=x_labels, open=df["open"], high=high, low=low, close=close,
    name="Price",
), row=1, col=1)

# EMA overlay
fig.add_trace(go.Scatter(
    x=x_labels, y=ema_20, mode="lines",
    name="EMA(20)", line=dict(color="cyan", width=1.5),
), row=1, col=1)

# RSI subplot
fig.add_trace(go.Scatter(
    x=x_labels, y=rsi_14, mode="lines",
    name="RSI(14)", line=dict(color="yellow", width=1.5),
), row=2, col=1)
fig.add_hline(y=70, line_dash="dash", line_color="red", row=2, col=1)
fig.add_hline(y=30, line_dash="dash", line_color="green", row=2, col=1)

fig.update_layout(
    template="plotly_dark", title=f"{SYMBOL} Technical Analysis",
    xaxis_rangeslider_visible=False, xaxis_type="category",
    xaxis2_type="category", height=700,
)
fig.show()

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.66%
按下载量换算602

Claude

31.19%
按下载量换算558

Cursor

17.69%
按下载量换算316

Gemini CLI

8.26%
按下载量换算148

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills