Re: qunatlib us treasury true yield

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/qunatlib-us-treasury-true-yield-tp8100p8103.html

Hi,
    apologies for the delay.  May you provide some code that
reproduces the problem?

Luigi

On Thu, Oct 18, 2012 at 1:29 PM, aexhg <[hidden email]> wrote:

>
> Hi,
> I'm trying to match up the true yield calculation of us treasury (bbg) with
> quantlib. It seems to me that the cashflows::npv() does not take into
> account the coupon referencePeriodBegin & referencePeriodEnd, so for us
> treasuries with bad days, specifying a daycount convention of ISMA, I'll
> never quite match the quoted bbg yield.  I was just wondering if I'm missing
> something or if there's a workaround?
>
>
> --
> View this message in context: http://old.nabble.com/qunatlib-us-treasury-true-yield-tp34572445p34572445.html
> Sent from the quantlib-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users