Can u provide with a detailed example please if i have ( maturity, issue date, coupon, frequency, days_countbase, (price or yield) what is the (yield or price given this information.
For example if i have
maturity = 30/january/2030 coupon 3% issue date = 30/januery/2019 (not sure if needed in quantlib) frequency = semiannual days_count base= isma-30/360 and a price= assuming quantlib uses cleanprice = 104.5
what woul be the yield to maturity of that given bond
or the other option same information but instead of price i have a yield of 2.45% what would be the clean_price?
apprecciate your help, and if u could provide me a code example i woul very much apprecciate it, i have seen examples and your youtubes videos, and it seems very simple my question but im having such a bada time trying to use quntlib correctly