def zero_coupon_spot_rate(self, par, price, T):
        spot_rate = math.log(par/price)/T
        return spot_rate
Get zero rate of a zero coupon bond
dataset/ETHPy150Open jamesmawm/Mastering-Python-for-Finance-source-codes/B03898_05_Codes/BootstrapYieldCurve.py/BootstrapYieldCurve.zero_coupon_spot_rate