instruction
stringlengths
15
26.1k
Can someone explain me where $\frac12$ came from in the expression $\frac12 \omega'\Sigma^{-1}\omega$? That is the expression to be minimized io order to get the minimal variance portfolio (with also some constraints). $\omega$ is the weights vector and $\Sigma$ is the covariance matrix.
Why is there a $\frac{1}{2}$ in front of the portfolio variance formula?
Can someone explain me where $\frac12$ came from in the expression $\frac{1}{2} \omega'\Sigma \omega$? That is the expression to be minimized io order to get the minimal variance portfolio (with also some constraints). $\omega$ is the weights vector and $\Sigma$ is the covariance matrix.
I understand that the specification for say, a 10-year Treasury note futures contract is for a face value of $100,000 with a 6% coupon. However, the eligible securities that may be delivered span across different maturities and may be of different coupons. I also understand that a conversion factor must be applied t...
What does the conversion factor for Treasury bond futures do in relation to the 6% coupon specification for the contract?
My lecturer showed two equations to describe the relationship between inflation, nominal and real interest rates, denoted as $I, RN, RR$, respectively. Then we have the following equations $$ 1+ RR_{1-0} = \frac{1+NR_{1-0}}{1+I_{1-0}} \tag{1} $$ $$ RR_{1-0} \approx NR_{1-0} - I_{1-0} \tag{2} $$ My underst...
What are the differences between the two equations relating inflation, real interest rates and nominal interest rates?
My lecturer showed two equations to describe the relationship between inflation, nominal and real interest rates, denoted as $I, RN, RR$, respectively. Then we have the following equations $$ 1+ RR_{1-0} = \frac{1+NR_{1-0}}{1+I_{1-0}} \tag{1} $$ $$ RR_{1-0} \approx NR_{1-0} - I_{1-0} \tag{2} $$ My underst...
Quadratic programming, a type of convex optimization, is used to solve the minimum variance portfolio weights $$w = \arg \min_w \sigma_P^2 = w^\top \Sigma w$$ because the objective function coincides with quadratic programming, which takes the form: $$x = \arg \min_x x^\top A x$$ The maximum skewness and maximum ...
Which copula captures the dependence structure of empirical asset returns better? the $t$-copula, which has symmetric tail dependence, or the Clayton copula, which has asymmetric tail dependence, and why? I've seen conflicting advice. If they're both competitive to one another, how to mix or generate a compromise be...
Does the $t$-copula or Clayton copula capture the dependence structure of empirical returns better?
Typically the formula to calculate the `default probability` from `corporate Bond` looks like $\frac{S}{1-R}$ where $S$ is the spread of `Corporate bond yield` over the `RFR` and $R$ is recovery rate. I failed to understand the intuition behind this formula. Why this formula refers to the `default probability`...
<head> <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"> </script> </head> <body> In reviewing Black and Scholes original derivation of their partial differential equation for pricing a call option (Journal of Political Economy, Vol. 81, No. 3, 1...
Good day. I am currently writing a term paper on the creation of trading algorithms in the foreign exchange market (by an algorithm I mean the one that follows the alpha model, for example, signals from some kind of technical analysis indicator). And I wondered, what indicator can be considered reliable when assessing ...
I have tried to find an answer to this question but have come up with nothing. So, it is my understanding that to find the duration of a futures contract (assuming no switch risk), all you need to do is find the duration of the CTD in the forward space (by using the delivery date as the settlement date, and by usin...
I'm interested in solving the following questions but I am confused on the second part because I do not know how to define/calculate the interest per "unit time", which I'm guessing is informal terminology for "dt". I've included my attempt after the picture. [![enter image description here][1]][1] [1]: https:...
I'm interested in solving the following questions but I am confused on the second part because I do not know how to define/calculate the interest per "unit time", which I'm guessing is informal terminology for "dt". I've included my attempt after the picture. [![enter image description here][1]][1] [1]: https:...
I have the following portfolio cost function to maximise: $$ w^T\mu-\frac{1}{2}\gamma w^T\Sigma w+\frac{1}{6}\gamma^2 w^TM_3(w\otimes w), $$ which considers the co-skewness ($M_3$ tensor), $γ$ is the risk aversion (a constant), $w$ is the weigh vector which is the quantity to estimate, $\Sigma$ is the covarianc...
Say the example market return is 12% for the year, I managed to develop a 3-4 Sharpe strategy that makes 6% a year. If I can borrow twice the size of my original fund at 0% interest, I can make more than the market return while still having less risk. Theoretically, it can also mean I should borrow as much money as...
What is stopping me from using high leverage on high Sharpe strategies?
The closed-form solution of Black Scholes Dynamics $dS_t=S_t(\mu dt +\sigma dW_t$) is $$S_t=S_0 e^{(\mu -\sigma ^2/2) t+\sigma dW_t}.$$ The $-\sigma^2/2$ term is quite similar to the volatility drag when transforming an arithmetic return to a geometric return. Are there any relationship between the two?
Is there a relation between the so-called volatility drag and the sigma term in Black-Scholes' model?
For the very simple reason that risk premium is a premium for a good reason that it may kills you before you get the profit? Finding the optimal asset allocation to balance the need of money and safety is a substantial academics field, some academics Indeed suggest leverage at young age.
Not sure if "3-4 Sharpe" indicates the value of the Sharpe ratio you're earning since such magnitude is meaningless without some benchmark to compare against, due to it being a purely relative measure. It isn't hard to make positive returns, regardless of strategy, in a year that is providing 12% on the market. Are ...
Not sure if "3-4 Sharpe" indicates the value of the Sharpe ratio you're earning since such magnitude is meaningless without some benchmark to compare against, due to it being a purely relative measure. It isn't hard to make positive returns, regardless of strategy, in a year that is providing 12% on the market. Are ...
Not sure if "3-4 Sharpe" indicates the value of the Sharpe ratio you're earning since such magnitude is meaningless without some benchmark to compare against, due to it being a purely relative measure. It isn't hard to make positive returns, regardless of strategy, in a year that is providing 12% on the market. Are ...
Not sure if "3-4 Sharpe" indicates the value of the Sharpe ratio you're earning since such magnitude is meaningless without some benchmark to compare against, due to it being a purely relative measure. It isn't hard to make positive returns, regardless of strategy, in a year that is providing 12% on the market. Are ...
*"what are any other reasons why I shouldn't borrow up to my (risk, interest) limits?"* The peso problem. Nobody is going to lend you money at 0%. Best-case scenario for an institutional investor is PB funding rate + spread, with limits on your leverage depending on the asset class.
Not sure if "3-4 Sharpe" indicates the value of the Sharpe ratio you're earning since such magnitude is meaningless without some benchmark to compare against, due to it being a purely relative measure. Anyway, we can talk about 6 things that should stop you from using high leverage: 1. Surprise bear market 2. Asy...
There is an explanation of `Risk Neutral Default Probability` using a Firm's Equity price here - https://www.mathworks.com/help/risk/default-probability-using-the-merton-model-for-structural-credit-risk.html. However, there is an equation which states that $\sigma_E = \frac{A}{E} N \left(d_1\right) \sigma_A$ ...
There is an explanation of `Risk Neutral Default Probability` using a Firm's Equity price here - https://www.mathworks.com/help/risk/default-probability-using-the-merton-model-for-structural-credit-risk.html. However, there is an equation which states that $\sigma_E = \frac{A}{E} N \left(d_1\right) \sigma_A$ ...
what does it mean by balance intensive? I found people mean it different things. People say bonds and repos are balance sheet intensive. and some say swaps are balance sheet intensive and some say not... My understanding an instrument is balance sheet intensive means that the initial capital you have to put in...
As regards a commentary made by another user, the Sharp Ratio is not a standalone measure because it requires the selection of a benchmark rate of return. While it is common practice in financial economics to use some proxy for the risk-free rate as a benchmark, it is worth nothing that financial economists are usually...
What does it mean for an instrument to be "balance sheet intensive"? I found people mean it different things. People say bonds and repos are balance sheet intensive. Some say swaps are balance sheet intensive and some say not... My understanding is that "_an instrument is balance sheet intensive_" means that the...
I'm interested in solving the following questions but I am confused on the second part because I do not know how to define/calculate the interest per "unit time", which I'm guessing is informal terminology for "dt". I've included my attempt after the picture. [![enter image description here][1]][1] [1]: https:...
*"what are any other reasons why I shouldn't borrow up to my (risk, interest) limits?"* The peso problem. Nobody is going to lend you money at 0%. Best-case scenario for an institutional investor is PB funding rate + spread, with limits on your leverage depending on the asset class. EDIT: perhaps should have ...
Say the example market return is 12% for the year, I managed to develop a 3-4 Sharpe strategy that makes 6% a year. If I can borrow twice the size of my original fund at 0% interest, I can make more than the market return while still having less risk. Theoretically, it can also mean I should borrow as much money as...
I posted a question last year trying to understand what a "Charge" is: https://quant.stackexchange.com/questions/46467/what-exactly-does-after-tax-charge-mean But I came back to this GE story and realized I still don't quite understand the full picture. What I understand is that last year GE finally decided to c...
Is there any relationship between GEs after-tax charge and their reserve deficit?
I posted a question last year trying to understand what a "Charge" is: https://quant.stackexchange.com/questions/46467/what-exactly-does-after-tax-charge-mean But I came back to this GE story and realized I still don't quite understand the full picture. What I understand is that last year GE finally decided to c...
The answers to both your questions can already be found in [Duration. Floating rate note][1], [Duration of a floating rate bond][2], or the notes you linked to, but I'll write out the details for a non-replicating portfolio argument. The value of a floating rate bond (floater) will always be equal to par assuming th...
Under Basel III, the minimum capital adequacy ratio that banks must maintain is 8 percent. However, in order to an effective resolution the bank muss hold not only to its capital, but also eligible liabilities, which together with minimum capital requirements are known as MREL. However, it is not very clear what define...
What are eligible liabilities?
Let say, I have 2 Stochastic processes - $dS_1 = \left( r - q_1 \right)S_1 dt + \sigma_1 S_1 dW_1$ $dS_2 = \left( r - q_2 \right)S_2 dt + \sigma_2 S_2 dW_2$ The Correlation between 2 processes is $\rho$ Now I define 2 new processes as - $x_1 = \sigma_1 logS_2 + \sigma_2 logS_1$ $x_2 = \sigma_1 logS_2...
Let say, I have 2 stochastic processes: $$\begin{align} dS_1 &= \left( r - q_1 \right)S_1 dt + \sigma_1 S_1 dW_1 \\ dS_2 &= \left( r - q_2 \right)S_2 dt + \sigma_2 S_2 dW_2 \end{align}$$ The correlation between these 2 processes is $\rho$. Now I define 2 new processes as: $$\begin{align} x_1 = \sigma_1 \log S_2...
[The Wikipedia article on quants](https://en.m.wikipedia.org/wiki/Quantitative_analyst) mentions discrete mathematics as a possible piece of their mathematical background. Are there good examples of problems within quantitative finance that are heavily combinatorial or discrete in nature? Bonus points for problems ...
Let say, I have 2 stochastic processes: $$\begin{align} dS_1 &= \left( r - q_1 \right)S_1 dt + \sigma_1 S_1 dW_1 \\ dS_2 &= \left( r - q_2 \right)S_2 dt + \sigma_2 S_2 dW_2 \end{align}$$ The correlation between these 2 processes is $\rho$. Now I define 2 new processes as: $$\begin{align} x_1 = \sigma_1 \log S_2...
I understand that, in Static Hedging, you don't have to keep rebalancing the offsetting position(s) while in Dynamic Hedging you have to constantly keep re-adjusting it. What I'm not clear on is when is each one used? Is it that Static Hedging can only be used for linear payoffs while Dynamic Hedging is for non-linear ...
Static vs Dynamic Hedging: when is each one used?
So I am creating a trading algorithm thats uses cointegration, for a pairs trading strategy. Imagine there is stock A for 100 dollars and stock B for 25 dollars. My questions is when caulcating the spread, should I calculate the spread of the prices which would be $75, or should I use the A:B ratio of 4. Does it matter...
Should I calculate a spread using stock prices or the ratio?
Is there any relationship between General Electric's after-tax charge and their reserve deficit?
Not sure if "3-4 Sharpe" indicates the value of the Sharpe ratio you're earning since such magnitude is meaningless without some benchmark to compare against, due to it being a purely relative measure. Anyway, we can talk about 6 things that should stop you from using high leverage: 1. Surprise bear market 2. Asy...
I setup a HW 1F model using Monte Carlo simulation with constant mean reversion and volatility factors. When I calibrate to a series of swaptions ( 1x4yr;2x3yr;3x2yr;4x1yr),the last three swaption prices match the market quite well, but the price of first (1x4yr) swaption from the MC Simulation is much higher than mark...
I was looking through book catalogues and databases when I noticed something: most books about direct access "electronic day trading" for retail traders were published between 1998-2002, with little afterwards. Examples of the more popular titles are: * The Electronic Day Trader by Marc Friedfertig, George West — pu...
What happened to direct access "electronic day trading" after 1998-2002?
*"What is the reason? Was that style of trading just a fad"* Doesn't seem surprising that day trading was more popular during a bull than a bear market. I'd guess you'd see the same effect cross-country (e.g. China 2014/2015). Also worth noting that volumes in NDX had peaked in 1Q01 and declined consistently until ~...
I posted a question last year trying to understand what a "Charge" is: https://quant.stackexchange.com/questions/46467/what-exactly-does-after-tax-charge-mean But I came back to this GE story and realized I still don't quite understand the full picture. What I understand is that last year GE finally decided to c...
Should the sharpe ratio always change with number of assets?
I am really confused by how were fees of leveraged etf like SPUU calculated. 0.64% is quite costly for a index based ETF. I wonder is the cost a pure cost or does it include the cost of interest? The fact sheet seems did not clarify the cost well, any good way to analyze the source of cost of these ETF?
What does the fee of leveraged ETF include?
Given one stock, what value would there be in **clustering** the individual sample observations within that stock's historical prices series, or its return series? is univariate clustering done in finance? Clustering would allow the formation of a **distance matrix** that shows how far pairs of observations within t...
If you are looking for *exact* volatility and variance swap market prices then as others have said you need to go to a data provider. If you are satisfied with good/accurate *approximate* prices for both instruments, then the paper [It takes three to smile][1] explains how to find these prices from three quoted opt...
Delta is the rate of change of price to the spot. If the spot changes, so does the vol, so if you wanted to e.g. calculate delta as a finite difference, $(f(spot + h) - f(spot - h))/2*h$, would you recalculate a new volatility for the spots $spot - H$ and $spot + H$, or just ignore it? Same question regarding cal...
When calculating delta, should you recalculate vol?
Delta is the rate of change of price to the spot. If the spot changes, so does the vol, so if you wanted to e.g. calculate delta as a finite difference $$\frac{f(spot+h)-f(spot-h)}{2h}$$ would you recalculate a new volatility for the spots $spot - h$ and $spot + h$, or just ignore it? Same question regardi...
*"what value would there be in clustering the individual sample observations within that stock's historical prices series, or its return series? is univariate clustering done in finance?"* Seen clustering used for regime identification in the time series of returns for a single asset.
[![enter image description here][1]][1] [1]: https://i.stack.imgur.com/v4Eye.png Now I'm studying this textbook ( Fixed Income Securities by Veronesi ). But this page gets me some trouble. I know that yield and Bond Price have negative relationship. But in this image, it says sigma_z(Risk)'s negative si...
What is relationship Risk,Market Price of Risk and it's sign?
RFR's will be compounded in-arrears, if I have an option on this rate am I forced to use Monte Carlo or are there techniques in the literature that will price path-dependent trades with a backwards pricing method (PDE/lattice etc)?
I would like to ask whether there is an **intuition** for the drift of price processes under the **Stock numeraire**. I find it intuitive that the martingale measure under the **Money Market numeraire** induces the drift "**r**" to all price processes (via the appropriate change of measure): with the money market co...
What are some examples of applying spectral clustering to financial times series data or other areas of finance? Why spectral clustering, rather than other types of clustering, was used for each application would help too.
What are some examples of applying spectral clustering to financial times series data or other areas of finance? Why spectral clustering was used for each application rather than other types of clustering would help too.
The portfolio weights vector of the minimum-variance portfolio have a closed-form analytical solution, $$\boldsymbol{w} = \frac{\boldsymbol{\Sigma}^{-1} \boldsymbol{1} }{\boldsymbol{1}' \boldsymbol{\Sigma}^{-1} \boldsymbol{1}}$$ but is there a direct calculation for the same portfolio's variance $\sigma_p^2$? Ho...
Closed-form analytical solution for the variance of the minimum-variance portfolio?
The portfolio weights vector of the minimum-variance portfolio have a closed-form analytical solution, $$\boldsymbol{w} = \frac{\boldsymbol{\Sigma}^{-1} \boldsymbol{1} }{\boldsymbol{1}' \boldsymbol{\Sigma}^{-1} \boldsymbol{1}}$$ but is there a direct calculation for the same portfolio's variance $\sigma_p^2$? ...
The portfolio weights vector of the minimum-variance portfolio has a closed-form analytical solution, $$\boldsymbol{w} = \frac{\boldsymbol{\Sigma}^{-1} \boldsymbol{1} }{\boldsymbol{1}^\top \boldsymbol{\Sigma}^{-1} \boldsymbol{1}}$$ but is there a direct calculation for the same portfolio's variance $\sigma_p^2$?...
Marginal Distribution using GARCH model: How to do inverse probability transform?
The portfolio weights vector of the minimum-variance portfolio has a closed-form analytical solution, $$\boldsymbol{w} = \frac{\boldsymbol{\Sigma}^{-1} \boldsymbol{1} }{\boldsymbol{1}^\top \boldsymbol{\Sigma}^{-1} \boldsymbol{1}}$$ but is there a direct calculation for the same portfolio's variance $\sigma_p^2$?...
Can I use Implied volatility as a dependent variable in a GARCH model? I believe my IV data shows ARCH effects and hence can I use it to model volatility of the volatility? I know literature has used logged price differences in GARCH model, So I am a little confused If IV can be used or not (Since GARCH models historic...
Can we model Implied volatility using GARCH?
Other than average gain, average loss, and accuracy, what other metrics might be helpful if you were to attempt a new trading strategy? Is there any oddities of mathematics that you would take into consideration? I understand this is a pretty generic question, just looking for different viewpoints on it. Please kee...
I'm setting up pairs trades by summing the distances squared (SSD). After determining the best pairs, I have to track the spread between the normalized prices. Am I noticing something that is bothering me or am I doing it wrong? When I opened the transaction it was not cash neutral: For example, the long positions ...
Could anyone please give the detailed expression of either the close-close or open-close volatility ? Thanks
Trying to get a sense of the following ... In some emerging markets such as Argentina, there isn't any observable IRS swap curve, but only Xccy. I noticed in the place I work that FX NDF are used to construct the xccy curve. I don't understand the rational of using NDF for the xccy curve... Does anyone have any ...
FX NDF forwards are settled in USD, rather ARS, so they'll be more liquid than on-shore ARS forwards (if these are even traded, probably not). Xccy swaps are traded and liquid only from a certain tenor onwards: usually 3 years or 5-years. For the shorter maturities, the NDF FX forwards would be used - that hopefull...
Is there some general result on the sensitivity of futures price to its maturity? For example, I have two futures on the same underlying, but maturing at different dates. Can I say which one is more expensive? Or it depends on the model/parameters?
FX NDF forwards are settled in USD, rather ARS, so they'll be more liquid than on-shore ARS forwards (if these are even traded, probably not). Xccy swaps are traded and liquid only from a certain tenor onwards: usually 3 years or 5-years. For the shorter maturities, the NDF FX forwards would be used - that hopefull...
Has anyone tried MFinLab from Hudson and Thames? The full license is not cheap, so I was wondering if there was any feedback.
Has anyone tried MFinLab from Hudson and Thames? The full license is not cheap, so I was wondering if there was any feedback. ([Github repository][1]) [1]: https://github.com/hudson-and-thames/mlfinlab
In brief, what are some mainstream and recent applications of reinforcement learning in finance that fall outside of the usual scope of agent-based modeling?
This is a slightly deeper question that it appears at first. Depending on your treatment of rates (deterministic vs. stochastic), it can indeed be model-dependent. Let's first think about a forward contract $F_T(t)$ locks you in to a transaction at price $F(t)$ on an underlying $S(t)$ at time $T$. The [well-known pr...
This is a slightly deeper question that it appears at first. Depending on your treatment of rates (deterministic vs. stochastic), it can indeed be model-dependent. Let's first think about a forward contract $F_T(t)$ locks you in to a transaction at price $F_T(t)$ on an underlying $S(t)$ at time $T$. The [well-known ...
I am not sure where you're going, but GARCH models usually have two equations: (1) an equation describing the conditional expectation of the dependent variable and (2) an equation describing the conditional variance of the error term in equation (1) as a process that is perfectly anticipated 1 petiod ahead. When you...
Im given a dataset of option data that looks like this. ``` df: start exp strike 2013-12-27 2014-01-30 10000 2013-12-27 2014-01-30 10500 2013-12-27 2014-01-30 11500 2014-01-31 2014-02-26 11000 2014-01-31 2014-02-26 12000 2014-01-31 2014-02-26 10000 2014-02-27 2014-03-27 12000 2014-02-27 2014-03-2...
I wish to map and display the Support/Resistance lines (i.e. SMA20_daily) of ES onto NQ graph as I think they are mutually effecting each other, how may I achieve this? Do I need to do some kind of normalization? For example, I have a SMA20_daily of ES, is there anyway I can 'map' this support/resistance line to the...
I am not sure where you're going, but GARCH models usually have two equations: (1) an equation describing the conditional expectation of the dependent variable and (2) an equation describing the conditional variance of the error term in equation (1) as a process that is perfectly anticipated 1 period ahead. When you...
This is a slightly deeper question that it appears at first. Depending on your treatment of rates (deterministic vs. stochastic), it can indeed be model-dependent. Let's first think about a forward contract $F_T(t)$ locks you in to a transaction at price $F_T(t)$ on an underlying $S(t)$ at time $T$. The [well-known ...
Maybe take the log ratio? log( Price_ES / SMA_ES ) == log( Price_NQ / ES_equiv_SMA_NQ ) simplify and set log( Price_ES / SMA_ES ) = X where X is just a known constant, and then substitute and rearrange ES_equiv_SMA_NQ = Price_NQ / e^X
FX NDF forwards are settled in USD, rather than ARS, so they'll be more liquid than on-shore ARS forwards (if these are even traded, probably not). Xccy swaps are traded and liquid only from a certain tenor onwards: usually 3 years or 5-years. For the shorter maturities, the NDF FX forwards would be used - that hop...