# All Questions

81 views

### Pricing homogeneous Basket Default Swap

Consider a basket with $K=10$ names. Default times of the names, $\tau_k$, are i.i.d. random variables with distribution $P(\tau_k \leq t) = 1 - e^{-\lambda t}$. Suppose that each name in the ...
2k views

### Copulas simply explained

I try to understand the basic idea of copulas, however I am still struggling and hope that someone can help me. I understood that in general a copula is a function which links several marginal ...
101 views

### Function A(t,T) in one-factor Hull-White model

I am struggling with Hull-White model now and have the following question: in the lecture notes under the link below I see how A(t,T) and B(t,T) are being derived. This requires the solution of ...
39 views

### Creating the histogram for the distribution of the portfolio returns

Given log returns for some stocks $A$ and $B$, which are the constituents of our hypothetical portfolio in equal weights, how does one actually come up with a distribution of the log returns of the ...
573 views

### Alternative ways to understand time-varying comovement between two time-series?

I have been looking into ways to better understand how the dependencies/correlations/etc between two time series can vary over time. I first thought about using a Kalman/particle filter over a ...
376 views

### How to estimate CVA by valuing a CDS of the counterparty?

I'm trying to estimate CVA of one of my derivatives by valuing a credit default swap (CDS) of my counterparty. However, I don't know how to set up the CDS deal (notional amount, maturity, etc.). ...
167 views

### How to add buy/sell market on a long/short Bollinger Bands graph in python?

I am using python, pandas, matplotlib to do the following: I have plotted some stock data ...
50 views

26 views

### consensus on Trading Costs in Empirical Papers

Is there some consensus in the literature to model trading costs when going short/long SPX options? Like 2% trading costs to switch from short to long and vice versa plus 20% (just an example) margin ...
61 views

### completeness of the binomial model - proof

I am reviewing the steps of proof that the binomial model is complete and don't understand the marked in red transition. Could anybody explain this step? If $P^{**}$ is a risk-neutral measure, so ...
38 views

### How to find multiple FED rate hike implied probability

I have some questions about finding implied probability of rate hike on FED Funds Futures: What is the relevance of a month that does not have meeting (e.g.: february 2016)? Does the probability ...
63 views

### proven implementation of Black scholes formula

We are writing our own implementation of the Back Scholes model. What on-line, well-known implementation do you recommend to test against? I have found several including the one below, but it doesn’t ...
85 views

### Altman Z-Score to Probability of default

I have computed the Altman Z Score for approximatly 2500 companies. I was wondering if mathematically I am allowed to use a logistic function ? Such as: ...
130 views

### Limits on Short selling

When back testing an algorithm that relies upon short selling certain stocks, how to limit the short selling so that the back-test results still remain reliable? What kind of controls are generally ...
145 views

### Cubic spline interpolation function within Matlab

I want to use the Cubic spline interpolation technique so I can interpolate yield curve points. Now I wonder if I can use the standard matlab function interpl1 (and then using the 'spline' method) or ...
3k views

### Lévy alpha-stable distribution and modelling of stock prices.

Since Mandelbrot, Fama and others have performed seminal work on the topic, it has been suspected that stock price fluctuations can be more appropriately modeled using Lévy alpha-stable distrbutions ...
75 views

### Leveraged ETF calculation - dropping below zero?

I'm running some simulations with a leveraged ETF to investigate that notorious leveraged-ETF decay effect I keep hearing about. When I put in a typical Black-Scholes lognormal model of returns on the ...
67 views

### Implementation of Kelly in multivariate case using modeled distributions

I am exploring how to determine an "optimal" portfolio in the context of real life data and systems. Specifically, I want to calculate a Kelly Optimal Portfolio (see this paper, especially section 8.4 ...
67 views

### Where to get price data on Credit Default Swaps?

I trust market-driven CDS more than credit ratings. Where can one get the CDS of corporate bonds of major companies? Are there any good internet links? If charts on the historical end-of-day prices ...
53 views

### Unrecovered debt

When reading an article about banking industry I came up with two questions. I'd be very pleased If somebody could clarify them: How concepts of unrecovered debt and NPL are related? When banks ...
44 views

### How are CDS prices calculated for financial institutions?

If you need to estimate the fair price of a credit default swap on a financial institution, can it be done? Typical structural models tend to break down for the complex debt and asset characteristics ...
57 views

### Pricing bonds of float coupon rate by stochastic interest rate

So I am not sure whether the following pricing of the bond is possible. Given the stochastic interest rate, one wants to price the bond with the floating coupon rate or the coupon rate being unknown. ...
69 views

### decompose correlation swap pnl

For a Variance swap we can split the pnl into a realized part and a "forward going" part. To be more precise: Assume we enter the trade at t0, and the variance swap has tenor T and a strike $Kvar$. ...
29 views

### Reshuffling the weighting of assets in an investment portfolio

An investor has a £40,000 portfolio, 40% of which is invested in bonds.The investor wishes to add funds to the portfolio by purchasing bonds so that 52% of the entire portfolio is invested in bonds. ...
85 views

### Reference request: Quantitative Trading Strategies [closed]

I intend to thoroughly prepare for an internship that I will start in a couple of months, and therefore wanted to clarify what topics I need to study and some recommended references for them. The ...
49 views

### Bond Convexity: Relationship between discrete and continuous interest rate

The interest rate risk of a bond price $P$ is measured by its Duration: $$D=-\frac{\frac{dP}{P}}{dr}$$ However, the explicit formula for the Duration given a function $P$ is different if $r$ is ...
86 views

### Is there an implementation of VAR-EGARCH model in R or Stata?

I am writing my undergrad honor thesis and want to run a multivariable VAR-EGARCH model. Is there any package in R or formulas in Stata 14 that allows me to implement directly? If not, could you ...
5k views

### Historical Level 2 Data (Market Depth)

I'm currently looking to hone a system using market depth however I am looking for a good source of historical level 2 data. As of right now the best source of historical I have found is automated ...
28 views

### polynomial time trend

I'm attempting to model historic operating margin data and to achieve stationarity I ran the ADF test with 4 lags (quarterly data) and first incorporating an intercept and time trend. The alpha was ...
27k views

### How to compute Implied Volatility Calculation?

We all know if you back out of the BS option pricing model you can derive and solve what the options is "implying" as its volatility. However, what is the formula used to derive Implied Volatility ...
104 views

### Determining maximum strategy capacity and optimal order size for low frequency equity strategy

I have developed a low frequency equity trading strategy that seems to work well with stocks in the S&P 500. Someone asked me about the maximum capacity of the strategy (how much AUM I could ...
43 views

### Leland's model of non-linear Black-Scholes equation

Leland's model of non-linear Black-Scholes equation: (http://i.stack.imgur.com/EkqQb.png) where с is round-trip transaction costs and S is price of stock. c is said to be constant, ...
17 views

### Optimizing Monte Carl integral calculation with control variate

For an exercise I am asked to calculate an integral with a monte carlo simulation, after that I need to optimize the results with a control variate. This was the given integral: \$\int_0^1 \! ...
57 views

### Is there any package in R for conditional autoregressive range model (CARR)?

I am working on a project which requires volatility estimation using range based volatility. Is there any package in R which helps me in estimating the CARR model proposed by Chou (2005).
51 views

### Need to know What is not available in RQuantlib

If we explore CRAN RQuantlib package it says The 'RQuantLib' package makes parts of 'QuantLib' accessible from R. When I tried the package I have found vanilla/some exotic options, fixed income ...