I'm looking at the chapter Implied repo rate in Fabozzi's Fixed Income Handbook.
There it is defined as the return received by going long the basis, i.e. buying the cash bond (financing it with the repo rate to term) and shorting the futures, i.e. in simple terms (as outlined in the book)
$$ \frac{\texttt{cash in}-\texttt{cash out}}{\texttt{cash out}}\cdot\frac{360}{n}$$
Then they say for the exact return, the formula is as follow
$$ \frac{[(F\cdot CF) + A_e+I_c-(P+A_b)]\cdot 360}{d_1\cdot(P+A_b)-I_c\cdot d_2}$$
with
- $F$, the future price
- $C_f$ the conversion factor
- $A_e$ accrued interest of bond at the end
- $A_b$ accrued interest of bond at the beginning
- $I_c$ interim coupons
- $d_1$ number of days between settlement and actual delivery
- $d_2$ number of days between interim coupon and bond delivery
- $P$ clean price of bond
To finance the bond I have to pay the dirty price today, which is the $(P+A_b)$. The sell of the forward is equivalent to $F\cdot CF + A_e$. $I_c$ is simply the sum of all coupons I receive between the settlement and actual delivery for being long the cash bond. What I'm a bit confused of is the denominator. Why do we weight them differently? I would have gone for
$$ \frac{[(F\cdot CF) + A_e+I_c-(P+A_b)]}{(P+A_b)}\cdot\frac{360}{d_1}$$