instruction stringlengths 15 26.1k |
|---|
In the search of yield holding HY bonds in EM markets seems to be a theme that gains traction. In order to calculate the P&L correctly I just wanted to see I have it correct!
Assumption is
- Borrow cash (at internal cost)
- Sell USD, buy Local ccy at X Forward Points (negative or positive depends on the curve sh... |
Suppose there are only two risky assets and we want to optimize our portfolio. Constraints are that we have a minimum return $\overline{r}$ and we can only invest $w_1 + w_2 = 1$.
Is it possible that in this setting the constraint $w_1 \times r_1 + (1-w_1) \times r_2 = \overline{r}$ always solves the problem or am I... |
Nelson-Siegel model has the following form
$y(\tau)={}_{1}X+{}_{2}X\frac{1-e^{-\lambda{\tau}}}{{\lambda{\tau}}}+{}_{3}X\left ( \frac{1-e^{-\lambda{\tau}}}{{\lambda{\tau}}}-e^{-\lambda{\tau}} \right)$
We denote factor loadings for each parameters as $1$, $\frac{1-e^{-\lambda{\tau}}}{{\lambda{\tau}}}$, $\left ( \f... |
Taken from the book:\
$\Delta{S}$ - Change in spot price, S, during a period of hedge.\
$\Delta{F}$ - Change in futures price, F, during a period of hedge.\
If we assume that the relationship between $\Delta{S}$ and $\Delta{F}$ is approximately linear, we can write:
$\Delta{S} = a + b\Delta{F} + e$
where a and b a... |
Taken from the book:\
$\Delta{S}$ - Change in spot price, S, during a period of hedge.\
$\Delta{F}$ - Change in futures price, F, during a period of hedge.\
If we assume that the relationship between $\Delta{S}$ and $\Delta{F}$ is approximately linear, we can write:
$\Delta{S} = a + b\Delta{F} + e$
where a and b a... |
ERROR: type should be string, got "https://quant.stackexchange.com/questions/45976/options-pricing-and-mean-reversion\r\n\r\nIn the question above, in the accepted answer, the writer claims: \r\n\r\n\"For instance with a 100% mean reversion a 20% historical annual standard deviation would translate into approximately 30% instantaneous volatility.\"\r\n\r\nI understand that the instantaneous volatility should be higher since annual changes will be less due to mean-reversion. But how did they get 20% annual std dev is approximately 30% instantaneous std dev?\r\n\r\nIs there a formula I am missing?\r\n\r\nThanks in advance." |
This is a common issue in crypto and there are a few factors that you should consider. Although there could be a slight difference in price across the exchanges any price gap will be filled by arbitragers. In doing so, there will be a slight delay, a cost (exchanges have different trading fees) and overall liquidity of... |
The Nelson-Siegel model has the following form
$y(\tau)={}_{1}X+{}_{2}X\frac{1-e^{-\lambda{\tau}}}{{\lambda{\tau}}}+{}_{3}X\left ( \frac{1-e^{-\lambda{\tau}}}{{\lambda{\tau}}}-e^{-\lambda{\tau}} \right)$
We denote factor loadings for each parameters as $1$, $\frac{1-e^{-\lambda{\tau}}}{{\lambda{\tau}}}$, $\left ... |
I think it's best if we go through the various terms that appear in your question and explain them one-by-one.
**Derivative price**: intuitively, a derivative price is what it costs to "create it".
**Stock forward price:** If somebody asks me to sell them an equity forward (i.e. to deliver a stock at some futur... |
(I know there are existing questions on this topic, but none seem to be for commercial re-distribution use, so please keep this question active.)
It seems there are many websites offering API for stock market data.
I want to create a company so that I can sell my data analysis to other people.
Which website has re... |
API for stock price data for commercial re-distribution? |
When does a closed form analytic solution exist/not exist for the value of an option given by the BS eqn? |
I am looking for tax-analysis for several ETFs and Mutual Funds. Morningstar used to have a tool that would show estimates of pretax returns and tax-adjusted returns for many funds (depending on their turnover), see screenshot below:
[![enter image description here][1]][1]
[1]: https://i.stack.imgur.com/BFOiK... |
I need to analyze the Consolidated Schedule of Investment Tables found in the 10-Q of several companies. For example, from the following 10-Q report: https://www.sec.gov/Archives/edgar/data/1655888/000095017021000801/orcci_10q_2021-06-30.htm#soi
I would need the tables from every page that has "Consolidated Schedule... |
How do I Download Consolidated Schedule of Investment Tables from a Company's 10-Q? |
**This post is Quant Stack Exchange's master list of data sources.**
Please append your links to other data sources to the list below. Note that a source listed under a certain topic may provide extensive data on other types of instruments as well.
## Economic Data ##
See [What are the most useful sources of ... |
I am trying to determine the parameters for the Nelson Siegel and Nelson Siegel Svensson model and try to solve
SE=$\sum_{i=1}^{n_{i}}(y_{t_{i}}-\hat{y}_{t_{i}}(X))^{2}$
where $y_{t_{i}}$ denotes the actual yield for the period $i$ and $\hat{y}_{t_{i}}$ denotes approximated value for period $i$.
How am I supp... |
I was re-reading Lorenzo Bergomi's paper [Smile Dynamics I](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1493294). On the first page, he makes the point that it is necessary for a model to match the vanilla smile observed in markets *in order to incorporate correctly the price of a Vega hedge* (e.g. for exotics)... |
We are currently working on the "standard" binomial option pricing. If the market agrees that a specific stock will raise by, let's say, 90% next period. At first glance, this seems to have no impact on call option pricing on the stock, because it does not directly enter the valuation.
Is it because, we are assuming... |
How can I quantify the impact of a change in interest rates on bond prices?
I know that in a classical textbook setting the answer would be to compute the modified duration of the bond and, to account for large movement, to add also a convexity term. However, in real life, the term structure of interest rates it is n... |
I know that carry is an important factor to value currency. However, it is not obvious to me how you can actually earn the carry return, and if as a pure currency investor, should not you be interested only in the spot return.
For example, if country A has a 3m interest rate of 2% and country B has a 3m interest rate... |
Can you actually earn the carry return in FX? |
Among other things, Bloomberg FXFM function allows you to check risk neutral probabilities for currencies. For instance, you can check the probability of the euro depreciating 5% vs the dollar in 6 months. However, these are risk neutral probabilities, not real probabilities. From my understanding of financial theory, ... |
Bloomberg FXFM: what is the point of knowing risk neutral probabilities? |
Check the code below for basic logic. You may need to improvise it (may be).Just a quick and dirty work. In case it works, reshare. Enjoy !!
How PID controller works - a crash (fast fast) course ?
- PID controller works on Error to minimise error !! Wow, that is mouthful. Error(e) = SetPoint (SP) - ProcessValue (PV... |
Is my time horizon for GARCH(1,1)/ARCH(1)/EGARCH(1,1) reasonable? |
Commonly, stochastic control is the basis for optimal trading (either in execution or market-making). Has any research been done (or why not, if none) as to [PID controllers][1] for these applications?
[1]: https://en.wikipedia.org/wiki/PID_controller |
Is there any relevant paper/source I can look at for pricing TRS on convertible bond? Specially, how should I evaluate the asset return leg? Let's say I already have an convertible bond pricer that can calcualte the m2m value of the convertible bond $V_c(0)$, how should I leverage this pricer to calculate the asset ret... |
Is there any relevant paper/source I can look at for pricing TRS on convertible bond? Specially, how should I evaluate the asset return leg? Let's say I already have an convertible bond pricer that can calcualte the m2m value of the convertible bond $V_c(0)$, how should I leverage this pricer to calculate the asset ret... |
Is there any relevant paper/source I can look at for pricing TRS on convertible bond? Specially, how should I evaluate the asset return leg? Let's say I already have an convertible bond pricer that can calcualte the m2m value of the convertible bond $V_c(0)$, how should I leverage this pricer to calculate the asset ret... |
The question is assuming a Fama-French model, how you calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_M (r_M... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
I am trying to work out how to approach a machine learning problem of 'learning' an optimal liquidation time/threshold, under some conditions, from historic data. The idea is a trader armed with this model will choose the right time to close an open position, to maximise his PnL over a large number of orders.
Consid... |
Is this an optimal stopping problem? |
I am trying to work out how to approach a machine learning problem of 'learning' an optimal liquidation time/threshold, under some conditions, from historic data. The idea is a trader armed with this model will choose the right time to close an open position, to maximise his PnL over a large number of orders.
Consid... |
When doing linear regression to figure out the hedge ratio for the cointegration relationship what does it mean if the residuals are stationary but end up looking like the price time series of y? How should I interpret this and should I still trade this relationship? |
I am trying to work out how to approach a machine learning problem of 'learning' an optimal liquidation time/threshold, under some conditions, from historic data. The idea is a trader armed with this model will choose the right time to close an open position, to maximise his PnL over a large number of orders.
Consid... |
I have tried searching for ways to use the risk neutral evaluation to price an asian option with floating strike using the continuous geometric average, but have found almost no literature.
Can someone point me in the right direction? |
I have been thinking about structuring a trade to get exposure to the forward volatility. For example, let's say SPY ATM 1 month IV is 20 vol and SPY ATM 2 month volatility is 30 vol. Then the forward vol would be SQRT(30^2 * 2 - 20^2 * 1) or approx 37.5 vol. I want vega exposure to this forward vol. All I can think of... |
How to structure a trade using vanilla equity options to get vega exposure to forward volatility? |
The question is assuming a Fama-French model, how should we calculate the expected return of an asset? To do this according to arbitrage pricing theory requires the risk premiums of the 3 factors, but how is this calculated?
According to Investments by Bodie, Kane, Marcus, the model is
$$
r- r_f = \alpha+ \beta_... |
What are different distribution models typically used for generating orderbooks under high volatility, illiquidity, and multiple exchanges with different fees? |
I was studying Markowitz portfolio optimization and had a question on the practicality of this in the setting of high frequency trading. Optimization seems like a cumbersome process. But at each tick the covariance matrix is updated only by a rank 1 update
$$\Sigma_{T+1} = \frac{p_{now} \cdot p^T_{now} + T \cdot \S... |
How can I use the risk neutral evaluation to price an asian option with floating strike using the continuous geometric average? I have tried searching for ways to do it but have found almost nothing. |
I want to bootstrap an (implied volatility) caplet/floorlet surface from quoted cap/floor volatilities on a fixed strike grid. I'm thinking about either using a left-continuous or a linear interpolation in expiry dimension. If one just looks at the smiles of each quoted cap expiry left-continuous (2nd picture) seems to... |
Which expiry interpolation method for caplet/floorlet surfaces? |
I want to bootstrap an (implied volatility) caplet/floorlet surface from quoted cap/floor volatilities on a fixed strike grid. I'm thinking about either using a left-continuous or a linear interpolation in expiry dimension. If one just looks at the smiles of each quoted cap expiry left-continuous (1st picture) seems to... |
How can I use the risk neutral evaluation to price an asian option with floating strike using the continuous geometric average? I have tried searching for ways to do it but have found almost nothing.
**Edit:**
I am now trying to derive the results for the put option through risk neutral pricing and get stuck at ... |
The CAPM and other models have been expanded to include the impact of corporate/personal taxes. However, what if these tax rates differ for an investor pool holding the same equity stake (which by definition, has the same value for all), how would this asset be priced? In my opinion, the return cannot compensate both i... |
If investors face different tax rates, how can an asset pricing model be built so that it satisfies the incentive constraints of both investors? |
Say I want to construct a portfolio consisting of different trading strategies (but trades same pool of assets) with cross-sectional varying volatility. It makes me feel uncomfortable since the one with greater volatility always gets less weight throughout the whole period of sample which makes the weights not fully d... |
Is It necessary to make each strategy's volatility almost equal before solving weight when constructing a risk parity portfolio? Or use other model? |
I am currently studying local volatility for equity models and I am trying to understand some limitations of the model:
1.
> under local volatility, the forward smile gets flatter and higher.
Lorenzo Bergomi uses an approximation in this book to find out that:
[![Stochastic Volatility Modelling, Lorenzo Ber... |
How can I use the risk neutral evaluation to price an asian option with floating strike using the continuous geometric average? I have tried searching for ways to do it but have found almost nothing.
|
I'm using the QuantLib library in Python to generate a payment schedule and cashflows for a fixed-rate bond. I added a holiday to the calendar and used the ql.Unadjusted convention in the ql.Schedule() function. However, I noticed that the cashflow dates are shifting to the next business day after the payment dates. Fo... |
I'm using the QuantLib library in Python to generate a payment schedule and cashflows for a fixed-rate bond. I added a holiday to the calendar and used the ql.Unadjusted convention in the ql.Schedule() function. However, I noticed that the cashflow dates are shifting to the next business day after the payment dates. Fo... |
Quantlib: how to construct CDOR volatility cube? Getting error when using SwapRateHelper |
Too long for a comment. I find Bergomi's sentence vague, so here follows an equally imprecise attempt at an answer.
A claim that can be statically replicated in a model-free manner is in fact immune to volatility dynamics, agree? You could even argue a vega hedge is superfluous as the static hedge already hedges all... |
Apologies if this is not the correct forum for this question.
Access to high frequency data (trade data, quote data, limit order book updates, etc.) is currently relatively easy through various public or minimally-private endpoints (Crypto Exchange APIs, Broker APIs, etc).
It seems like it would be informative to... |
Is there a commonly accepted way to leverage the granularity of high frequency data while working within the constraints of lower frequencies? |
A Noob question. I'm trying to get my head wrapped around this but getting lost, please guide.
From the entry and exit prices of an european option, how do i attribute the P&L to various greeks (delta,gamma,theta and vega)? For ex: if my entry price for Strike K is $100 and if my exit is $125. I have a pnl = $25.
... |
A Noob question. I'm trying to get my head wrapped around this but getting lost, please guide.
From the entry and exit prices of an european option, how do i attribute the P&L to various greeks (delta,gamma,theta and vega)? For ex: if my entry price for Strike K is \$100 and if my exit is \$125. I have a pnl = \$25.... |
I am studying a course and I am a bit confused on how to find the a bonds $\sigma$. My course mentions the following:
Once calculated the expected returns on the bond $\mathrm{E}(r_d)$, we can
calculate the debt beta:
$\mathrm{E}(r_d) = r_f + \beta_d(\mathrm{E}(r_M) − r_f))$
$\beta_d = \mathrm{E}(r_d − r_f)/\ma... |
I am studying a course and I am a bit confused on how to find the a bonds $\sigma$. My course mentions the following:
Once calculated the expected returns on the bond $\mathrm{E}(r_d)$, we can
calculate the debt beta:
$\mathrm{E}(r_d) = r_f + \beta_d(\mathrm{E}(r_M) − r_f))$
$\beta_d = \mathrm{E}(r_d − r_f)/\ma... |
Suppose that the fair value of your option is a function of 3 inputs: the price of the underlying, the implied volaility, and time. You want to understand why the function value changed from time $T_0$ to time $T_1$. It doesn't matter whether you unwound the investment, or just re-marked to market at time $T_1$.
Tho... |
Suppose that the fair value of your option is a function of 3 inputs: the price of the underlying, the implied volaility, and time. You want to understand why the function value changed from time $T_0$ to time $T_1$. It doesn't matter whether you unwound the investment, or just re-marked to market at time $T_1$.
Tho... |
Suppose that the fair value of your option is a function of 3 inputs: the price of the underlying, the implied volaility, and time. You want to understand why the function value changed from time $T_0$ to time $T_1$. It doesn't matter whether you unwound the investment, or just re-marked to market at time $T_1$.
Tho... |
Suppose that the fair value of your option is a function $f$ of 3 inputs: the price of the underlying, the implied volaility, and time. You want to understand why the function value changed from time $T_0$ to time $T_1$. It doesn't matter whether you unwound the investment, or just re-marked to market at time $T_1$.
... |
Got this question from my homework. I think if past returns are keep raising then current return should also be positive, but the answer is it's not related to past returns, why? |
f the price of a stock follows a geometric Brownian motion, then does stock return depends on past stock returns? |
Got this question from my homework. I think if past returns are keep raising then current return should also be positive, but the answer is it's not related to past returns, why?
I tried to ask chatgpt and it gave a function of r = μ + σ^2/2 but it couldn't explain why μ is not related to past returns. I think μ can ... |
If we have $$S_t = S_0 e^{(r-\frac{1}{2} \sigma ^2) +\sigma W_t}$$ and a discrete geometric average of stock prices $$G_n = (\prod_{i=1}^{n} S_{t_i})^{\frac{1}{n}} $$ where the monitoring points are spaced equally as $t_i=i \frac{T}{N}$, where $0 \leq i \leq N$, i.e. $0 \leq t_i \leq T$
How can I find the distributi... |
You can extract low frequency sigals from high frequency data and apply them to low frequency strategies. Of course, such extractions are essentially data compressions and there usually will be a loss of information. However, most of the time you actually would want this loss of information, because for your low freque... |
Got this question from my homework. I think if past returns are keep raising then current return should also be positive, but the answer is it's not related to past returns, why?
I tried to ask chatgpt and it gave a function of $r = μ + σ^2/2$ but it couldn't explain why μ is not related to past returns. I think $μ$ ... |
If the price of a stock follows a Geometric Brownian motion, then does stock return depends on past stock returns? |
I am reading paper "[An analysis of pricing methods for baskets options][1]".
Unfortunatly, I can not find the working paper "Beisser, J. (1999): Another Way to Value Basket Options, Working paper, Johannes Gutenberg-Universität Mainz" in order to understand how to calculate adjusted forwards $\tilde{F}_i^T$ in the... |
You can extract low frequency sigals from high frequency data and apply them to low frequency strategies. Of course, such extractions are essentially data compressions and there usually will be a loss of information. However, most of the time you actually would want this loss of information, because for your low freque... |
You can extract low frequency sigals from high frequency data and apply them to low frequency strategies. Of course, such extractions are essentially data compressions and there usually will be a loss of information. However, most of the time you actually would want this loss of information, because for your low freque... |
My aim to get as close as possible to a "mini" deep in the money options contract. But mini contracts aren't generally available and buying regular 100 packs of high priced stocks is ridiculously expensive for me. Is there some way to do this using spreads? |
Is there a strategy to increase the granularity of a deep in the money options contract? |
I am reading paper "[An analysis of pricing methods for baskets options][1]".
Unfortunatly, I can not find the working paper "Beisser, J. (1999): Another Way to Value Basket Options, Working paper, Johannes Gutenberg-Universität Mainz" in order to understand how to calculate adjusted forwards $\tilde{F}_i^T$ in the... |
Assume a timeseries of returns for which you calculate a CAGR.
How do you determine the contribution of any subset of monthly returns to the overall CAGR? |
Assume a timeseries of returns for which you calculate a CAGR.
How do you determine the **proportional** contribution of any subset of monthly returns to the overall CAGR? |
Assume a timeseries of returns for which you calculate a CAGR.
How do you determine the **proportional** contribution of any subset of monthly returns to the overall CAGR like below?
[![][1]][1]
[1]: https://i.stack.imgur.com/GK4Q1.png |
I am setting up different algorithmic trading strategies with varying performance characteristics. I am new to this. The strategies vary greatly with their aggressiveness. I would like to find a way to look their
Currently, I am mostly looking at the following:
- Annual return
- Maximum drawdown
- Sharpe
Wh... |
How to compare algorithmic trading strategy risk/reward performance? |
Imagine I’m a European corporate thinking of issuing a bond in either GBP or EUR. I have the spread above gilts for a GBP transaction and a spread above mid swaps for EUR. How do I see which one would be more ‘cheaper’? I know I need to swap the GBP one to a EUR equivalent but how do I do that step by step? |
A noob question. I'm trying to get my head wrapped around this but getting lost, please guide.
From the entry and exit prices of an European option, how do I attribute the P&L to various greeks (delta, gamma, theta and vega)? For ex: if my entry price for Strike K is \$100 and if my exit is \$125. I have a P&L = \$2... |
I would like to know why on Deribit the margin requirements for selling call options is so much higher than selling futures.
It’s only about liquidity or there are other reasons?
I guess there are additional calculations on option risk (IV, Gamma… ?)
|
I am not sure I understand the question fully. Do you mean that you can choose between issuing a bond in GBP and one in EUR, and you want to calculate which is cheaper?
**One way to think about it is to price a xccy (cross-currency) swap.
This way you can calculate that, for a certain tenor and certain characterist... |
Let
$$
\begin{align*}
dY_{t} &= (r - \frac{1}{2} V_{t}) dt + \sqrt{V_{t}}dW_{t}\\
dV_{t} &= \kappa(\theta - V_{t}) dt + \rho \sigma \sqrt{V_{t}}dW_{t} + \sigma\sqrt{1-\rho^{2}}\sqrt{V_{t}}dB_{t}
\end{align*}
$$
where $W$ and $B$ are two Brownian motions correlated by $\rho$. Due to the affinity of the log-transf... |
Let
$$
\begin{align*}
dY_{t} &= \left(r - \frac{1}{2} V_{t}\right) dt + \sqrt{V_{t}}dW_{t}\\
dV_{t} &= \kappa(\theta - V_{t}) dt + \rho \sigma \sqrt{V_{t}}dW_{t} + \sigma\sqrt{1-\rho^{2}}\sqrt{V_{t}}dB_{t}
\end{align*}
$$
where $W$ and $B$ are two Brownian motions correlated by $\rho$. Due to the affinity of the... |
Assume I need to hedge some credit risk. I can buy a bond or cds for it. I see the second option is almost free while the first cost as much as face. Why would people use bonds at all for hedging then? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.