
dhan-oss/dhanhq-skills
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
インド市場向けDhanHQエージェントスキル
概要
DhanHQ API は、Claude コード、Codex などのAI エージェント内で、選択したエージェント内で使用できます。 あなたのAIエージェントにライブ注文を置き、実際のポートフォリオデータを読み、市場フィードをストリームし、インドの取引所のフルインストゥルメントユニバースにアクセスする能力を与えます。DhanHQのAPIを介してすべて。 エージェントスキルは、標準的で、クロードコード、コーデックス、およびSKILL.mdをサポートする任意のエージェントと互換性のあるオープン標準で構築されています。 インストールすると、AIエージェントはDhanHQ API、インド市場データ、ポートフォリオ、注文、資金、または取引ワークフローを含むときに自動的にdhanhqスキルを使用できます。 - 私の保有物を表示 - 過去6ヶ月間のRELIANCEのために毎日OHLCを入手 - ニフティオプションチェーンを表示 - ニフティの1ロットを販売するために必要な証拠金をチェック - Python 3.8+ と pip は dhanhq をインストールします - : 必要な Dhan 上での静的 IP のホワイトリスト - : 有効な Dhan のデータプラン - 環境変数による認証 - 環境変数: DHAN CLIENT ID と DHAN ACCESS TOKEN コンテキスト使用量を最小限にするために、以下のスキルが続きます。 1.
概要(AI 翻訳)
DhanHQ API は、Claude コード、Codex などのAI エージェント内で、選択したエージェント内で使用できます。
NSE/BSEの株式、F&Oおよび商品取引のためのDhan-nativeの代理店の技術。
あなたのAIエージェントにライブ注文を置き、実際のポートフォリオデータを読み、市場フィードをストリームし、インドの取引所のフルインストゥルメントユニバースにアクセスする能力を与えます。DhanHQのAPIを介してすべて。
エージェントスキルは、標準的で、クロードコード、コーデックス、およびSKILL.mdをサポートする任意のエージェントと互換性のあるオープン標準で構築されています。
お問い合わせ
インストール
リポジトリをクローンする必要はありません。 npxで直接スキルをインストールします。
##グローバルインストール
##ClaudeコードまたはCodex
お問い合わせ
お問い合わせ
インストール後
インストールすると、AIエージェントは、DhanHQ API、インド市場データ、ポートフォリオ、注文、資金、または取引ワークフローを含むときに自動的に[dhanhqスキルを使用することができます。
サンプルプロンプト:
- 保有者を表示
- 過去6ヶ月間のRELIANCEのために毎日OHLCを入手
- ニフティオプションチェーンを表示
- 1ロットのニフティを売るために必要な証拠金をチェック
要件
- Python 3.8 と [
pip install dhanhq - 注文API: 必要なDhanの静的なIPホワイトリスト -Data APIs:有効なDhanデータプランが必要
このページは 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