# Tagged Questions

The tag has no usage guidance.

12 views

### How to compute treasury yields as reported in the online financial newspapers?

I am trying to compute treasury yields (with different data) similar to what has been done by bloomberg, yahoo finance, msn money, and wall street. I find the data reported by these are not the same ...
47 views

### Why does a barbell portfolio have higher convexity than a bullet porfolio

I cannot quite understood absolutely why a barbell portfolio has higher convexity than a bullet porfolio. I can easily understand how the parallel line represents duration but I cannot see what ...
42 views

### QuantLib FittedBondDiscountCurve fitResults [Error]

I try to use "FittedBondDiscountCurve" with "NelsonSiegelFitting", but I faced with such problem: ...
80 views

### Generating random yields

I would like to test different methods for fitting a yield curve, like the Nelson-Siegel, cubic splines etc. I would like to generate random yield to maturity data, that somehow reflects the common ...
208 views

### Wrong discount factors when finding Nelson Siegel Svensson model parameters

I am trying to determine the parameters for the Nelson Siegel Svensson model and am solving a Non- Linear Optimization problem to do this. Some of the code I have written is below and this is where my ...
277 views

### Weights Blowing up in PCA

I'm using daily settlement data to get yield levels for a couple of products. From this data I am doing PCA on a rolling collection of the yield levels. I have been using sci-kit learn's PCA function, ...
33 views

### Constructing yield curve directly from yield-to-maturity data

I'm trying to use Bloomberg yield-to-maturity data for sets of sovereign bonds of different maturities to fit to a yield curve. I looked into using the QuantLib library (the FittedBondCurve ...
85 views

### Using Forward or Spot rates for NPV?

I have to calculate the NPV for Capital Budgeting in a project with annual cash flows discounted by a risk - free interest rates 1.Instead of using a constant interest rate, should it better to use ...
25 views

### Yield Curve Movement: Risk/Reward versus Safe Haven Demand & Monetary Policy Expectations

UK leaves Europe, credit rating get's downgraded. High uncertainty, higher perceived risk - based on just risk/reward, would expect yields on UK debt to increase. They did the opposite. UK government ...
47 views

### Do yield curves only show market expectations, or is there more to them?

I am hoping to understand 'Brexit' impact on UK yield curves. Specifically, government liability yield curves (so yields based on UK government bonds - Gilts): The Background On 24th of June - the ...
117 views

### Monetary Policy and the Yield Curve PART TWO

The Fed has a number of tools/targets with which they manage monetary policy. I'm looking to refine a concise summary of them and looking for guidance/correction/validation. Think I understand these ...
76 views

### Bonds with embedded options pricing via binomial model

Notation: t - time; G(t) - zero-coupon yield curve; $r$, $r_d$, $r_u$ - interest rates. The task is to find market price of a bond for today, while knowing the price of a number of other bonds. ...
126 views

### Quantlib FuturesRateHelper triggers not a valid IMM date error

I'm beginning to use QuantLib with Python SWIG, and trying to build a EUR yield curve. I face this error which frankly I don't understand; I looked at the code of bool IMM::isIMMdate in imm.cpp and ...
31 views

### Introducing 1bp shocks to yield curve (and interpolation consequences)

Let us assume we have a LIBOR 3M curve and that I would like to introduce a small shock up/down of 1bp at a certain point along the curve. I am trying to find out what the best and most efficient way ...
420 views

### How does one estimate theta in the Ho-Lee model from a yield curve?

I have a yield curve constructed using linear interpolation with data points every 3-months for US treasuries. I would like to use that calibrate a Ho-Lee model, but I can't wrap my head around how ...
2k views

161 views

### Quantlib bootstraping fails on 5y swap

I'm trying to build a euro swap curve with real up to date data. I should say that examples provided in github work fine. as soon as I add the 5y swap, I got the following error : ...
68 views

### Will rolling-down-yield-curve bond strategy work if interest rates remain unchanged?

Suppose I have 2 strategies; A) Buying A One Year Bond And Holding To Maturity (Buy & Hold To Maturity) B) Buying A 3 Year Bond and Selling After One Year (Rolling Down The Yield Curve) Assume ...
37 views

### Relationship between yield spread and stock returns

I would like to ask the following question: Do yield spreads generally have a relationship with stock market indices like the S&P 500? If so, what kind of relationship? I have looked at numerous ...
285 views

### Why QuantLib computes the fixed-leg swap rate by this formula?

I'm trying to understand how QuantLib creates (bootstraps) a yield curve from a vanilla swap at the source level. I have the following test code: ...
53 views

75 views

### Looking for the conventions for EONIA swaps used to define EONIA swap rates

I'm trying to recreate some historical curves using EONIA swap rates. Unfortunately I can't find a concrete specification for the swaps. Without knowing if there are intermediate coupon payments, I ...