instruction
stringlengths
15
26.1k
Am I overcomplicating this approach to optimal actions based on a forecast?
I'm reading "Volatility Trading" by Sinclair and am confused about formula 4.10. I hope someone of you can enlighten me :) What he's saying there is that he purchases a call option and wants to hedge it with a quantity `h`: Value of portfolio = C - h * S So the value of that portfolio is the call option mi...
How would one interpret the results turnover of the following formula ignoring the average from each time period i.e., only inside the brackets? Reference: Page 2268 https://doi.org/10.1093/rfs/hhaa009 [![enter image description here][1]][1] [1]: https://i.stack.imgur.com/NPsfW.png
I just learned about the put-call parity formula and read the proof of it, which goes as follows. **Put-call parity formula:** Let $C,P$ denote respectively the prices of a call and a put, both of European type, on the same underlying asset with price $S$ and with the same maturity $T$, then: $$C_t - P_t = S_t - ...
I just learned about the put-call parity formula and read the proof of it, which goes as follows. **Put-call parity formula:** Let $C,P$ denote respectively the prices of a call and a put, both of European type, on the same underlying asset with price $S$ and with the same maturity $T$, then: $$C_t - P_t = S_t - ...
How would one interpret the below turnover formula ignoring the average from each time period i.e., what is the meaning of the term inside the brackets? Reference: *Empirical Asset Pricing via Machine Learning∗, Shihao Gu, Bryan Kelly,Dacheng Xiu, RevFinStud, 2020 ([link][1]) On Page 2268: We define the str...
How would one interpret the below turnover formula ignoring the average from each time period i.e., what is the meaning of the term inside the brackets? Reference: *Empirical Asset Pricing via Machine Learning*, Shihao Gu, Bryan Kelly,Dacheng Xiu, RevFinStud, 2020 ([link][1]) On Page 2268: We define the str...
I'm reading "Volatility Trading" by Sinclair and am confused about formula 4.10. I hope someone of you can enlighten me :) What he's saying there is that he purchases a call option and wants to hedge it with a quantity `h`: Value of portfolio = C - h * S So the value of that portfolio is the call option mi...
A difficult but very interesting problem. Some thoughts: - Use **GMM** instead of MLE. MLE is a special case of the generalised method of moments. The characteristic function gives you the moments via differentiating ($\mathbb{E}[X^n]=i^{-n}\varphi_X^{(n)}(0)$). Thus, you do not need to invert the characteristic fu...
Would appreciate clarity from senior quants on the correct way to calculate sharpe Back in the zero interest rates days, I saw some senior quants would calculate sharpe ratio as avg(pnl)/std(pnl) and then annualize depending on strategy freq 1. Now that interest rates are > 5%, I'm very skeptical of this quick ...
There's something wrong with your logic. You assume the formula is correct at time $t$, being today. Then you state that at time $"t=T"$ we must have $X_T = Y_T$. But how did you get that? You assumed that the formula holds for all time. Therefore you assumed the answer in your proof. The correct argument st...
Suppose we have a no-arbitrage market with a risk-free rate $r$ and $d$ risky assets with prices $(S_t)_{t \in \{0,1\}}$. Let's introduce a claim with payout $Y$, and assume that there exists a price $\pi = y$ such that the augmented market also has no arbitrage. Now consider a market where the initial price of the cla...
Is it always true that the bid-ask spread sampled before a transaction is smaller than the spread sampled during any other instant between the time duration of 2 trades? This may be justified by the fact that traders are more willing to accept crossing the bid ask spread when it is perceived to be less expensive. ...
Is it always true that the bid-ask spread sampled before a transaction is smaller than the spread sampled during any other instant between the time duration of 2 trades? This may be justified by the fact that traders are more willing to accept crossing the bid ask spread when it is perceived to be less expensive. ...
Is it always true that the bid-ask spread sampled before a transaction is smaller than the spread sampled during any other instant between the time duration of 2 trades? This may be justified by the fact that traders are more willing to accept crossing the bid ask spread when it is perceived to be less expensive. ...
The option-implied volatility is well-known as a measure for the risk-neutral future expected risk for the underlying asset. However, the market prices of options (across different strikes) imply different volatilities such that we form a volatility skew. Doesn't this mean that the aggregated investor demand and su...
What is the informational content of the volatility skew?
Is it always true that the bid-ask spread sampled before a transaction is smaller than the spread sampled during any other instant between the time duration of these 2 trades? This may be justified by the fact that traders are more willing to accept crossing the bid ask spread when it is perceived to be less expen...
Let's say I have the vol structure of ATM options of a stock on 4 months: $[10, 10, 13, 13]$ and i know hat there will be earnings announced on the $3$rd months. Is it possible to estimate how much the stock is going to move on the third months? Like for example can we say that since the the annnulized vol on the...
Usually forecasting is based on a model for the evolution of a value $x(t)$ based on some parameters ${\beta}$ that can then be estimated using various statistical means. For yield curves and volatilities however, we do not have a single point $x(t)$ but a range of points $\{x_1(t), ..., x_n(t)\}$ that all need to ...
What are state-of-the-art methods for forecasting of rates and volatilities?
This is not an answer to the question but too long for a comment. There are a bunch of issues with your code. In roughly decreasing order of importance: 1. Sanity-checking your prices should immediately tell you that something is not right there. Your strike 90 USD call is worth 99.42 USD? 2. The main mistake in ...
I've heard about the book "Problems and Solutions in Mathematical Finance, Volume 3: Interest Rates and Inflation Indexed Derivatives" by Eric Chin, Dian Nel, and Sverrir Olafsson. Does anyone know if this book has been released and where I might find it? Any information would be greatly appreciated. Thank you!
You are long 500 USD on EUR/USD. It drops by 2 points, what is your position? Now it goes up by 2 points, what's your new position? I saw this question on glassdoor for a company's interview page. I confused what a point refers to here - basis point or pip? I took it as a change of 2% (0.02) and got 490 USD f...
My question is closely related to the [answer][1] of @LocalVolatility and his [blogpost][2]. I am trying to reproduce his first figure and I am struggling with the implied volatility. With the help of $$ f(S) = \sum^n_{i=1}p_i\frac{1}{\sqrt{2\pi}\sigma_i}exp\{-\frac{(S-\mu_i)^2}{2\sigma_i^2}\} $$ I know the ...
My question is closely related to the [answer][1] of @LocalVolatility and his [blogpost][2]. I am trying to reproduce his first figure and I am struggling with the implied volatility. With the help of $$ f(S) = \sum^n_{i=1}p_i\frac{1}{\sqrt{2\pi}\sigma_i}exp\{-\frac{(S-\mu_i)^2}{2\sigma_i^2}\} $$ I know the ...
This is probably an older topic but I don't seem to find any related threads on this forum. What is the best way to value, let's say, a vanilla IR swap (you receive fixed) that you trade against a sovereign, where you are on a 1-way cash CSA agreement (i.e. you post collateral when PV is negative but not vice versa)...
AAPL.O maps to AAPL US Equity (composite) or AAPL UW Equity (Nasdaq NSM) That's straight common stock, but what about preferred stock? HWM_p.A maps to EP051790@SAM2 Pf or Unit trust? PHGE_u.A maps to PHGE/U UA Equity or exchanges where Refinitiv don't use the exchange symbol? FEDq.L maps to FEDS LI Equit...
Suppose I have a trade whose payoff underlying is 3m libor minus 1m libor. The standard approach is to bootstrap separately 2 projection curves: a) a 3m projection curve, b) a 1m proj curve. However, that gives rise to a big potential for excessive fluctuations in results due to having risk on both factors, and whe...
Most of the time to analyze a strategy people will take all the trades and look at the PnL a certain markouts. Yet I don't understand why so many people look at negative markouts? What can infer from that since the price at which you bought was probably not available in the past right? Because sometimes people lo...
This question is related to the following questions asked previously, primarily the first: https://quant.stackexchange.com/questions/78519/using-quantlib-to-build-flat-forward-curve-using-changes-assumed-from-central-ba https://quant.stackexchange.com/questions/78348/explicit-step-by-step-curve-construction-using...
I read conflicting opinions about the inclusion of lagged dependent variables in modeling, and I guess it is partly up to the researcher and depending on the scope and goal of the research. I'm currently modeling the liquidity of German stocks, with panel data regression (fixed time effects), and my independent vari...
How should I think about replicating a cross corridor variance swap like breaking into strips of calls and puts and an over hedge that I can rebalance at some frequency? Given the earnings move, I can define some threshold based on implied move from the listed strikes.
The game assumes that the player always plays optimally. In this regard, if you are at a point of $f(0,r)$ your payoff would end up at 0 since you are currently at some negative payoff and you will ask the dealer to deal all the remaining red cards to get you to 0. The key here is to see that you will always do what...
I'm interested in CME futures, for example the SP500. And I wonder if the orderbook is just an aggregation of STOP and LIMIT orders ? For example the following fictive orderbook: ASK: 20M 5002.0 8M 5001.0 2M 5000.0 BID: 1M 4999.0 9M 4998.0 15M 4997.0 Spread...
Futures: how is computed the orderbook?
I'm interested in CME futures, for example the SP500. And I wonder if the orderbook is just an aggregation of STOP and LIMIT orders ? For example the following fictive orderbook: ASK: 20 Lots 5002.0 8 Lots 5001.0 2 Lots 5000.0 BID: 1 Lots 4999.0 9 Lots 4998.0 15 L...
I'm interested in CME futures, for example the SP500. And I wonder if the orderbook is just an aggregation of STOP and LIMIT orders? For example the following fictive orderbook: ASK: 20 Lots 5002.0 8 Lots 5001.0 2 Lots 5000.0 BID: 1 Lots 4999.0 9 Lots 4998.0 15 Lo...
Futures: how is the orderbook computed?
## General remarks A difficult but very interesting problem. Some thoughts: - Use **GMM** instead of MLE. MLE is a special case of the generalised method of moments. The characteristic function gives you the moments via differentiating ($\mathbb{E}[X^n]=i^{-n}\varphi_X^{(n)}(0)$). Thus, you do not need to invert t...
I am trying to calculate cap prices for different points in time (valuation dates) with Quantlib. I have built three loops for this. - The first one creates the quantlib yield curve object ts_handle and other yield curve related items (strikes, etc.) for each time point in an excel. - The second one interpolates the ...
I am trying to calculate cap prices for different points in time (valuation dates) with Quantlib. I have built three loops for this. - The first one creates the quantlib yield curve object ts_handle and other yield curve related items (strikes, etc.) for each time point in an excel. - The second one interpolates the ...
Think of an IG bond purchase, financed at 3M Euribor, in an inverted curve environment. The yield on the bond, Y, is below the 3M Euribor, at purchase. The investor is looking to lock in a spread over the financing cost over the whole period of the bond investment, and has two options: 1) Sell interest future...
Let's say I have 10 factors and I want to find a combination of factors (of any length) from this set which is the best performing. Is there an easy way to find this out rather than running simulations of all 2^10 combinations?
With a Brownian bridge, one can sample a Wiener process constrained to a specified initial value and a final value. Can the same be done when the process is constrained *also* to have a specified maximum and minimum value over the time interval? One could take a very small subset of enough samples (simulations) ...
This seems like a portfolio optimization problem, but with factor portfolios. What do you mean by best performing? Do you refer to: - Minimum variance - Maximum Sharpe - Maximum returns From what I recall, only minimum variance has a closed-form solution to find the weights and therefore there is no need to ...
With a Brownian bridge, one can sample a Wiener process constrained to a specified initial value and a final value. Can the same be done when the process is constrained *also* to have a specified maximum and minimum value over the time interval? One could select a very small subset of enough samples (simulations...
I want to know what are some commons methods/tricks people use to analyze the quality of their trading signals. Let's say I have a dataframe with all my different signals and their performance. These signals have been executed in different market conditions, on different instrument... So to understand better on w...
I'm referring to **Interest Rate Models** by Brigo and Mercurio and **Interest Rate Modelling Volume 1-3** by Andersen and Piterbarg. Both are around 1000 pages, and are frequently recommended as "bibles" for interest rate models. But what's the difference between the two? Pros and cons, etc?
What is the difference between Brigo and Mercurio's book and Andersen and Piterbarg's book?
Let's say I have 10 factors and I want to find a combination (basically sum of exposures) of factors (of any length) from this set which has max sharpe. Is there an easy way to find this out rather than running simulations of all 2^10 combinations?
Say I have a simple S&P500 intraday strategy that buys at open, close at noon. What are some good methods for controlling for the fact that the S&P500 tends to move higher over the long term and this strategy has a long bias? Another example: Buy Gold at 9:30AM and flatten at Noon. How would you control for ...
How to Control for longer term trends in an asset against an intraday strategy?
They are a lot of ways to compute an "**estimated bid-ask spread**". The most straightforward one is to sample the bid-ask on a regular time grid (for instance every second), but that for you need all the quote changes (a quote is the best bid and ask, price and quantity). Usually **it is easier (and cheaper) to get...
> Why are the transactions reported separately if they occur at the same instant? In the absence of any other information about your data source, it is most likely that **the trades do not occur at the same instant**. That is, your data source has timestamped the trades to the nearest milisecond. But trades on NYSE ...
How to prove that market is incomplete using the concept of EMMs?
**Question** Suppose a stock pays 2 discrete dividends $d_1, d_2$ at times $t_1, t_2$ respectively, where $ t < t_1 < t_2 < T.$ Assume the risk-free rate, $r$, is a positive constant. Given that 1. The lower and upper bounds for an American call, $C_t$, is trivially determined as $$\max{ \left( S_t - D_t - Ke^{-...
Where can I find the historical Options Data of Bank nifty? By historical I mean more than 1 year.
Possibly even autocallable notes. Suppose we are an invesment bank, and sell the zero-bond plus the call option to the market. Thus we set up a structured product. As far as I know, such products can have an embedded call option with autocall barriers, and something like that. So, why we sell it? Will we hedge it? H...
How an invesment bank make money with structured notes?
i am currently working on Benth and Benth ["THE VOLATILITY OF TEMPERATURE AND PRICING OF WEATHER DERIVATIVES"][1] and i am stuck at following paragraph at page 10, which is about risk-neutral measures in incomplete markets: > "In order to derive a more explicit expression for the futures price, we need to specify t...
Let's take the example where I buy a Repo with a notional of 10000 EUR and I agree with my counterparty to partially terminate the deal, decreasing the notional to 8000 EUR instead of 10000 EUR. The Repo rate is a fixed one, 10%. The Repo started on 01/01/2024, will end on 31/12/2024 and the partial termination occu...
I'm struggling to construct hedge ratios that delta-hedge a spot-1Y IRS. Say I'm roughly in the middle of an IMM period, date = Oct 30th 2023 and I trade a 1k dv01 spot-1Y SOFR swap. I'll need some combination of these SOFR futures to hedge out the delta: [Sep23, Dec23, Mar24, Jun24, Sep24]. Below is an approach I'v...
Precisely how do you delta-hedge a spot-1Y SOFR IRS with SOFR futures?
Suppose we have a no-arbitrage market with a risk-free rate $r$ and $d$ risky assets with prices $(S_t)_{t \in \{0,1\}}$. Let's introduce a claim with payout $Y$, and assume that there exists a price $\pi = y$ such that the augmented market also has no arbitrage. Now consider a market where the initial price of the cla...
In the context of a project involving FX derivatives, I am faced with the challenge of estimating the change in the market value of my portfolio in response to a change in the underlying spot. The conventional approach involves a full reevaluation of the portfolio, but due to computational constraints, especially...
I am often told that options priced under SLV models, the Greeks cannot be exactly replicated by finite differences, but are computed at the level of the grid used to solve the PDE. Can someone please explain how these Greeks (delta and gamma) are computed and to what extent they can be replicated by finite differe...
is there a general procedure to decompose a fixed-floating interest rate swap, where the fixed rate changes period-to-period, into a basket of co-initial swaps, each with a different fixed rate? For example, suppose there is a 2 year swap in which the fixed rate is 4% in year 1 and 5% in year 2. Can this be decompos...
I'm new in structured products and I need some help for understanding some stuff on autocall. When a client gives his money to the bank for investing in an Autocall, this money goes in a ZCB and in options. - First on ZCB: I know the bank issues the ZCB. So they invest the client's money on buying their own ZCB? ...
My understanding is that the dual delta is generally lower than the delta across all strike prices (they still have the same asymptotes at 0 and 1 for a call), primarily because options are often utilized for hedging. Consequently, buyers are inclined to pay a premium above the fair value. Therefore, relying on delta...
How to prove that a market is incomplete using the concept of EMMs?
I am currently working on Benth and Benth ["THE VOLATILITY OF TEMPERATURE AND PRICING OF WEATHER DERIVATIVES"][1] and i am stuck at following paragraph at page 10, which is about risk-neutral measures in incomplete markets: > "In order to derive a more explicit expression for the futures price, we need to specify t...
"Has anyone used this functional calculus to generalize the HJB-PDE from Markovian SDEs to non-Markovian SDEs? Can we simply write down the HJB-PDE with his new notions of derivatives and obtain a formal analog of the previous case?" Yes this was done by Rama Cont and David Fournie: see http://rama.cont.perso.math.cn...
Recently heard a view on how one should model/book autocallable swaps (in its basic form where there is a series of observation dates on which the product autocalls and there is exposure to the downside). The general consensus around it seems to be that one obviously needs to book series of short digital calls, one for...
Recently heard a view on how one should model/book autocallable swaps (in its basic form where there is a series of observation dates on which the product autocalls and there is exposure to the downside). The general consensus around it seems to be that one obviously needs to book series of short digital calls, one for...
I am currently working on Benth and Benth ["THE VOLATILITY OF TEMPERATURE AND PRICING OF WEATHER DERIVATIVES"][1] and i am stuck at following paragraph at page 10, which is about risk-neutral measures in incomplete markets of weather derivatives: > "In order to derive a more explicit expression for the futures price...
I want to write a program that can find arbitrage in the curve of call prices for different strike K. So if I have a time serie with the price of call prices for different strikes and same time to maturity I want to find if there's is an arbitrage opportunity. Is there a simple way of doing so? I was thinking about...
Does anyone know how to get the DV01 of bond forwards from Bloomberg? I used FPA to get the forward price but can't figure out how to get the DV01. Thanks!
Does anyone know of a freely available data source that will have American and foreign stocks, mutual fund, and ETF info including stock's histories of paying dividends, PTB and PTE ratios, as well as options, forward and future contracts, currencies, and REITs? End of day resolution would be fine. Thank you!
I've seen some takes from experts in the industry (Benn Eifert for example) who say that we should treat Black Scholes as a translation mechanism for putting price into a more workable form (IV). They say that no one really uses Black Scholes as a "model" since clearly the assumptions are violated. However, these sa...
Does it make sense to use Black Scholes greeks to attribute P/L given the Black Scholes assumptions don't hold?
I struggle to understand why my market rates does not match my bootstrap model. So I wonder why the spread is that high between market & model. maturity | market | model 1W | 0.050640 | 0.050626 2W | 0.050670 | 0.050631 3W | 0.050720 | 0.050655 1M | 0.051021 | 0.0...
I was pondering over the dynamics of the Market Microstructure trying to couple it with some directional flow based alphas but for extremely small look out periods. Does it even make sense to go for flow based alphas for ultra high frequency(Look out periods upto 100 millis)? If yes then can someone provide some insigh...
What are some quantitative approaches to figure out Flow Based Alphas on extremely small lookout periods and does 'flow' play a significant role?
In equation 2.13 of Chapter 2 (pg. 41), in his book "Expert Trading Systems: modeling financial markets with kernel regression," John Wolberg writes the probability of drawdown of $P$ percentage units or greater as $(1-\frac{P}{100})^\frac{2\mu}{\sigma^2}$, where $\mu$ and $\sigma^2$ are the first and second central mo...
In equation 2.13 of Chapter 2 (pg. 41), in his book "Expert Trading Systems: modeling financial markets with kernel regression," John Wolberg writes the probability of drawdown of $P$ percentage units or greater as $(1-\frac{P}{100})^\frac{2\mu}{\sigma^2}$, where $\mu$ and $\sigma^2$ are the first and second central mo...
Do we actually need lognormal returns as amdopt states? As long as returns are i.i.d., we have $\textrm{E}(r_tr_{t+1})=0$ and as a result $\textrm{Variance}(\sum_1^{10}r_t)=10\textrm{Variance}(r_t)$, so the VaR which is the threshold for a left tail weight of (say) $\alpha$ is scaled by $\sqrt{10}$.
Estimating dynamics of volatility surface?
I am trying to apply CreditMetrics on a 2 bond portfolio. As far as I know, this model returns the expected recovery rate and the volatility between those 2 bonds, so my question is how I calculate that portfolio credit VaR. Do I have to multipply the volatility by the exposure? And how this model works with 3 or more ...
Concerning the post https://quant.stackexchange.com/questions/73827/is-end-of-month-eom-rule-overrides-convention-rule-in-quantlib-schedule I noticed that with Unadjusted convention has the same behavior. Is this wanted? For example, with Target Calendar I want to advance 1 month with end of month rule True and Busi...
Is End of Month (Eom) Rule overrides Unadjusted convention rule in Quantlib?
Might be too simple a question, but I saw in Gatheral & Jacquier (2014) that commonly used features to match volatility skews are (and then I subsequently ChatGPTed some commonly used industry metrics): - Level - such as the ATM IV - Skew - such as the RR and Butterfly Spreads - Curvature - such as the "Volatil...
Are there standardized measures to characterize the volatility skew?
Might be too simple a question, but I saw in Gatheral & Jacquier (2014) that commonly used features to match volatility skews are (and then I subsequently ChatGPTed some commonly used industry metrics): - Level - such as the ATM IV - Skew - such as the RR and Butterfly Spreads - Curvature - such as the "Volatil...
I am a analysing weak-form efficiency of the NIFTY 100 Index (01-01-2014 to 31-01-2024). The first four lags have high p-value, hence they show randomness. however, all the rest of the lags do show some evidence of weak correlation, as they have low p-values and the correlation values are between 0 and +-0.025. What in...
Theoretically: no. For most practical purposes: yes; given that risks are [small risks, see these lecture notes on p76](https://www.princeton.edu/~markus/teaching/Fin501/04Lecture.pdf#page=76). --- Belows's the background and one example showing you why you can run into problems: Given two portfolio compos...
Consider the floating leg of a IRS on the RFR which is effective today at $t_1$ and has a payment at $t_1 + 3M$. My question is, when the payment occurs at $t_1 + 3M$, is this the $3M$ forward rate observed at time $t_1$ (forward-looking), or is it the daily-compounded RFR rates observed throughout the $3M$period (b...
Do RFR swaps fix in advance or arrears?
Can anybody refer me to a good *corporate* credit risk modeling book? I'm looking for something more advanced than what's in Hull's very good risk management book. There seems to be many excellent credit risk modeling books out there, but most of them appear to be for sell-side quants. I'm particularly interested in me...
do you know if there is any methodology on how to define spreads when fx option market maker is trying to quote for exaple various fx forward strip strategies? From bbg ovml or software which we are trying to tailor to quote our clients automatically, i noticed that whenever client is for example buying vanilla puts...