instruction
stringlengths
35
27.7k
In the context of the Fama-French 3-factor model, we have six portfolios used for creating the SMB and HML factors: SL, SM, SH, BL, BM, BH. (The notation is: S~small, B~big, L~low, M~medium, H~high). If I use the six portfolios as test assets in the GRS test (with the three factors: market, SMB and HML), I get the foll...
There is abundant literature on pricing interest rate derivatives, but it is a struggle to find much on the science and methods behind practical Profit Attribution Analysis (PnL explain) on fixed income portfolios, or portfolios in any asset class in general. Is there a comprehensive book which covers this topic?
In the Fama-French 3-factor model, is there a point in looking at the relationship between the estimated alphas for the 25 test portfolios and the size-rank or value-rank of these portfolios? Also, might it be true that there will be no linear relationship between the alphas and the size-rank (or value-rank) by design?...
Im basically looking for a further/non mathematical explanation for following answer ATM call option delta with low volatility what is meant with a positive drift? does that mean we assume the stock will grow by r? could somebody please give an example how the option is in the money forward? or how my stock appreciates...
I am required to simulate the trajectory of the Euribor3M rate as it is crucial for determining the future cash flows of my derivative instrument. I've received guidance to employ the Hull-White model. How can I transition from the short rate to Euribor? Is it accomplished through the forward zero-coupon bond? I am fol...
Could someone help with any relevant literature about building an Execution Algo and things to consider and keep in mind for optimal passive order placements? There are basic algos like TWAP/VWAP/POV etc, but how does one gain edge on the micro structure level? does it also involve understanding the microstructure bett...
I have clients who take loans (Advances) weekly. The way that they repay the advance is after 3 weeks when their goods are sold, using the sales proceeds of the goods. But if the goods don't sell for the estimated amount these clients may have arrears, but still in the next week they can take a loan. These Advances are...
In addition to Wikipedia, YouTube and other internet sources, I'm reading Timothy Crack's "Basic Black-Scholes: Option pricing and trading". Most of these sources suggest that it is fairly obvious that an option has time-value. But I am not yet convinced -- could someone please clarify the following reasoning. To me it...
Our professor calculated the present value of a bond with $T=10$ years, $FV=10,000$€, $C=700$€ p.a. and an expected rate of return $r$. He wrote $$\begin{align}PV&=C\cdot\sum_{n=1}^{10}\frac{1}{(1+r)^n}+\frac{FV}{(1+r)^n}\\&=700\cdot\color{red}{\frac{1-\frac{1}{(1+r)^n}}{(1+r)^n}}+\frac{FV}{(1+r)^n}\end{align}$$ I don'...
In Chapter 9 of Shreve's book Stochastic Calculus for Finance II, the main theorem is the 9.2.1. Defining the discounting process $D(t)=\mathrm{e}^{-\int_0^t du r(u)}$ and $r(u)$ the, possibly stochastic, interest rate process; the theorem states that any positive price process $N$, under the risk neutral measure with ...
When coming to calculate Gamma exposure (or Greek exposure), it's common to assume that traders are buying puts and selling calls to hedge underlining positions. Brokers are doing the opposite: selling puts and buying calls. However, by looking at volume and open interests, this assumption may not be always true becaus...
Same underlying, same strike, same expiration. One is a covered call, the other is cash secured put. These are screenshots taken from a website. As you can see, they are similar, but the max win levels are different. The implied vols seem to be different. Is this simply due to the two options having slightly differen...
Sorry if this has been asked before. Thought this is a standard question but searching on web didn't give me too much useful links. Assuming a series of stock prices, how to detect and potentially remove big jumps in this series? We want to keep round humps but detect/remove sudden jumps. For one example, assuming the ...
This is a bit of a vocabulary / concept tackle (these two, tackling each other). My question is about this. How would a financial analyst define and extrapolate and make the reader (or, user) envision, what discrepancies and differences are in the financial terms "Old interest" and "New interest" (if, allowed let me sa...
I want to calibrate US treasury bonds to get a benchmark curve as an exercise. I know that choice of bonds may be discretionary. But can you point me to any good public data source where I can get UST data? should I only choose bonds at par? should I choose zero coupons (STRIPS) only or okay to have coupon-bearing bon...
Looking for stock splits and dividend history, every symbol for the last three years.
I'm going through the MAR - Calculation of RWA for market risk sections on tps://www.bis.org basel framework page, but not quite understand the reduced set of risk factors. Is it subset of modellable rfs, or non-modellable rf's or is it unrelated and chosen upfront and contains both modellable and non modellable rfs?
What would be a good reference to understand how the interest rate (r) or dividend yield (q), and I guess the differential between the two, affect the implied volatility of the options? If I look at a snapshot of a wide range of European Call (cash) prices on a US name, an approximate 2 month interest rate would be aro...
Suppose I have a volatility surface (matrix in time and strike) but it might have butterfly arbitrage in it. I want to remove nodes from the surface so that the Vol surface is butterfly arbitrage free. I understand that I can check the butterfly arbitrage condition as follows - for any maturity $T$ and for any given st...
If we compare the form of the original model: https://edisciplinas.usp.br/pluginfile.php/3180059/mod_resource/content/0/Nelson%2C%20Siegel%20%281987%29%20-%20Parsimonious%20Modeling%20of%20Yield%20Curves.pdf To the form of the model developed in this paper (which was 'inspired' by the original NS): https://www.research...
A market maker needs to quote a bid and ask whatever its vision on the stock is. But what happens in the case of panic-selling on a particular stock? The market maker is thus going to buy a lot of this stock. To offset its loss it's going to hedge its position. Yet if the stock never recovers, what does the market mak...
At the beginning of his well known book, Gatheral writes the following [...] Moreover, unlike alternative models that can fit the smile (such as local volatility models, for example), SV models assume realistic dynamics for the underlying. Although SV price processes are sometimes accused of being ad hoc, on the contr...
I was reading about compounded Hawkes process and came across diffusive limit theorems. Where can I find diffusive limit theorems for Poisson processes. I am new to this area, is there a nice introductory book where I can read about compound processes and their limits?
Can someone suggests readings regarding the dependence between sampling schemes and prices at which they are sampled in high frequencies context ? Is there a relationship between prices and times?
Let's say in one day time, underlying price S goes up by $2.4. Then the gamma PnL should be $\frac{1}{2}\gamma_0 (2.4)^2$. Let's assume that in every hour the underlying goes up by $0.1. Then how do we breakdown this gamma PnL by hour? Or how much gamma PnL are we making every hour?
This is for academic purposes. I am trying to find tick data with depth and type of order execution, i.e. MO, LO, cancellation etc. for equities and or indices like SPY that is FREE. It does not have to be a lot, only a day and need not require a large depth. I was using the free samples from Lobsterdata, but I realise...
Suppose we have a portfolio $V$, we are only allowed to invest in one stock $S$, its price movement follows the geometric brownian motion, i.e. $dS=S(\mu dt+\sigma dW)$. We are allowed to choose different gearing ratio $\lambda(V,S,t)$ which depends on portfolio value, stock price and time. Suppose risk free rate is 0...
I'm doing some labelling of time-series in preparation for ML. However I'm not sure what approach I should use if I want to weight a label by two parameters ? To keep it simple, let's say my label is buy/sell. Now, clearly if I only had one variable x representing trend or whatever, I could either do a naïve binary lab...
Im trying to develop a stastical arbitrage strategy that depends on a universe of assets and in a brief way, they replicate some factor(s), index(s), etf(s), etc, and then trade residuals. So, after having some interesting results, I was wondering how the universe selection affects the performance. My approach until no...
I'm a math master student. I'm trying to follow a course-note that unfortunately has chasms to fill for this specific derivation. Rigour unfortunately has been thrown to the gutter. Let $G$ denote a payoff function of some option, and suppose $G$ depends only on the final value of the underlying stock, so $G(S_T)$, whe...
I am practicing for trading interview, especially the quick calculation of mental math. But I am wondering is there any quick method to calculate the general multiplication? like the one -4.41 * 2.86. I know some methods for 5.01*6.99, as (5+0.01)(7-0.01). But how can I calculate a general multiplication of two simple ...
What is the logic behind using the conversion factor in determining the hedge ratio of deliverable bonds in 30Yr UST futures (WN contracts) throughout the trading life of the contract, but then having a 1:1 ratio in actual delivery of the bond to the long futures holder in physical delivery period and therefore leaving...
I downloaded data regarding the YUM stock traded on the New York Stock Exchange in the year 2014. Basically in this dataset, we have 4 columns: the first column is the day the second column is the time in milliseconds expressed in epoch time, the third column is the transaction price and the fourth column is the volum...
Let's say I want to sell shoes, which cost me 90€ in production, and I want to sell them with 20% profit. Do I calculate my selling price then with 90€ * 1,2 (profit is 20% of costs) or with 90€/0.8 (profit is 20% of selling price)? So do I calculate the profit from the costs of from my selling price?
Consider a time series $(S_i)$ representing a stock price (say close prices of one minute candles). Let $\Delta$ be a quantization step (could be the price step in the strike prices of the corresponding options) and let $$K \triangleq \sup_j \cfrac{ \left ( \sum_{j=1}^{r} \lfloor \lvert S_{i_j}-S_{i_{j-1}}\rvert / \De...
I am currently investigating the application of deep learning in calibrating option pricing models, specifically, models of rough volatility, such as rBergomi. While there is a lot of research on using deep neural nets as fast option pricing engines with market and model parameters as input features, there seems to be ...
am trying to understand the core concepts of Equity Forwards Curve, Funding Curve and yield Curves (most sources online seem to focus on Interest rate related examples, so any sources for equity related concepts would be much appreciated). Forwards Curve I kindof get, from the Definitions online it looks to be the inst...
Trying to understand the idea of a zero-recovery swap, for example, a xccy swap with a default clause that allows you to walk away without any future payment from either side if the counterparty defaults (the reference entity and the counterparty are the same entity). How is such a trade structured? I understand there ...
Question: A company issued $10000$, $10\%$ debentures of $\\\$100$ each on 1.4.2020 to be matured on 1.4.2025. Market price of the debenture is $\\\$80$. Tax rate is $35\%$. Then what would be the current cost of existing debt by using IRR or YTM method? Context: This question is given in my Financial Management Book ...
I'm attempting to concisely show why a derivative that, by nature, introduces arbitrage cannot be valued using risk neutral pricing tools. Derivative: Buyer is sold a 'call option', with time 0 value consistent with: $V(t_{0}) = C(t_{0}, T, \sigma, r, q, K)$ Where C is the standard black scholes (merton) formula for th...
Im having some trouble with the discussion about the pseudo-probabilities in Gatheral's book. In chapter 2, it reads Taking the inverse transform using equation (2.8) and performing the complex integration carefully gives the final form of the pseudo-probabilities $P_j$ in the form of an integral of a real-valued func...
this may come as rather vague question, since I do not have something very exact issue on my mind. Nevertheless, I think this is an interesting question and must have been thought by some other people as well. I was reading a paper called "Momentum crashes" by Daniel & Moskowitz (2016) (link), and they describe the pay...
In fixed income trading, a portfolio may have a large number of derivatives (swaps) positions which are typically aggregated into bucketed points on a curve and a PnL estimation is usually derived via a first (and/or second) order Taylor expansion multiplying bucketed delta (gamma) risks with market movements on that b...
The following problem can be understood as an extension/modification of the textbook example of Hull (Options, Futures and other derivatives, chapter 27.4, 9th Edition), which is related to convertible bonds. My questions is the following: Based on the determination of the value of the convertible bond in t=0 (going fr...
I am in academia, doing some research for which I would need Level 2 LOB data for the companies in NASDAQ-100 at one given timestamp, I just need one snapshot for the 101 companies in NASDAQ-100. Do you know where I could get this data for free?
I am currently working on this thesis: http://arks.princeton.edu/ark:/88435/dsp01vd66w212h and i am stuck on page 199. There we have a portfolio $P=\alpha F+\beta G $ with $\alpha +\beta =1$ and underlying process $dX_t=db_t+A(t,X_t)dt+B(t,X_t)dW_t$, where $b_t$ is a function of time and $W_t$ a standard Brownian motio...
Let's consider a scenario where a bank issued a loan of USD 80,000 at some point in 2022 and expects to receive USD 17,809.33 in interest and the 80k on October 9, 2023. The Effective Interest Rate (EIR) is, say, 1.85% monthly. When calculating the present value of the expected cash flows at December 31, 2022, two met...
I am aware of bond option (lets say, call option) price formula under Hull-White model, for example, here - https://www.applied-financial-mathematics.de/sites/default/files/Teaching/InterestRateModellingWS20/IRModellingLecture_Part4.pdf I wanted to know if there is a reference which gives the formula when we have $$t_s...
I am trying to calibrate the G2++ model to interest rate caps using the Quantlib library in Python. I have the problem that my optimization always stops with the starting values. So probably either my setup for the cap helpers or the optimization itself is wrong. Unfortunately, I can't get any further here and would be...
Let's say I'm an options trader, and I want to go long volatility on a particular underlying. How do I capture this volatility mispricing? How do I convert my forecast into a bet with a cash payoff. For example, I know that I could buy a straddle. Now let's say realized vol is high. What do I actually do? Do I sell the...
Something I'm having difficulty wrapping my head around is the argument that commodity futures can be in backwardation due to a large convenience yield, for example "to keep a production process running". When I think of the cost of carry, I think of it intuitively as what costs the party long the asset incurs by holdi...
I have built a hull-white trinomial tree following this famous paper. Now this was built in the LIBOR forward-looking space. I wonder if the same can be used for a backwards-looking rate (such as USD SOFR)? Specifically, I believe there would minimal/no change to the treatment except perhaps: Instead of simulating the...
In high-frequency data the price process Y is contaminated by noise . We do not observe $X_t$ but the process $Y_t = X_t +u_t$ where $X_t$ is the efficient price process and $u_t$ is the microstructure noise In the paper of Kolokov et al 2022 Testing for Endogeneity of Irregular Sampling Schemes to test dependence bet...
I am looking for a simple source for ISIN-symbol pairs for DAX, MDAX, SDAX, TecDAX and Nasdaq-100? I can't find anything on Yahoo and possible sources only offer searches for individual stocks, but I would like to get lists for all stocks in an index. Do you know a source or technical solution?
I am trying to derive AUDSGD forward rate. I have curves like AUD fx rfr curve which is comprised on the AUDOIS rates till 1year and AUD-USD rates based on the basis for 1year+. Similarly for SGD. Could someone help me to understand how to derive the forward rates, lets say for 5years. thanks
Under Black-Scholes, price a contract worth $S_T^{2}log(S_T)$ at expiration. This is a question from Joshi's Quant Book (an extension question). Ok, so I solved this with 3 different methods to make sure I understood the concepts. Unfortunately 2 of the 3 methods give the same answer but the 3rd one does not (although ...
I understand that the common way to arrive at an implied distribution for an underlying is through the price of its call options as per the Breeden-Litzenberger formula. I am wondering if its possible to do it via looking at forwards or is it a lost cause since forwards are really just a function of the discount rate a...
I am looking to perform portfolio optimization with a single ETF (or two) and a VIX futures (with the possibility of adding an additional hedging instrument). Here are some features of my portfolio optimization: I calibrate the covariance matrix using a historical rolling window of 21 days (a month, essentially). I pe...
Given an option on an underlying future, where the option matures at $T_1$ and the future matures at $T_2$, and $T_2 > T_1$, when priced using the Black76 formula, what is $F$? Is it just the current futures price $F(T_2)$? Or do we need to compute some sort of estimate of what the futures price $F(T_2)$ is seen from p...
According to my research, it is possible to exchange one stock for another without selling to cash and then buying the other. The process is known as a "stock-for-stock" or "share-for-share" exchange. It typically occurs in corporate actions such as mergers, acquisitions, or spin-offs. However, for individual investors...
If I/Client buy a European payer swaption, I understand that I gives me the right to pay the fixed rate at the strike level at maturity and receive a floating rate with an IRS- I expect interest rates to rise. Is this equivalent to say that a payer swaption is a PUT swaption / option? i.e. right to sell the fixed-to-fl...
If nominal spread is the addition to the treasury yield at the WAL of the risky bond cashflows (to worst) necessary to make the npv of the cashflows equal to a given price, and z spread is the addition to the treasury yields at each cashflow of the risky bond (to worst) to make the npv of the cashflows equal to a given...
I had the following coding question in a quant shop interview recently. I have no experience with quant finance, so I was hoping to get some insight on if this problem actually represents some real world trading problem. Essentially, the question was something like this: Suppose you have 2 vendors (can't remember if t...
Before we match the leverage function $L(S_t,t)$ to the implied volatility surface generated from the market, we are supposed to calibrate the pure Heston parameters, $(\theta, \kappa, v_0, \rho, \xi)$. Since the Heston parameters don't usually match the market surface 1:1, the surface generated from the calibrated hes...
I have a question that is only tangentially related to quant trading but was wondering if some of the members of this forum could impart some of their typical wisdom. For context, in addition to trading some of my own systematic strategies, I invest a proportion of my account in systematic Hedge Funds and Private Equit...
I understand that the purpose of the equity leg is to hedge the issuers exposure under the note but I don't understand why the buyer of an autocallable equity swap pays a fixed fee at the beginning of the trade and also floating interest payments. What do they represent exactly?
I am currently working on "Stochastic Calculus for finance II, continuous time model" from Shreve. In chapter 7.5 Theo 7.5.1 he derives a pricing PDE with boundary conditions for an Asian call option and i do not understand his derivation of the first boundary condition. So we have \begin{align*} dS_t=rS_tdt+S_tdW_...
The topic of Future/FRA adjustment has already been addressed on a theoretical point view, roughly we need a rate model to calculate the covariance between the money market account of the discount rate, and the floating rate. However, in practice, let s take the EUR case, the discount curve is ESTR, and the floating ra...
I struggling to get why in bootstrapping I need to divide the YTM by 2 (for semiannual coupons) and not adjust the power for the semiannual period. Please see below example. Consider two bonds with a face value of $ 100, with the yield to maturity equal to the coupon rate: Maturity 0.5 Year 1 Year Yi...
Let us assume that we have a statistical model such as ARIMAX that predicts the daily closing price of an asset for the next 30 days. Assume starting capital of $1mn. The model will make new predictions every day for the next 30 days. Usually the model will be more confident in nearer predictions and less confident in ...
Currently, I have developed three separate trading strategies on equity securities. All involve taking long and short positions in the top and bottom decile with respect to some measure (say, a measure of each of Value/Growth/Momentum for simplicity). So for an individual strategy, I am long the top 10% and short the b...
I am currently working on this paper "https://arxiv.org/abs/2305.02523" about travel time options and I am stuck at Theorem 14 page 20. The proof is similar to Theorem 7.5.1, "Stochastic Calculus for finance II, continuous time model" from Shreve. Just a different underlying process. I do not understand the last bounda...
Here is my understanding of the process: Capture price of most recently sold gov security at each tenor of the curve (reference treasuryDirect) For coupon paying securities, (i.e. tenor>2yr) you must strip the interest gained from coupon from the price and recalc the security Calculate yield for each tenor in the new ...
A startup company is doing a share transfer between a new co-founder and existing co-founders. The new co-founder will purchase the shares from the existing co-founders through a loan agreement between them (unsecured loan). In addition, there will be a non-refund clause in the case that the company goes bankrupt (the ...
I'm analyzing the formula to approximate the Margin Period of Risk (MPoR) for linearly linearly decreasing to zero exposure. Given the MPoR at $\tau$ one can evaluate the continious total exposure at $$\int\limits_0^{\tau} \frac{\tau - u}{\tau} du = \frac{\tau}{2}.$$ So, the MPoR for linearly decreasing exposure is hal...
Suppose I have 3 ATM call options on an underlying with time to maturity 1, 2, and 3 months, respectively, priced at implied volatility level $\sigma_1$, $\sigma_2$, $\sigma_3$. Given that there will be a major macro event after 1 month but within 2 months in the future, how can i use these info to compute the expected...
I am exploring the use of the Kelly Criterion for an institutional portfolio, namely a pension fund. For a continuous outcome process, the Kelly Optimal Proportion to invest into the risky asset at each time step (say, annually) would effectively be the Sharpe Ratio over that time step. For example, for a Pension fund ...
Regarding this problem, is this equivalent to optimize the standard mean variance portfolio and then comparing the Sharpe ratio of all the portfolio along the efficient frontier? Edit: Instead of solving the following optimization problem Maximize $ \frac{\mu^{T}x -rf}{xTQx }$ s.t $\sum_{j}{x_j\ =\ 1,}$ $x \in C$ I cou...
The textbook example assumes that discount curve and projection curve are the same (or have a perfect correlation). What happens with the FRN's duration when it is not the case? For example, there are bonds with floating coupons every 6M, but the index for their coupon rate is linked to the 5Y point on the government b...
I am currently calibrating the G2++ in Python with Quantlib in negative interest rate environments with cap volatilities. Unfortunately, this does not work as intended and I get error messages:RuntimeError: strike + displacement (-0.00425602 + 0) must be non-negative. According to Brigo & Mercurio (2006), however, nega...
I’m looking for research specifically for CFD brokers wanting to hedge risk when a customer buys CFDs. Preferably research on using derivatives like options, futures etc to hedge the risk, instead of just simply buying the underlying with another market participant. I.e. a customer buys a CFD that is long AAPL, so CFD ...
We're a startup creating an algorithmic trading bot for cryptocurrencies and looking for a website where we can fetch live, not historical limit order book (LOB) data for up to 100$ a month. I'd like to paper trade our strategy and need continuous live LOB data to do so. I've checked multiple website like Binance, Cryp...
My aim is to predict 1 year ahead and daily, the price of a stock under certain scenario. These scenarios are the ones that this year the stock will have a similar year, in terms of standard deviation and return, to the 2008 and to the 2017. So what I did is to compute the mean of the DAILY returns and the mean of the ...
The formula for minimum variance hedge ratio (MVHR) is conceptually the correlation multiplied by the ratios of volatilities. correl (Y,X) * (STDEV Y / STDEV X) Suppose I am a EUR investor purchasing an S&P 500 ETF denominated in USD currency and I want to get the MVHR to determine how much to hedge from USD to EUR. To...
ERROR: type should be string, got "https://www.wallstreetmojo.com/bootstrapping-yield-curve/\na) This is the standard method for bootstrapping:\nFrom the 0.5-year maturity the spot rate or the discount rate is 3% and let us assume the discount rate for 1-year maturity be x%, then\n100 = 1.75/(1+3%/2)^1 + 101.75/(1+x/2)^2\nb)why this does not work?\nwhy we divide the coupon by 2 and don't adjust the power as follows? (assume semi annual coupon so 180 days for the 1st cashflow and 360 for the 2nd cashflow):\n100 = 1.75/(1+3%)^(180/360) + 101.75/(1+x)^(360/360)\nc) how would the bootstrapping work assuming you have a coupon paid annually and not S/A?\n"
Imagine we have a certain price movement, where the price starts at 1000 and ends at 1200, with some fluctuations in the middle. For the sake of the example, imagine it's hourly timestamps, and it's a long only strategy. I went ahead and calculated the simple and log returns, as well as the cumulative returns. As expec...
I'm exploring financial simulations with bootstrapped returns (TxNBoot) to calculate long-horizon returns. Terminal wealth (e.g compounded returns at T) is a vector of payoffs (NBootx1), typically following a log-normal distribution with minimum values above 0 due to compounding. Can I calculate the Sharpe ratio on the...
I am trying understand and replicate this thesis, which is based on, High-frequency trading in a limit order book by (Avellaneda and Stoikov, 2008) and Optimal market making, by Olivier Gueant, 2017, except the thesis uses real historical data to calculate the intensities and uses best bid(ask) as the reference price w...
Is call/put wing volatility smile calibration approach used in practice? To calibrate an index (SPY) using only more liquid OTM calls/puts, to kind of use an "if" condition on K to S0 to determine whether to use call or put formular? More details; literature I found on the internet usually calibrate vol smiles/skews to...
I'm attempting to calculate a GBP yield curve using a USD OIS rate curve and the FX Forward rates using Quantlib. I am trying to replicate the output of a different library, and am close but can't seem to quite get it right. Firstly, bootstrapping the USD yield curve from the OIS swap rates: # Set the calculation date ...
I want to know how to price an American call option for non-dividend stock (with concrete and simple binomial pricing model, with risk neutral assumption). I understand that for an European call option, (in Binomial pricing model), the price is simply: $$V_n(\omega) = \frac{1}{1+r} (PV_{n+1}(\omega H) + QV_{n+1}(\omega...
I am currently working on calculating financial metrics, particularly Free Cash Flow to Equity (FCFE) etc., for investment analysis. In the context of financial analysis, I'm wondering which set of data is generally considered more preferable for my purpose: the restated financials reflecting the most recent adjustment...
I have two datasets of log returns, one is clearly normal while the other is t-distributed. I want to fit these with a mutlivariate GARCH model. A multivariate GARCH model is defined as $$\mathbf{r}_t=\mathbf{H}_t\boldsymbol{\epsilon}_t$$ Where $\mathbf{H}_t$ is the conditional covariance matrix and $\boldsymbol{\epsil...
If we have a 30y swap with 5y early termination breaks exercisable by either party, at each termination period, who would exercise the early termination/choose to break the swap? Is there an optimal exercise behaviour? Also, what's the benefit of having such a break clause vs. just going back in 5y time and asking to u...
Is the Multilevel Monte Carlo method implemented in QuantLib? If not, would it make sense to implement it? Is it doable taking into account the structure of the library?
According to CME's definition of Open Interest, if Trader A is long 3 contracts, and decides to sell 1, then the open interest decreases by 1. What I don't understand: if Trader A sells their contract, there must be some Trader B buying it. Then open interest should remain the same. Unless Trader B had a short position...
I am trying to understand how currency hedged ETF returns work with a simple example, namely, that where a Swiss investor can choose between buying a S&P-500 index fund which either a) hedges the USD-exposure in CHF or b) doesn't hedge currency exposure. Consider a two-period market with the following properties: At t...
I'm having trouble understanding, conceptually, why the rate of return for buying a bond, shorting the future, and then delivering the bond into the future is called the "implied repo rate". I hear that it has to do with essentially being a synthetic reverse repo, but I can't understand exactly what the parallel is to ...
I have the following general question regarding the use of ML in quantitative finance: Lets say I want to train a model (for simplicity lets consider a neural network), so that I feed some market data for a stock, and I want to compute something on it (the specific goal is not important here, imagine just a pricer). Wh...
I have $n$ stock return time series $X_1, X_2, ... X_n$. I want to measure how much they have "dispersed" over time. i.e. are they moving "more together" in 2023, comparing to 2022. $n$ is about 50. Time series are measured in the same points in time (in fact, daily, so no more than 365 data points a year). If there ar...