Important Update: The yield calculation in the script has been corrected by removing the division of TNX by 10, addressing the discrepancy with the original publication that used TNX data from a different data provider. The symbol TNX used in this script represents actual yield and not the yield index.