Nse delivery

From taracodlabs/aiden · View interactive version

Nse delivery is an AI agent skill from the GitHub repository taracodlabs/aiden. NSE delivery % data — surface stocks with high genuine buying

How to use this skill

Skill file

NSE Delivery

Analyze NSE delivery percentage data to find stocks with high genuine buying (delivery trades vs total traded volume), bulk deals, and block deals — filters intraday noise from real accumulation.

When to Use

How to Use

Get delivery data for a specific stock

$symbol = "RELIANCE"
$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$resp = Invoke-RestMethod `
  -Uri "https://www.nseindia.com/api/quote-equity?symbol=$symbol" `
  -Headers $headers -WebSession $nse
[PSCustomObject]@{
  Symbol          = $symbol
  TotalVolume     = $resp.securityWiseDP.quantityTraded
  DeliveryVolume  = $resp.securityWiseDP.deliveryQuantity
  DeliveryPercent = $resp.securityWiseDP.deliveryToTradedQuantity
}

Scan Nifty 50 for stocks with delivery > 60%

$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null

$nifty50 = (Invoke-RestMethod `
  -Uri "https://www.nseindia.com/api/equity-stockIndices?index=NIFTY%2050" `
  -Headers $headers -WebSession $nse).data.symbol

$results = foreach ($sym in $nifty50) {
  Start-Sleep -Milliseconds 300   # Throttle to avoid rate limits
  try {
    $q = Invoke-RestMethod `
      -Uri "https://www.nseindia.com/api/quote-equity?symbol=$sym" `
      -Headers $headers -WebSession $nse
    $dp = $q.securityWiseDP.deliveryToTradedQuantity
    if ($dp -gt 60) {
      [PSCustomObject]@{ Symbol = $sym; DeliveryPct = $dp }
    }
  } catch {}
}
$results | Sort-Object DeliveryPercent -Descending

Get bulk deals for today

$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$resp = Invoke-RestMethod `
  -Uri "https://www.nseindia.com/api/bulk-deal-archives?number=10&series=EQ&from=&to=&symbol=&csv=false" `
  -Headers $headers -WebSession $nse
$resp.data | Select-Object symbol, clientName, buyOrSellFlag, quantityTraded, tradePrice, date

Get block deals for today

$headers = @{ "User-Agent" = "Mozilla/5.0"; "Referer" = "https://www.nseindia.com" }
Invoke-WebRequest -Uri "https://www.nseindia.com" -SessionVariable nse -Headers $headers | Out-Null
$resp = Invoke-RestMethod `
  -Uri "https://www.nseindia.com/api/block-deal-archives?number=10&series=EQ&from=&to=&symbol=&csv=false" `
  -Headers $headers -WebSession $nse
$resp.data | Select-Object symbol, clientName, buyOrSellFlag, quantityTraded, tradePrice, date

Examples

"What is the delivery percentage for HDFC Bank today?"

→ Fetch quote for HDFCBANK, extract deliveryToTradedQuantity — above 50% is considered healthy delivery.

"Which Nifty 50 stocks have delivery above 60% today?"

→ Iterate over Nifty 50 symbols, fetch each quote, filter by delivery percentage threshold.

"Were there any bulk deals in IT stocks today?"

→ Fetch bulk deals archive and filter by sector or symbol name containing "INFY", "TCS", "WIPRO".

Cautions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.