instruction stringlengths 15 26.1k |
|---|
One of the reasons for using Black's model over Black-Scholes to price options on a bond is that the bond price will pull-to-par and hence the constant vol assumption isn't true. Why isn't this also the case for the forward that is used in Black's model? In 'Modern Pricing of Interest-Rate Derivatives' by Rebonato he s... |
Why doesn't using the forward as the underlying suffer from pull-to-par and constant volatility in Black's model? |
How to interpret different scenarios in ADF test.
Scenarios:
ADF Test:
Type: None, Drift, Trend
What exactly each of the types specify and when to use which 'type' during performing stationarity and what is the significance of type?
what happens if the test results says that there is a drift or there is a tr... |
I was asked the following question in a recent interview: "**(i) Express a forward swap rate in terms of forward Libor rates. (ii) Apply Ito's lemma to this expression to derive the process for the forward swap rate. (iii) Finally, use this expression to price a swaption**". I couldn't quite figure out the full questio... |
I have the option price at a rate which is much smaller than the rate at which I have tick data. If I option price at 1,x3,x5 tickdata at x1,x2,x3,x4,x5 can I find the option price at x2,x4 ? |
One of the reasons for using Black's model over Black-Scholes to price options on a bond is that the bond price will pull-to-par and hence the constant vol assumption isn't true. Why isn't this also the case for the forward that is used in Black's model? In 'Modern Pricing of Interest-Rate Derivatives' by Rebonato he s... |
Given a set of monthly alpha forecasts (i.e. standardized z-scores from a multi-factor return model) and a non-linear market impact model (or more specifically, its piecewise-linear approximation), is there a generally accepted "standard" method of setting their objective weights in an optimization so they are scaled a... |
i am not very good at finance ,but i have been trying to calculate the example from this link. https://www.dropbox.com/s/egfx0ktolojfsek/3.PRIIPs%20Workshop%20-%20Risk%20Reward%20Methodology.pdf?dl=0
According to the regulation we have to calculate $M1, M2, M3$ and $M4$.
For example $M2=(r_i-M1)^2/M0$, $M3=(r_i-M... |
I have the option price at a rate which is much smaller than the rate at which I have tick data. If I option price at $1, x_3, x_5$ tickdata at $x_1, x_2, x_3, x_4, x_5$ can I find the option price at $x_2, x_4$ ? |
A case study in a exam material goes like this:
"Assume that the bank reports a daily VAR of \$100 million at the 99% level of confidence. Under the null hypothesis that the VAR model is correctly calibrated, the number of exceptions should follow a binomial distribution with expected value of $E[X] = np = 250(1 − 0... |
We have a 3 period binomial tree with values:
59.65 (C33 = 7.65)
56.24 (C22 = ?)
53.03 53.03 (C32 = 1.03)
50 50 (C21 = ?)
47.14 ... |
Why not? You can back out implied vol from the times you do have for the underlier price and then use that to price the options for the times you do not have. (This is assuming you are taking about pricing one particular options, not using options of one strike and expiry to price options at an other time, strike, and ... |
I have the option price at a rate which is much smaller than the rate at which I have tick data for the underlying. If I have option price at times $t_1, t_3, t_5$ and I have tickdata at $t_1, t_2, t_3, t_4, t_5$ can I find the option price at $t_2, t_4$ ? |
If the risk-free asset has a volatility of $0$, therefore making its mean equal to the risk-free rate, $r_f$, does this mean that it has no probability distribution, and therefore there is no reason to model it parametrically (i.e. with $\mathcal{N}(\cdot)$ or other)?
How does this situation change when we drop the ... |
What is the distribution of the risk-free asset? |
Is there a faster way to calculate the option price?
With a recombining binomial tree, the terminal asset price has a [binomial distribution](https://en.wikipedia.org/wiki/Binomial_distribution) -- as you might have expected. For a tree with $n$ steps, the probability of reaching price $S_{n,k}$ where $k$ is the ... |
Is there a faster way to calculate the option price?
With a recombining **binomial** tree, the terminal asset price has a [**binomial** distribution](https://en.wikipedia.org/wiki/Binomial_distribution) -- as you might have expected. For a tree with $n$ steps, the probability of reaching price $S_{n,k}$ where $k$... |
Is there a faster way to calculate the option price?
With a recombining **binomial** tree, the terminal asset price has a [**binomial** distribution](https://en.wikipedia.org/wiki/Binomial_distribution) -- as you might have expected. For a tree with $n$ steps, the probability of reaching price $S_{n,k}$ where $k$... |
Given the assumptions listed as 1,2 and 3 here https://www.investopedia.com/terms/t/technicalanalysis.asp
What do you think about the idea that old technical patterns/trends should definitely not work any longer given that central banks and passive flows has taken an increasing place in the market?
The basic ass... |
**Description**
A *yield curve* is a plot of yields for various bonds (often government bonds) versus the bonds' maturities.
Yield curves often use benchmark *tenors* (times to maturity) so that the curves are directly comparable across time. In the US, these benchmark tenor bonds are known as "constant-maturity ... |
For my bachelor thesis I am trying to determine structural stability of some stock market in the following way:
- Identify an ARMA model for the whole sample
- Split the sample in two parts, and estimate the ARMA model of step one on both sub samples.
- Use the F test to determine whether the coefficients in the fir... |
Can anyone suggest some references for learning as much as possible (and in detail!) about correlation matrixes?
In particular, would be great to have (among others) covered:
- algebraic and statistical properties
- matrix factorization
- estimation
Unfortunately, I could not find any comprehensive source ... |
I am looking for a good definition for the `GSR model for short rate`. As mentioned in the page of https://rkapl123.github.io/QLAnnotatedSource/db/dd8/class_quant_lib_1_1_gsr.html, this model is based on below parameters -
1. Term structure
2. Volatility step dates
3. Volatilities
4. Reversion
5. Something ... |
I am struggling to understand how I should use the **Gaussian one factor model** for short rate for valuation of a `Swaption`. Below is my `Swaption` parameters -
from QuantLib import *
import datetime
import numpy as np
import pandas as pd
calc_date = Date(29, 3, 2019)
start = 10
l... |
As I understand the expectation hypothesis says that the implied forward rate, can be used to predict future spot rates?
If $r_{0,2}$ is the rate for a zero coupon bond maturing in two years, and the same with $r_{0,1}$. And $r_{1,2}$ is the rate fora zero coupon bond sold at time $1$ and maturing at time $2$. Do we... |
Expectation hypothesis, expectation under which measure? |
GSR stands for Gaussian Short Rate model. It describes the short rate $r(t)$ dynamics under the Risk Neutral measure as:
$$
dr(t) = \kappa(t) \cdot (\theta(t) - r(t)) \cdot dt + \sigma(t) \cdot dW(t).
$$
Please, note that [this](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2246013) document describes the... |
Your problem is caused because the class `Gaussian1dSwaptionEngine` expects a model of the parent class `Gaussian1dModel`, which `Vasicek` is not.
This snippet gives an example of defining a GSR model, which is accepted by your engine:
```
volStepDates = [Date(1, 1, 2020)]
volatilities = [vol1, vol1]
reversions ... |
There have been numerous exotic trading desk blow ups lately, related to various reasons. However, in particular, one bank had some issues where they were pricing autocallable notes with Local Volatility and not producing a Delta "true up" using Stochastic Volatility that is common among other banks. In other words, De... |
Portfolio Value-at-Risk estimated using the copula approach often just means generating artificial data sampled from a parametric copula('s joint multivariate distribution) as a model fit over the real data, but is there any equivalence between the copula and Value-at-Risk measure? In other words, is VaR actually equiv... |
Does Value-at-Risk have any mathematical equivalence to copulas? |
Portfolio Value-at-Risk estimated using the copula approach often just means generating artificial data sampled from a parametric copula('s joint multivariate distribution) as a model fit over the real data, *and then* estimating VaR from this artificial data,
but is there any actual equivalence or connection betwee... |
To build a term structure I need different volatilities; as I don't get them at every strike, I use interpolation technique to calculate the rest and plot. This is how I calculate the implied vols. How is the Newton-Raphson method used to calculate the implied vols? Is it another way to calculate like I calculate with ... |
Can someone explain to me please how to calculate the rolling volatility from slide 25 in [these slides][1]?
I get the first 21 LN returns like in the example. But then I don't really know what to insert in the formula. I get very different answers.
[1]: https://www.dropbox.com/s/egfx0ktolojfsek/3.PRIIPs%20Works... |
Portfolio Value-at-Risk estimated using the copula approach often just means generating artificial data sampled from a parametric copula('s joint multivariate distribution) as a model fit over the real data, *and then* estimating VaR from this artificial data,
but is there any actual equivalence or connection betwee... |
I've been reading about the security market line and the definition of beta as
$$\beta_i = \frac{Cov(R_i, R_m)}{Var(R_m)} $$
for any asset (doesn't have to be an efficient portfolio), and have read that beta can be positive or negative. My confusion is about how beta can be negative. Is it not the case that if $\bet... |
Your confusion stems from you confusing several aspects of VaR and copulas. Note first that Portfolio Value at Risk measures the value at risk of a **portfolio**. This means the total loss of your portfolio is the sum of losses from single assets, instruments, entities, lines of business ... whatever
$$ S = \sum_{i=... |
Your confusion stems from you confusing several aspects of VaR and copulas. Note first that Portfolio Value at Risk measures the value at risk of a **portfolio**. This means the total loss of your portfolio is the sum of losses from single assets, instruments, entities, lines of business ... whatever
$$ S = \sum_{i=... |
Under what circumstances is a sortino ratio lower than a sharpe ratio? What does it mean about the distribution? |
Sortino ratio lower than sharpe ratio? |
Entropic Value-at-Risk (EVaR) is an alternative and more efficient risk measure than conditional Value-at-Risk (CVaR). EVaR serves as an upper bound to both VaR and CVaR.
Below is a graph of the mean-variance efficient frontier and the mean-CVaR efficient frontier
https://www.scipedia.com/wd/images/e/e9/Wang_2020... |
I don't understand what's wrong in the following argument.
Assume that we have a no-arbitrage market where the following products are traded:
- a risky asset $S$,
- a risk-free bond $B$,
- an American put option $P$ with finite maturity $T$ and payoff $K$. Its underlying is $S$.
Now, according to the first ... |
Why aren't american put options martingales? |
Any database with all of companies previous CEO's? |
I want to perform features selection on my dataset. I've split my data into train, test and out-of-sample set. The dataset is time-series based, so the split is sequenced in the order that train set will be taken from the earliest segment of the dataset and the out-of-sample set will be taken from the latest segment ... |
If asset returns are daily, and the asset return covariance matrix, $\Sigma$, is annualized by $\Sigma \times 252$, do I also multiply the correlation matrix by 252 to annualize it? |
How to annualize the correlation matrix? |
It would help if you provided a *small* numeric example
of what you want to achieve, i.e. some sample bars plus
a good solution.
But in any case, IIUC, I would approach the
problem directly as an optimization model:
You have $N$ bars. Assuming you always trade at the
close, then a candidate solution would be ve... |
Hey I would like to understand role of parameters C,G,M,Y in CGMY model, especially G and M. The levy measure is $$\nu(x)=C\frac{e^{-Mx}}{x^{1+Y}}1_{x>0}+C\frac{e^{-G|x|}}{|x|^{1+Y}}1_{x<0} $$In one text I found this interpretation:
> $G$ and $M$ model the decay rate of large positive and negative jumps, respectivel... |
I have an incomplete market (rows are states and columns are securities) and I need to determine if there is arbitrage, and if so, construct an arbitrage strategy. A is the payoff matrix (payoffs at t=1) and S is the price vector at t=0.
I am a bit lost, because the state prices cannot be calculated explicitly (m... |
Is there arbitrage in this market? |
> Q. If you predict the volatility of the stock is 10% a year from now and current price is X dollar, how do you hedge the risk?
Im not sure why I am finding this so hard. How do we use options (probably) to sell 10% a year volatility? |
The equivalent way to write the beta of a single stock to an index is $\beta_i = \rho(i, m)\frac{\sigma_{i}}{\sigma_m} $. The negative sign can come from $\rho$, the pearson correlation. What are some economic scenarios that can render $\rho$ negative?
* if your $m$ is the stock index (like S&P 500), then you can ex... |
I don't understand what's wrong in the following argument.
Assume that we have a no-arbitrage market where the following products are traded:
- a risky asset $S$,
- a risk-free bond $B$,
- an American put option $P$ with finite maturity $T$ and payoff $K$. Its underlying is $S$.
Now, according to the first ... |
The SEC's EDGAR system has this. Companies are required to file a [form 8-K][1] to notify investors of events within a company that may be important. A CEO being replaced is one of those events, generally under item 5.02 in the 8-K.
For example, on August 3rd, 2020 Clorox (NYSE: CLX) replaced their CEO. Here is a... |
I've been reading about the security market line and the definition of beta as
$$\beta_i = \frac{Cov(R_i, R_m)}{Var(R_m)} $$
for any asset (doesn't have to be an efficient portfolio), and have read that beta can be positive or negative. My confusion is about how beta can be negative. Is it not the case that if $\bet... |
How can beta be negative? |
m$ is typically the stock index (like the S&P 500, which represent U.S. large cap stocks). It's not practical to build an index that would include all possible aset classes (stocks, bonds, FX, real estate...). Even a worldwide stock index isn't very practical.
The equivalent way to write the beta of a single stock t... |
An index that represents all of the market is a CAMP assumption, but in reality $m$ is typically some stock index (like the S&P 500, which represent U.S. large cap stocks). It's not practical to build an index that would include all possible aset classes (stocks, bonds, FX, real estate...). Even a worldwide stock index... |
## European Contracts ##
It's a really important question and as @noob2 commented, the [FTAP](https://en.wikipedia.org/wiki/Fundamental_theorem_of_asset_pricing) is normally applied to _European-style_ derivatives, even if they are path-dependent such as barrier options or Asian options. The idea is always the same,... |
An index that represents all of the market is a CAPM assumption, but in reality $m$ is typically some stock index (like the S&P 500, which represent U.S. large cap stocks). It's not practical to build an index that would include all possible aset classes (stocks, bonds, FX, real estate...). Even a worldwide stock index... |
I would like to understand role of parameters $C,G,M,Y$ in CGMY model, especially $G$ and $M$. The Lévy measure is $$\nu(x)=C\frac{e^{-Mx}}{x^{1+Y}}1_{x>0}+C\frac{e^{-G|x|}}{|x|^{1+Y}}1_{x<0} $$In one text I found this interpretation:
> $G$ and $M$ model the decay rate of large positive and negative jumps, respectiv... |
"A 99% VAR using 1,000 (simulation) replications should be expected to have only
10 observations in the left tail, which is not a large number. The VAR estimate
is derived from the 10th and 11th sorted numbers. In contrast, a 95% VAR
is measured from the 15th and 51st sorted numbers, which is more precise"
Could ... |
"A 99% VaR using 1,000 (simulation) replications should be expected to have only
10 observations in the left tail, which is not a large number. The VaR estimate
is derived from the 10th and 11th sorted numbers. In contrast, a 95% VaR
is measured from the 15th and 51st sorted numbers, which is more precise"
Could ... |
[Entropic Value-at-Risk (EVaR)][1] is an alternative and more efficient risk measure than conditional Value-at-Risk (CVaR). EVaR serves as an upper bound to both VaR and CVaR.
Below is a graph of the mean-variance efficient frontier and the mean-CVaR efficient frontier
https://www.scipedia.com/wd/images/e/e9/Wang... |
## European Contracts ##
It's a really important question and as @noob2 commented, the [FTAP](https://en.wikipedia.org/wiki/Fundamental_theorem_of_asset_pricing) is normally applied to _European-style_ derivatives, even if they are (strongly) path-dependent, including barrier options and Asian options. The idea is a... |
Sorry for what could be a naive question.
When is the right time to trade a butterfly i.e. (buy 10d call and put vs sell atm all notional flat) is it when implied vols are high or low (relative to where your view on realized is)?
Just because notional flat butterfly should be a short vol trade you should be doing... |
I am a beginner to Repos. In the place I work there are multiple risks (FX delta, IR delta, etc.) listed under Repos. However, one of my colleagues told me to ignore "FX delta" risk for Repos.
Is his statement right? Is it possible that the colateral of the repo is a product that bares FX delta risk? Any explanati... |
Can repos be exposed to FX Delta risk? |
For stochastic volatility models, and any vol model I know, it seems the standard approach is to calibrate the model from **option prices**. As other user said, this seems a chicken egg problem - how do I price options if I have to calibrate model from option prices?.
For Heston, Stein&Stein, or any stoch vol, even... |
For stochastic volatility models, and any vol model I know, it seems the standard approach is to calibrate the model from **option prices**. As other user said, this seems a chicken egg problem - how do I price options if I have to calibrate model from option prices?.
Atiya and Wall (2009) show how to obtain the ma... |
An example in the book, *Quantiative Trading*, the net return of a dollar neutral strategy of IGE and SPY is calculated.
% net daily returns
(divide by 2 because we now have twice as much capital.)
netRet=(dailyretIGE - dailyretSPY)/2;
I don't understand why we divide by 2. We essentially use the s... |
I heard that there is no bid-ask spread in futures markets. Could anyone explain why there would be no difference between the selling and buying price of a futures contract?
Thanks in advance! |
Why there is no Bid Ask Spread in Futures Markets? |
I'am trying to calculate the price of a forward on a defaultable zero-coupon bond. It is also true that the price will be given by [Price a forward contract on a zero-coupon bond][1] ? I guess the defautability of the bond shoud result in higher price for the forward than in the standard case.
Thanks.
[1]: htt... |
Suppose forward contracts are traded on a consumption asset, so there aren't necessarily people ready and willing to sell the asset to jump on an arbitrage opportunity. Suppose the asset has no yield, incurs no storage costs, and that the current price is $S_0$.
In the book *Options, Futures, and Other Derivatives*,... |
Can arbitrage arguments be rearranged to avoid selling? (Hull, Chapter 5) |
How to compute the price of a vanilla option (or a forward starting option) if there is extra optionality to change the Notional by a pre-determined percentage ($a%$, say)at some future time $t$ between Now and Maturity of the Vanilla option? In other words, at $t, 0 < t <T$ option holder can step up the Notional by $a... |
I´m currently looking to implement an intraday volatility model and I´m new at the quant world and I learned how superior is GARCH family is for daily volatilities, but in the research stage I found out that GARCH daily model is not good for intraday volatilities.
Instead, they present a realized GARCH or use realized... |
Why a model like GARCH is only good for daily volatility and not for intraday volatilities? |
Hey characteristic function of Meixner distribution is:
$$\Phi(u)=\left(\frac{\cos(\beta/2)}{\cosh((\alpha u-i\beta)/2}\right)^{2\delta}$$
I need to calculate the first, second, and fourth cumulant of this distribution i.e $c_n=\frac{1}{i^n}\frac{\partial^n}{\partial u^n}\ln(\Phi(u))$ at $u=0$. Does anyone have the a... |
I modified Kevin Ott's payoff diagrams from [Call Credit Spread](https://www.optionsbro.com/call-credit-spread-option-strategy-example/) and [Put Debit Spread](https://www.optionsbro.com/put-debit-spread-option-strategy-example/) that appear identical.
1\. Doubtless I can see that [the former](https://www.optionspl... |
Vertical Spreads : Short/Bear Call vs. and Long/Bear Put? |
Here, we have an example for the calculation of Forward Swap Rate - https://quant.stackexchange.com/questions/53602/how-to-compute-forward-swap-rates
Below is my Forward Swap -
from QuantLib import *
import datetime
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
... |
What are the advantages of $EVaR$ over $CVaR$? |
At work we were talking about currency hedging our equity index exposures but I am struggling to understand how this happens in a typical iShares ETF.
If we take the [Japan ETF IJPN][1] then we see this index is against the MSCI Japan index.
However it is priced in GBP and its base and benchmark currency is USD.
... |
Since the first part of your question was already answered, I provide you with a solution for the second part "*Also I'm asked to compare portfolio variance using different regularizes and to use a validation methods to find the optimal parameters. Can we use python to do this?*"
You can do the regularization with 3... |
Where can one find future interest rates in Bloomberg? |
Where can one find current OIS and Ibor interest rates in Bloomberg? |
Since the first part of your question was already answered, I provide you with a solution for the second part "*Also I'm asked to compare portfolio variance using different regularizes and to use a validation methods to find the optimal parameters. Can we use python to do this?*"
You can do the regularization with 3... |
I am relatively new to investing and would like to look into some of the details of a few companies. As one example, we can use DAL.
To assess the financial future of the company, it would be important to know the exact debt structure. Namely, how much will the company owe in debt payments - including both interest ... |
Is a company's exact debt structure publicly available to investors? |
Where can one find implied OIS and Libor interest rates in Bloomberg? |
I was trying to replicate one example from
http://www.bnikolic.co.uk/blog/ql-fx-option-simple.html
In QuantLib general practice is to use `Handle` to manage change in the observed variable. I am fine with that.
However for my case, I do not want to use `Handle` but want to use direct `pointer` (smart). So I r... |
I modified Kevin Ott's [Call Debit Spread](https://www.optionsbro.com/call-credit-spread-option-strategy-example/) and [Put Credit Spread](https://www.optionsbro.com/put-credit-spread-option-strategy-example/) payoff graphs that appear similar.
1\. Doubtless I can see that [the former](https://www.optionsplaybook.c... |
Vertical Spreads : Long/Bull Call vs. and Short/Bull Put? |
The price evolution of a commodity can be described by the Schwartz SDE
$$dS = \alpha(\mu-\log S)Sdt + \sigma S dW, \qquad \begin{array}dW \sim N(0,dt) \text{ increment of Brownian motion} \\ \alpha = \text{ strength of mean reversion}\end{array}$$
From it we can derive the PDE for the value of an option on a commo... |
The price evolution of a commodity can be described by the Schwartz SDE
$$dS = \alpha(\mu-\log S)Sdt + \sigma S dW, \qquad \begin{array}dW \sim N(0,dt) \text{ increment of Brownian motion} \\ \alpha = \text{ strength of mean reversion}\end{array}$$
From it we can derive the PDE for the value of an option on a commo... |
The price evolution of a commodity can be described by the Schwartz SDE
$$dS = \alpha(\mu-\log S)Sdt + \sigma S dW, \qquad \begin{array}dW \sim N(0,dt) \text{ increment of Brownian motion} \\ \alpha = \text{ strength of mean reversion}\end{array}$$
From it we can derive the PDE for the value of an option on a commo... |
Why are model-free implied volatility indices (like VIX) only available for large indices and a few large stocks? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.