def __get_bond_spot_rates__(self):
        for T in self.get_maturities():
            instrument = self.instruments[T]
            (par, coup, price, freq) = instrument

            if coup != 0:
                self.zero_rates[T] = \
                    self.__calculate_bond_spot_rate__(
                        T, instrument)
Get spot rates for every marurity available
dataset/ETHPy150Open jamesmawm/Mastering-Python-for-Finance-source-codes/B03898_05_Codes/BootstrapYieldCurve.py/BootstrapYieldCurve.__get_bond_spot_rates__