Tax rules implemented

These encode the rules as understood for FY 2025-26 / 2026-27 and are meant for planning, not filing. Verify against the current Finance Act and your bank's actual TDS certificates (Form 16A / Form 26AS).

Taxability (Income-tax Act, 1961)

TDS

Deductions

DICGC insurance

Deposit insurance covers principal plus accrued interest up to Rs 5 lakh per depositor, per bank, per ownership capacity (single, joint, etc.). The optimizer measures the exposure at maturity (principal plus the interest the deposit will have accrued) and, with only_dicgc_insured: true, keeps it below Rs 5 lakh times dicgc_capacities. Without the flag it only warns. Corporate FDs and tax-free bonds are not insured; with only_dicgc_insured: true they are excluded, and sovereign paper (T-bills, G-secs, RBI bonds) is allowed without a limit. Corporate FDs must also satisfy min_rating.

Regime comparison

plan evaluates the chosen allocation under both regimes using the slab rates given in investor.slab_rate: {old: .., new: ..} and prints the total tax over the horizon. The old regime gets the 80TTB deduction for seniors; the new regime does not.