
dhan-oss/dhanhq-skills
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
DhanHQ 에이전트 기술 인도 시장
개요
Claude Code, Codex 또는 다른 어떤 대리인 같이 AI 대리인 안쪽에 DhanHQ APIs를 사용하십시오. AI 에이전트는 라이브 주문, 실제 포트폴리오 데이터를 읽고, 스트림 시장 피드를 읽고, 인도 교환의 전체 악기 우주에 액세스 - DhanHQ의 API를 통해. Agent Skills에 내장되어 Claude Code, Codex 및 SKILL.md를 지원하는 모든 에이전트와 호환됩니다. 일단 설치되면 AI 에이전트가 Dhanhq 기술을 자동으로 사용할 수 있습니다. DhanHQ API, 인도 시장 데이터, 포트폴리오, 주문, 자금, 또는 거래 작업 흐름. - 내 보유 표시 - 마지막 6 개월 동안 종교에 대한 일일 OHLC를 얻으십시오 - 가장 가까운 만료를위한 Nifty 옵션 체인보기 - Nifty의 1 많은 판매에 필요한 마진 확인 - Python 3.8+ 및 pip install dhanhq - : Dhan에 정적 IP 백리스트 - : Active Dhan Data Plan required - 환경 변수를 통한 Credentials : DHAN CLIENT ID 및 DHAN ACCESS TOKEN 기술은 컨텍스트 사용을 최소화합니다. 1. 명세.
개요(AI 번역)
Claude Code, Codex 또는 다른 어떤 대리인 같이 AI 대리인 안쪽에 DhanHQ APIs를 사용하십시오.
** NSE/BSE 주식, F&O 및 상품 거래에 대한 한 중립 에이전트 기술.**
AI 에이전트는 라이브 주문, 실제 포트폴리오 데이터를 읽고, 스트림 시장 피드를 읽고, 인도 교환의 전체 악기 우주에 액세스 - DhanHQ의 API를 통해.
Agent Skills에 내장되어 Claude Code, Codex 및 SKILL.md를 지원하는 모든 에이전트와 호환됩니다.
설치
** 저장소를 복제 할 필요가 없습니다. npx]와 직접 기술을 설치합니다.**
글로벌 설치
Claude 코드 또는 Codex
이름 *
설치 후
일단 설치되면 AI 에이전트는 DhanHQ API, 인도 시장 데이터, 포트폴리오, 주문, 자금, 또는 거래 워크플로우를 포함할 때 dhanhq] 기술을 자동으로 사용할 수 있습니다.
예제 프롬프트:
- 내 보유 표시
- 지난 6개월 동안 매일 OHLC를 받으세요.
- 가장 가까운 expiry를위한 Nifty 옵션 체인보기
- Nifty 1랏을 판매하는 데 필요한 마진 확인
요구 사항
- 파이썬 3.8+ 및 [T2]
- ** 주문 API**: Dhan에서 정적 IP 백리스트
- Data APIs: Active Dhan Data Plan 필수
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
DhanHQ Agent Skills
Use DhanHQ APIs inside AI agents like Claude Code, Codex or any other agent of your choice.
Dhan-native agent skill for NSE/BSE equities, F&O, and commodity trading.
Give your AI agent the ability to place live orders, read real portfolio data, stream market feeds, and access the full instrument universe of Indian exchanges — all through DhanHQ’s APIs.
Built for the Agent Skills open standard and compatible with Claude Code, Codex, and any agent that supports SKILL.md.
Installation
You don’t need to clone the repository. Install the skill directly with npx.
Global install
npm install -g skills
skills add dhan-oss/dhanhq-skills --skill dhanhq
Claude Code or Codex
npx skills add dhan-oss/dhanhq-skills --skill dhanhq
OR
npx @dhan-oss/dhanhq-skill
After Installation
Once installed, your AI agent can automatically use the dhanhq skill when your prompt involves DhanHQ APIs, Indian market data, portfolio, orders, funds, or trading workflows.
Example prompts:
- Show my holdings
- Get daily OHLC for RELIANCE for the last 6 months
- Show Nifty option chain for nearest expiry
- Check margin required to sell 1 lot of Nifty
Requirements
- Python 3.8+ and
pip install dhanhq - Order APIs: static IP whitelisting on Dhan required
- Data APIs: active Dhan Data Plan required
- Credentials via environment variables:
DHAN_CLIENT_IDandDHAN_ACCESS_TOKEN
What’s Included
skills/
└── dhanhq/
├── SKILL.md # Entry point — setup, safety rules, core patterns
│
├── references/ # Deep-dive docs loaded on demand
│ ├── orders.md # Order lifecycle (regular, super, forever, AMO)
│ ├── portfolio.md # Holdings, positions, convert position, eDIS
│ ├── market-data.md # Historical OHLC, intraday, quotes
│ ├── option-chain.md # Option chain with Greeks, expiry list
│ ├── instruments.md # Security master, symbol resolution
│ ├── funds.md # Fund limits and margin calculator
│ ├── live-feed.md # WebSocket: MarketFeed, OrderUpdate, FullDepth
│ ├── error-codes.md # Error codes, rate limits, retry patterns
│ ├── scanx-data.md # ScanX real-time scanner data
│ ├── common-workflows.md # Multi-step patterns (rebalance, iron condor, P&L)
│ ├── options-analysis-patterns.md # PCR, max pain, payoff diagrams, IV skew
│ └── backtesting-with-dhan.md # Equity + F&O backtest patterns with cost model
│
├── scripts/
│ ├── dhan_helpers.py # Composable helper library
│ ├── resolve_security.py # Human name → security_id resolver
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add dhan-oss/dhanhq-skills