instruction stringlengths 15 26.1k |
|---|
Is there a source describing how the schedules(start, end, dcf, payment) involved in a basic IRS are computed?
Depending on when the dates are adjusted, the schedules can be different.
Thanks
|
I have been looking at SOFR/fixed swaps. On Bloomberg I found USOSFR1F which is the 18 month tenor on the SOFR OIS curve.
My understanding is that SOFR OIS pays annually. When bootstrapping to get a zero curve, should I treat this instrument as a bullet? |
Is an 18 month OIS a bullet? |
When calculating the average age of a given data set used in exponential weighted moving average (ewma), I was given the folowing derivation:
(1) $$avg=0\alpha+1\alpha\beta+2\alpha\beta^2+...$$
(2) $$avg=\alpha\sum_{k=0}^{\infty}k\beta^k$$
(3) $$avg=\frac{\beta}{\alpha}$$
(Brown R.G, on page 107 of "Smoothing... |
Why is the smoothing coefficient of the EMA (exponential moving average) calculated as:
$${\displaystyle \alpha =2/(N+1)}?$$
Brown R.G, on page 107 of "Smoothing, forecasting and prediction of discrete time series (1963)" goes about giving an explanation using the following folowing derivation for what he calls ... |
## Bridging the gap between equation 2 and 3:
***
**Let us use the fact that the infinite series $\sum_{k=0}^\infty k \cdot \beta^k$ has a closed-form solution given by (see [this post for proof](https://math.stackexchange.com/questions/235063/closed-form-expression-of-infinite-summation)):**
$$\sum_{k=0}^\infty... |
I am reading "quantitative equity portfolio management: an active approach to portfolio construction and management" by Ludwig B. Chincarini, Daehwan Kim, and am confused by this derivation of t-statistic for alpha (Eq. 15.29) in the book:
[![enter image description here][1]][1]
where $\hat{\alpha}$ is the estima... |
how to derive t-statistic for alpha (Eq. 15.29) in "quantitative equity portfolio management"? |
Here is the question asked in interview:
>What's is the difference of digital (binary) option price under normal and log-normal assumptions of spot?
I think the log normal has fatter right tail than normal. However digital option is not sensitive to the large spot, therefore the price of log normal will be smaller ... |
I am creating a SQL query for a model I am developing that uses historical volatility. I am using the below methods to determine historical volatility:
1. close to close zero mean
2. close to close standard calculation for sample
3. parkinson
4. garman klass
5. rogers satchell
6. yang zhang
Generally sp... |
I'm trying to understand where the efficient frontier comes from.
### What I understand about the efficient frontier
I understand the efficient frontier is essentially a subset of the boundary of the investment opportunity set of attainable portfolios. Intuitively, it represents, for each point along the $\sigm... |
Is finding the efficient frontier a max or min problem? |
Your question is ill-posed.
This type of question appears quite a bit in the field of statistics and is intrinsically problematic.
Consider the two most common standard estimators of variance for a normally distributed variable. $$\hat{\sigma}^2_F=\frac{\sum_{i=1}^n(x_i-\bar{x})^2}{n-1}$$ and $$\hat{\sigma}^2_L=... |
Is there a link between those two quantities ? |
Is there a link between those two quantities ?
I think about this because, the skew of returns impacts the price of calls and puts, and therefore may be linked to the implied volatility |
This is just a thought: Say SPX falls so much that there is panic and implied volatility increases so greatly that OTM call price is increased as market dips more and implied ivs increases withit ?
Although its my observation in historical data that call price stops falling and stays constant as dip continues.
This... |
Assume $X_t$ and $Y_t$ represent the prices of the same financial instrument traded in two different markets (in particular they are cointegrated). For some reason the long run equilibrium between $X$ and $Y$ is not zero but some constant dollar ammount, i.e. $X_\infty - Y_\infty = c$. This $c$ I can estimate by lookin... |
Say SPX falls so much that there is panic and implied volatility increases so greatly that OTM call prices is increased as market dips more and implied ivs increases with-it, Can anyone explain why this wont happen?
In my observation in historical data that call price stops falling and stays constant as dip continues |
Say SPX falls so much that there is panic and implied volatility(iv) increases so greatly that OTM call prices are increased during the fall due to high iv
In my observation in historical data this doesn’t happens, call prices stops falling and stays constant as dip continues
Can anyone explain why this doesn’t happe... |
If all of the other inputs into black scholes (divs/rates/time to maturity/strick/current price/etc) are all the same between two pairs of calls/put contracts on the same security, shouldn't the implied volatility be the same?
For example I see SPY and AAPL has having similar IV for ATM put and calls.
However, it... |
Under put call parity shouldnt the implied volatility for call and put for same strike and maturity be the same? |
I'm preparing for quant interviews, and I had this question for myself. I'm not actually trading corn options. My goal here is just to better understand how to deal with these kinds of options.
According to [this][1], corn's "peak season lasts from May through September." Suppose corn is only picked May through Sept... |
How do you price an option on fresh corn? |
If two models are producing ZVOAS for the same MBS, I'm trying to understand, all things the same, which one is projecting a higher prepayment rate. For example, would Model 1 be projecting a higher prepayment rate as it is resulting in a higher ZVOAS than Model 2?
If so:
1) mathematically, is this because a large... |
If two models are producing ZVOAS for the same MBS, I'm trying to understand, all things the same, which one is projecting a higher prepayment rate. For example, would Model 1 be projecting a higher prepayment rate as it is resulting in a higher ZVOAS than Model 2?
If so:
1) mathematically, is this because a large... |
It is the story of interest at the moment. Rate hike expectations from central banks around the globe. Various sale side research parties publish often market implied rates hike. The magnitude and the probability.
I know the basic model via futures where you condition on different events, e.g. a hike or no hike and... |
How does the market derive market implied rates hike via swaps? |
*Which swaps are used for this purpose?* - meeting date OIS. You can get runs from dealers and vendors will have some data.
*What is the exact methodology behind it. Are there any references?* - look at the effective rate, look at the meeting date OIS rate, observe the difference and make an inference about how much... |
If two models are producing ZVOAS for the same MBS, I'm trying to understand, all things the same, which one is projecting a higher prepayment rate. For example, would Model 1 be projecting a higher prepayment rate as it is resulting in a higher ZVOAS than Model 2?
If so:
1) mathematically, is this because a large... |
Quantlib: How to print the maturity dates or pillars from the helpers in Quantlib python? |
I read your question here on stackexchange and was curious myself, so I did a little digging and came across this:
A thread on Quora
**Where can I learn C++ for HFT?**
Theodore Weld Smith (programming primarily in C++ and OCaml) answered:
> One of the biggest distinctions from what C++ looks like for HF... |
**Summary:**
Can you recommend any book which is:
1. Intro/first course in PDEs
2. Covers solution methods useful for Black-Scholes model?
**Background**
I have just started learning about PDEs (after studying the ODEs) with the aim to understand in depth the Black-Scholes PDE solution (an then move to mor... |
Any book which is intro to PDEs but prioritises techniques useful for solving Black-Scholes? |
[![enter image description here][1]][1]
[1]: https://i.stack.imgur.com/qCSOF.png
Hi I know how to get the hedge ratio it is 0.9 but what is the companies exposure is it just 1 million? Once I know exposure I can calculate the rest of part (a).
For part (b) I can someone explain this statement to me I know ... |
Ok I'll answer this from a practioner's perspective rather than a purist's (which I am solidly not).
Below are the books that influence my understanding of this space, listed in chronological order of when I bought them.
**TL;DR - buy Hull and Wilmott's books & read in that order. But also search for papers by Duff... |
I would appreciate any consideration given to the question I have with respect to a document published by the UK Dept. of Transport.
https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/639211/research-into-valuing-health-impacts-in-transport-appraisal.pdf
Here, on pag... |
I will try to make a more general suggestion that doesn't depend on SOFR, EONIA, LIBOR, cross-currency basis, etc, but applies all all linear interest rates products. Sorry if I may be digressing.
You have a number of observable instruments that you use to build your interest rate (multi)curves. In general, these ar... |
A Bermudan option allows early exercise at predefined dates, e.g. at maturity equal to $t_1$, $t_2$, $t_3$,...;
hence , would its value be the sum of 3 discounted European options with 1-year maturity? |
How can one value a Bermudan option? |
is there any open source / commercial Java/C#/any language that has algorithm to detect base formation ?, see the base formation before Buy Point below.
[![enter image description here][1]][1]
[1]: https://i.stack.imgur.com/Xre9V.png |
The return between two price points can be calculated as `Price(present)/Price(previous) -1`
Or, it can be expressed as `exp(log(Price(present)/Price(previous)) -1`
So, I am calculating the return for each new price like the fig shown below.
[![enter image description here][1]][1]
However, My confusion is ... |
Let's say I am looking to price AAPL 30 day volatility on a relative level.
My first thought would be to take SPY vols and multiply it by AAPL's beta.
But this leaves out the volatility caused by the sector, industry and other factors.
One of the issues is many of the factors are correlated so using simple line... |
On a relative level how do you value single name volatility? |
Let's say I would like to obtain an incremental discounting rate (as in IFRS-16) for a company $X$ with a rating score of $Y$ and belonging to a sector $Z$. Usually, any data provider such as Bloomberg and Reuters only displays the yields or CDS spreads for some of the sectors and only for liquid ratings: That is, even... |
Let's say I would like to obtain an incremental discounting rate (as in IFRS-16) for a company $X$ with a rating score of $Y$ and belonging to a sector $Z$. Usually, any data provider such as Bloomberg and Reuters only displays the yields or CDS spreads for some of the sectors and only for liquid ratings: That is, even... |
Firstly, a small nit. When you say 'commodities trading' in your question, I'm going to assume you mean forward or other derivative trading on the commodity. "Commoditity" trading in this example would more likely be associated with the type of thing being traded (eg, corn, metal, etc), as opposed to financial instrume... |
Let's say I would like to obtain an incremental discounting rate (as in IFRS-16) for a company $X$ with a rating score of $Y$ and belonging to a sector $Z$. Usually, any data provider such as Bloomberg and Reuters only displays the yields or CDS spreads for some of the sectors and only for liquid ratings: That is, even... |
Pls check Shreve‘s Theorem 9.2.2 Change of risk-neutral measure . Is this what you are looking for? |
I'm struggling with learning change of numeraire, and stochastic differential equations. I'm reading the beginning of Brigo and Mercurio's *Interest Rate Models- Theory and Practice*, and I'm on the Change of Numeraire Toolkit section. They present
Let $N$ be a numeraire with corresponding martingale measure $\math... |
Are Stochastic Differential Equation diffusion terms always invariant under a change of measure? |
I'm struggling with learning change of numeraire, and stochastic differential equations. I'm reading the beginning of Brigo and Mercurio's *Interest Rate Models- Theory and Practice*, and I'm on the Change of Numeraire Toolkit section. They present a formula for how the drift term of the SDE for a process $X_t$ changes... |
I'm struggling with learning change of numeraire, and stochastic differential equations. I'm reading the beginning of Brigo and Mercurio's *Interest Rate Models- Theory and Practice*, and I'm on the Change of Numeraire Toolkit section. They present a formula for how the drift term of the SDE for a process $X_t$ changes... |
More explicitly, if $W(t)$ is Brownian motion, what would be
$$f(t) := \int_0^t u dW(u)$$
and $$g(t) := \int_0^t W(u) du$$? |
what is $\int t dW$ and $\int W dt$? |
I am sure there will be more thorough answers provided by others, but let me have a quick go at the first part: "what is meant by $\int_0^T W_t dW_t$ in finance?".
I like to interpret Ito Integral as the outcome of a **gambling strategy** (which fits in well with the fundamental property of the Integral: i.e. that i... |
I have a very practical question regarding the terminology of swap / rates trading. What is the exact definition of statements like *receive 10s30s*. I know that it is the spread between 30y and 10y yields. But question is what is the standard to which the word receive is bound? In a 10s30 receiving trade do we receive... |
These options can be priced by adding an early exercise premium value to the intrinsic value:
https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.542.3141&rep=rep1&type=pdf |
I'm interested in the estimation of parameter of copula for discrete random variables.
The problem is described as follow:
I have 30 discrete random variables $X_1,.., X_{30}$, each random variable is Poisson distributed, and I assume that they correlates by a copula. Now i want to estimate the parameter of that c... |
Quantlib : Valuation of inflation swaps of GBP-RPI using quantlib python? |
I have YoY percent change in CPI and the nominal 10 year Treasury yield.
I want to run some correlation analysis between them but worry they are not stationary. I ran a DF test and found that, assuming no drift or trend, both series are non stationary (but close to stationary).
Is it a huge problem is I start r... |
Is it safe to assume inflation rate and treasury yields are stationary? |
### Answering your main question:
> Is it a huge problem if I start running correlations on the original values?
**Short answer: Yes.**
Both the **raw/untransformed CPI** and treasury yields are widely known non-stationary time-series processes:
- The article of [Hall et al. (1992)](https://www.jstor.org/sta... |
If YoY % change in CPI and the nominal Treasury yield contained unit roots, they could wander off to $+/-\infty$ and never return. This is clearly not the case as e.g. you have strong economic arguments against a scenario where the nominal Treasury yield is negative and large. Thus, these processes do not contain unit... |
Suppose that I have a model for implied volatility surface and want to figure out required recalibration frequency based on historical quotes. Since I have a large range of strikes and tenors over a long period of time I need to somehow automate this process, i.e. I need a computable metric rather than "ahh it seems pr... |
Suppose we have the following series: $R_1$, $R_2$, ...., $R_N,$ which are returns of a stock for $t=1,2,...,N$. If we want to estimate a sample volatility, then we can use $$\sigma^2=\sqrt{\frac{1}{N-1}\sum(R_i-\mu_R)^2}$$, where $\mu_R$ is the average of the series.
However, if we have a daily data and we want to e... |
I am currently working with some options OHLC data (30 minute bars) from IBKR for a range of strike prices, maturities and for both calls/puts. For each bar, I am trying to back out the IV (crudely using the 3m treasury as a proxy for the risk-free rate and pyvollib/scipy's optimize.brentq method for the actual IV calc... |
Suppose that I have a model for implied volatility surface and want to figure out required recalibration frequency based on historical quotes. Since I have a large range of strikes and tenors over a long period of time I need to somehow automate this process, i.e. I need a computable metric rather than "ahh it seems pr... |
If CAPM holds, should alpha be zero for all assets? |
If CAPM holds, should alpha should be zero for all assets? |
If YoY % change in CPI and the nominal Treasury yield contained unit roots, they could wander off to $+/-\infty$ and never return. This is clearly not the case as e.g. you have strong economic arguments against a scenario where the nominal Treasury yield is negative and large. Thus, these processes do not contain unit... |
I have a European call option with time maturity $T=3$,$K=50$, and given that $S(t)$ that refers to the derivative is being described by the geometric Brownian motion with $S_{0}=100$ and $r = 0.04$.The volatility of the title is stochastic and deviates between two stages $\sigma_-=0.25$ and $\sigma_+ =0.75.$Those two ... |
I have YoY percent change in CPI and the nominal 10 year Treasury yield.
I want to run some correlation analysis between them but worry they are not stationary. I ran a DF test and found that, assuming no drift or trend, both series are non stationary (but close to stationary).
Is it a huge problem is I start r... |
Since you have mentioned taking first differences as a possible remedy for nonstationarity and since this remedy is mainly appropriate when dealing with I(1) processes, let me focus on whether these time series are I(1) or perhaps I(0).
(I(1) implies nonstationarity while I(0) does not imply it but permits it.)
I... |
Problem: correlation between realized returns per trade and ex ante payoff is relatively low. Given that, it's possible that small (large) bets should be larger (smaller) than recommended by Kelly.
I have seen shrinkage estimators for Kelly which aim to take into account uncertainty about win rate and payoff but the... |
### Answering your main question:
> Is it a huge problem if I start running correlations on the original values?
**Short answer: Yes.**
Both the **raw/untransformed CPI** and treasury yields are widely known non-stationary time-series processes:
- The article of [Hall et al. (1992)](https://www.jstor.org/sta... |
I have a European call option with time maturity $T=3$,$K=50$, and given that $S(t)$ that refers to the derivative is being described by the geometric Brownian motion with $S_{0}=100$ and $r = 0.04$.The volatility of the title is stochastic and deviates between two stages $\sigma_-=0.25$ and $\sigma_+ =0.75.$Those two ... |
I am reading Prof. Marcos Lopez de Prado's book Advances in Financial Machine Learning, and have a question on feature engineering.
On page 88, he says:
In practice, I suggest you experiment with the following transformation of your features: First, compute a cumulative sum of the time series. This guarantees tha... |
Do we need to fractionally differentiated all features in ML prediction for finance time series? |
The most simple ARCH for is given by:
$$\sigma^2_t=E{\epsilon_t^2|I_{t-1}}=\alpha_0+\alpha_1\epsilon^2_{t-1}$$
Why in this model we do not have residual as well? Example:
$$\sigma^2_t=E{\epsilon_t^2|I_{t-1}}=\alpha_0+\alpha_1\epsilon^2_{t-1}+u_t$$ |
I'm working on a program that find summary data given all trades during a day.
However, for some reason, if I sum all the volume during market hour (9:30 -> 16:00, New York SE time), the total volume is noticeably less than the official values I can find (in this page for example: https://www.nasdaq.com/market-activit... |
Does stock volume include shares traded during before/after market? |
Why in ARCH/GARCH model we don't add residual? |
The most simple ARCH is given by:
$$\sigma^2_t=E{\epsilon_t^2|I_{t-1}}=\alpha_0+\alpha_1\epsilon^2_{t-1}$$
Why in this model we do not have residual as well? Example:
$$\sigma^2_t=E{\epsilon_t^2|I_{t-1}}=\alpha_0+\alpha_1\epsilon^2_{t-1}+u_t$$ |
Yes. In fact one way to test if the CAPM is true is to apply the Gibbons-Ross-Shanken or GRS test.
https://quant.stackexchange.com/questions/35781/how-to-interpret-the-grs-f-test-values
How does it work? This is a statistical test of whether all alphas are equal to zero. If they are not, we conclude that the CAPM... |
I got the same problem. Does anyone have a answer as why this is? Thanks. |
I got the same problem.
Also, when I call for the ZeroRate method on the reference date of the curve I get a different rate from the one that I created the curve object with it.
Does anyone have a answer as why this is? Thanks. |
I got the same problem.
Also, when I call for the ZeroRate method on the reference date of the curve I get a different rate from the one that I created the curve object with it.
For example:
```python
rates = [0.015677430225945563, 0.015677430225945563, 0.011840632376029895]
date = [Date(8,12,2021), Date(3,1,20... |
I got the same problem.
Also, when I call for the ZeroRate method on the reference date of the curve I get a different rate from the one that I created the curve object with it.
For example:
```python
rates = [0.015677430225945563, 0.015677430225945563, 0.011840632376029895]
date = [Date(8,12,2021), Date(3,1,20... |
I got the same problem.
Also, when I call for the ZeroRate method on the reference date of the curve I get a different rate from the one that I created the curve object with it.
For example:
```python
ql.Settings.instance().evaluationDate = ql.Date(8, 12, 2021)
rates = [0.015677430225945563, 0.015677430225945... |
I suspect you want to use a weighted norm: https://math.stackexchange.com/questions/394237/understanding-weighted-inner-product-and-weighted-norms
Generally, your volatility surface (or volatility cube if you include skews), can be considered an element of the set of all possible volatility surface parametrisations.... |
I have trouble to understand what implies "conditional heteroskedasticity" term in (G)ARCH models. The residual $\epsilon$ is stationary, hence homoskedastic (unconditional variance is constant). Then, if we assume that residual has (G)ARCH structure, do we assume that it becomes heterskedastic when we condition w.r.t.... |
What implies "conditional heteroskedasticity" in (G)ARCH? |
Yes. In fact one way to test if the CAPM is true is to apply the Gibbons-Ross-Shanken or GRS test.
See for example https://quant.stackexchange.com/questions/35781/how-to-interpret-the-grs-f-test-values
How does GRS work? This is a statistical test of whether all alphas are equal to zero. If they are not, we concl... |
I am reading Prof. Marcos Lopez de Prado's book Advances in Financial Machine Learning, and have a question on feature engineering.
On page 88, he says:
In practice, I suggest you experiment with the following transformation of your features: First, compute a cumulative sum of the time series. This guarantees tha... |
I am trying to understand geometric Brownian motion as it relates to the present discounted value of future dividend payments.
I am supposing that a company has a revenue stream $f(t)$. This is just $profits-expenditures$ at time $t$.
The revenue stream is upwards sloping, one reason being that the company usual... |
From the perspective of a company, when is the right time to start paying dividends? |
Yes. In fact one way to test if the CAPM is true is to apply the Gibbons-Ross-Shanken or GRS test.
See for example https://quant.stackexchange.com/questions/35781/how-to-interpret-the-grs-f-test-values and the answer by M. Gunn
How does GRS work? This is a statistical test of whether all alphas are equal to zero.... |
I am working on a Quiz that asks why the 6 month forward volatiliy could be greater than the 6 month current volatility.
I would first like to clarify if I understand the Question correctly. When we talk about the 6 month current volatiliy, which timeline do we look at? Is the current 6 month volatility the volatili... |
I'm working on a program that find summary data given all trades during a day.
However, for some reason, if I sum all the volume during market hour (9:30 -> 16:00, New York SE time), the total volume is noticeably less than the official values I can find (in this page for example: https://www.nasdaq.com/market-activit... |
Does the random walk theory assume a simple symmetric random walk? In other words: does the random walk theory assume that the price rises as often as it falls? I've been looking for an answer for a while but I'm still not sure. The question is very simple, but I think that it will then be easier for other people to fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.