소스 정보
- 저장소
- taracodlabs/aiden
- 최근 소스 활동
- 2026년 5월 6일 12:31
- 감지된 SKILL.md 언어
- 영어
- 스타
- 779
- 포크
- 140
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/taracodlabs/aiden --skill archon-bridge명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | archon-bridge |
| description | Unified portfolio + order routing across Zerodha, Upstox, Angel One |
| category | india |
| version | 1.0.0 |
| tags | archon, broker, portfolio, aggregation, zerodha, upstox, angel, india, trading, unified |
| license | Apache-2.0 |
Unified broker bridge that aggregates portfolio data and normalizes order routing across multiple Indian brokers — Zerodha Kite, Upstox, and Angel One — into a single consistent interface.
# Requires env vars: KITE_API_KEY, KITE_ACCESS_TOKEN, UPSTOX_TOKEN
function Get-KiteHoldings {
$h = @{ "X-Kite-Version"="3"; "Authorization"="token $env:KITE_API_KEY:$env:KITE_ACCESS_TOKEN" }
(Invoke-RestMethod -Uri "https://api.kite.trade/portfolio/holdings" -Headers $h).data |
Select-Object @{N='symbol';E={$_.tradingsymbol}},
@{N='qty';E={$_.quantity}},
@{N='avg';E={$_.average_price}},
@{N='ltp';E={$_.last_price}},
@{N='broker';E={'Zerodha'}}
}
function Get-UpstoxHoldings {
$h = @{ "Authorization"="Bearer $env:UPSTOX_TOKEN"; "Accept"="application/json" }
(Invoke-RestMethod -Uri "https://api.upstox.com/v2/portfolio/long-term-holdings" -Headers $h).data |
Select-Object @{N='symbol';E={$_.tradingsymbol}},
@{N='qty';E={$_.quantity}},
@{N='avg';E={$_.average_price}},
@{N='ltp';E={$_.last_price}},
@{N='broker';E={'Upstox'}}
}
$all = @(Get-KiteHoldings) + @(Get-UpstoxHoldings)
$all | Sort-Object symbol | Format-Table -AutoSize
$all = @(Get-KiteHoldings) + @(Get-UpstoxHoldings)
$total = ($all | ForEach-Object { $_.ltp * $_.qty } | Measure-Object -Sum).Sum
$cost = ($all | ForEach-Object { $_.avg * $_.qty } | Measure-Object -Sum).Sum
$pnl = $total - $cost
Write-Host "Total Value: ₹$([math]::Round($total,2))"
Write-Host "Total Cost: ₹$([math]::Round($cost,2))"
Write-Host "Total P&L: ₹$([math]::Round($pnl,2)) ($([math]::Round($pnl/$cost*100,2))%)"
$all = @(Get-KiteHoldings) + @(Get-UpstoxHoldings)
$all | Group-Object symbol | Where-Object Count -gt 1 |
ForEach-Object {
Write-Host "=== $($_.Name) ==="
$_.Group | Format-Table broker, qty, avg, ltp -AutoSize
}
function New-ArchonOrder {
param(
[string]$Symbol,
[string]$Side, # BUY or SELL
[int]$Qty,
[string]$OrderType, # MARKET or LIMIT
[double]$Price = 0,
[string]$Broker # Zerodha or Upstox
)
if ($Broker -eq "Zerodha") {
return @{
tradingsymbol = $Symbol
exchange = "NSE"
transaction_type = $Side
order_type = $OrderType
quantity = $Qty
price = $Price
product = "CNC"
}
} elseif ($Broker -eq "Upstox") {
return @{
instrument_token = "NSE_EQ|$Symbol"
transaction_type = $Side
order_type = $OrderType
quantity = $Qty
price = $Price
product = "D"
validity = "DAY"
}
}
}
"Show my total equity portfolio across Zerodha and Upstox" → Call both broker APIs, merge holdings, calculate combined value and P&L.
"Do I hold Reliance in more than one broker?" → Aggregate all holdings, group by symbol, find symbols present in multiple broker accounts.
"Create a normalized order for buying 10 shares of HDFC Bank via Upstox"
→ Call New-ArchonOrder -Symbol "HDFCBANK" -Side "BUY" -Qty 10 -OrderType "MARKET" -Broker "Upstox".