Trading Costs 标志

Trading Costs

社区
Shubhamkumartrichy
trading-costs

Exact trading charges for Indian equity and F&O trades on NSE/BSE: brokerage (Zerodha, Groww, Angel One, Upstox, Dhan or custom), STT, exchange transaction charges, SEBI fee, stamp duty, GST, DP charges and MTF interest, plus breakeven price and cost-as-%-of-profit. Includes a calculator script with current (Oct 2026) rates, including the 1 Apr 2026 F&O STT hike. Use when the user asks "what are my charges", "brokerage for this trade", "breakeven price", "which broker is cheapest", "how much does STT cost", "is scalping worth it after charges", "MTF interest", or when another skill needs cost-adjusted R:R or P&L.

Add to TypingMind

概览

发布者Shubhamkumartrichy
代码仓库claude-trading-skills-india
技能名称trading-costs
星标数
57
复刻数
11
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Shubhamkumartrichy 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Trading Costs AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/trading-costs
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Shubhamkumartrichy/claude-trading-skills-india.git /tmp/claude-trading-skills-india
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills-india/skills/trading-costs .claude/skills/trading-costs
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Trading Costs,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Trading Costs。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Trading Costs 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Trading Costs (India)

Costs are the one part of a trade you know in advance. Compute them exactly, because they decide whether small-edge strategies (scalping, frequent option trades) are viable at all.

Calculator

bash
python3 scripts/charges.py --segment delivery --buy 1800 --sell 1900 --qty 100 --broker zerodha
python3 scripts/charges.py --segment intraday --buy 2450 --sell 2465 --qty 200 --broker all     # compare brokers
python3 scripts/charges.py --segment options  --buy 120 --sell 150 --qty 130 --broker groww     # 2 NIFTY lots
python3 scripts/charges.py --segment futures  --buy 25000 --sell 25100 --qty 65 --exchange NSE
python3 scripts/charges.py --segment mtf --buy 500 --sell 540 --qty 400 --broker zerodha --mtf-days 20 --mtf-funded 100000
python3 scripts/charges.py ... --brokerage-pct 0.05 --brokerage-cap 20      # any other broker
python3 scripts/charges.py ... --json                                       # machine-readable

Options prices are premiums per unit, and --qty is in units (lots × lot size). Pass only --buy or only --sell to price one leg. The report shows the breakeven sell price (long) and buy-back price (short).

Statutory charges (identical at every broker; verified 31 Oct 2026)

ChargeDeliveryIntradayFuturesOptions
STT0.1% buy and sell0.025% sell0.05% sell (was 0.02% before 1 Apr 2026)0.15% of premium, sell (was 0.1%). Exercised ITM: 0.15% of intrinsic value
NSE transaction0.00307%0.00307%0.00183%0.03553% of premium
BSE transaction0.00375% (A/B group)0.00375%00.0325% of premium
SEBI fee₹10 / crore₹10 / crore₹10 / crore₹10 / crore
Stamp duty (buy side)0.015%0.003%0.002%0.003%
GST18% on brokerage + transaction + SEBI fee (+ DP charge)←←←
DP chargeper scrip per sell day (broker-specific, ~₹13–20 + GST)———

NSE also levies an IPFT (investor protection fund) charge of ₹0.01 per crore, which is negligible. Contract notes round STT and stamp duty to the nearest rupee.

Brokerage (per executed order, verified from official pricing pages, Oct 2026)

BrokerDeliveryIntradayFuturesOptionsDP (pre-GST)MTF interest
Zerodha₹00.03% or ₹20 (lower)0.03% or ₹20₹20 flat₹130.04%/day
Groww0.1% or ₹20 (lower), min ₹5same₹20 flat₹20 flat₹2014.95% p.a.
Angel One0.1% or ₹20, min ₹5same₹20 flat₹20 flat₹200.041%/day
Upstox₹20 flat0.1% or ₹200.05% or ₹20₹20 flat₹20₹20/day per ₹40k
Dhan₹00.03% or ₹20₹20 flat₹20 flat₹12.512.49–15.49% p.a. (tiered)

Brokerage in the cash segment can never exceed 2.5% of trade value (exchange cap). Introductory offers, plans such as Upstox Plus, and NRI pricing differ. Verify on the broker's page and pass overrides when needed.

What the numbers mean (rules of thumb)

  • Delivery round trip ≈ 0.22–0.25% of value before slippage, mostly STT on both sides. A swing trade aiming for 1% gives up about a quarter of it to costs.
  • Intraday equity ≈ 0.03% in statutory charges plus brokerage. Percentage-capped brokerage (0.03% at Zerodha/Dhan, 0.1% at Groww/Angel One) scales down for small orders. Flat ₹20 brokerage does not: ₹40 round trip on a ₹10,000 trade is 0.4%.
  • Options: the sell-side STT (0.15% of premium) and exchange charges (0.0355% of premium) are small per trade, but ₹40 brokerage per round trip on a ₹2,000 premium position is 2%. Frequent small option trades bleed.
  • Futures: after the 2026 STT hike, sell-side STT alone is about ₹750 per NIFTY lot (0.05% of ~₹15 lakh notional at NIFTY ≈ 23,000). A long round trip breaks even only after about 14 index points, so scalping for 5–10 points loses money.
  • DP charge is per scrip per day of selling, regardless of quantity. Selling 1 share costs the same DP fee as selling 1,000, so avoid tiny partial exits from delivery holdings.
  • MTF interest of 0.04%/day is about 15% a year. A 30-day MTF hold must beat ~1.2% in interest alone.
  • Hidden costs: bid-ask spread and impact cost (large in small caps and far OTM options), auto square-off fees (often ₹50 + GST), call-and-trade fees, pledge/unpledge fees, demat AMC, and payment gateway charges.

Tax interaction

  • STT is not deductible from capital gains (listed equity). Brokerage, exchange fees, stamp duty and GST are deductible as transfer costs.
  • For F&O and intraday (business income), all charges including STT are deductible expenses. See indian-tax-for-traders.

Output

Charges for [trade]: ₹X total (Y% of turnover, Z% of gross P&L)
  Brokerage ₹.. | STT ₹.. | Exchange ₹.. | Stamp ₹.. | GST ₹.. | DP ₹..
Net P&L: ₹N | Breakeven: ₹B (+P pts)
Cheapest broker for this trade: … (statutory charges are the same everywhere)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Trading Costs AI 技能有什么作用?

Exact trading charges for Indian equity and F&O trades on NSE/BSE: brokerage (Zerodha, Groww, Angel One, Upstox, Dhan or custom), STT, exchange transaction charges, SEBI fee, stamp duty, GST, DP charges and MTF interest, plus breakeven price and cost-as-%-of-profit. Includes a calculator script with current (Oct 2026) rates, including the 1 Apr 2026 F&O STT hike. Use when the user asks "what are my charges", "brokerage for this trade", "breakeven price", "which broker is cheapest", "how much does STT cost", "is scalping worth it after charges", "MTF interest", or when another skill needs co...

为什么在 TypingMind 中使用 Trading Costs?

因为您只需安装一次,就能搭配任何模型使用。Trading Costs 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Trading Costs?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/trading-costs。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Trading Costs?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Trading Costs 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Trading Costs 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Trading Costs AI 技能免费吗?

是的。Shubhamkumartrichy 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇