I came across two formulas to compute the Delta of European Call Options.
The First:
$\frac{\partial C}{\partial S} = e^{(b - r)T} N(d_{1})$
The Second:
$\frac{\partial C}{\partial S} = e^{-qr}N(d_{1})$
Here, q is the Annual dividend yield. r, the risk-free interest rate. b, the cost of carry, T the time to maturity (entered as a decimal). And N is the Normal CDF.
Assuming zero dividends, why are these formulas equivalent?
Basically, why is $(b - r)T = -qr$