instruction
stringlengths
35
27.7k
You have a loan with an x% interest rate. Rates fall to y%. Should you pay a fee to refinance? Presumably not if the NPV of the saved interest is less than the fee. However, if you always refinance whenever the NPV of saved interest is a mere 1¢ greater than the fee, interest rates could drop 10pp, and you'd end up mak...
I am trying to get the same Depreciation and Amortization (Total) we can get for AAPL on Seeking Alpha and QuickFS for instance. Here is what is their values: However, what I am getting using the SEC EDGAR API is this: Those values are from the DepreciationAmortizationAndAccretionNet tag. I got mostly the same value ...
I have a hard time understanding the caveats of mean reversion factor logic. Let's imagine a mean reverting process: $$ dx_t = θ(μ−x_t)dt+e_t​ $$ Where θ is the "mean reversion" coefficient, μ is the long-term mean or average. Theory says for a given deviation from the mean, the force pulling x_t back towards the mean ...
I am trying to differentiate BS Theta with respect to moneyness ratio of the option, which is S/K or spot/strike. The goal is to use Newton's method to find the highest S/K for which Theta >= 0 5. $$ \begin{aligned} & C_{B s}-P_{B S}=S_t-k_e-r(t-t) \\ & \theta_c-\theta_p=K r_e-r(t-t) \\ & \theta_p=\theta_c-k r e^{-r(T-...
I am new here so please forgive my basic question. There are many websites and experts out there that estimate dealer gamma positions, but I don't know what they are doing. I think I understand the principle of dynamic hedging by market makers, but is it possible to determine whether a dealer is long gamma or short gam...
For options on power (e.g. https://www.ice.com/products/6590519/Option-on-ERCOT-North-345KV-Real-Time-Peak-Fixed-Price-Future ), how would you replicate this? Vanilla options in equities can be replicated by delta hedging with the implied volatility. But for power options, the underlying (future) experiences infinite v...
I have a task to calculate VaR for a portfolio of stocks and bonds. The main problem is that there is 1 stock which IPO was in November 2023 so there is few data points. To cope with that I came up with 2 ideas: Bootstrapping stock's returns until I get 500 data points Take as a proxy some industry index and use its r...
I am new to Quantlib and I am looking to create a Zero Rate Curve from GBP OIS to then use to calculate the present value of fixed rate bonds. I have Looked at the documentation: https://quantlib-python-docs.readthedocs.io/en/latest/termstructures.html Initially I tried the ql.ZeroCurve structure, but I believe this i...
I have a quite simple question but while looking for answers in research papers I couldn't find anything. The question can be summarized as : if you expect a shock on an asset, why don't you rebalance your portfolio homogeneously ? On what basis do you buy some assets and don't buy others ? Does it reflect the "substit...
Consider the following two-factor model for the returns of three stocks:. Assume that the factors and $e_{j}$ have a zero mean, that all the factors have a variance of 0.01 and are uncorrelated, and that var [$e_{a}$] = 0.01, var [$e_{b}$] = 0.04, and var [$e_{c}$] = 0.02. $r_{a}$ = 0.13 + 6$F_{1}$ + 4$F_{2}$ + $e_{a}$...
Suppose I have a 20-year zero bond with a call date in 10 years and a zero interest rate of 2%, which is currently valued at a Z-spread of 100. Now I would like to evaluate the right of termination and proceed as follows: I calculate the forward interest rate in 10 years, add the Z spread and get the appropriate intere...
I am still fairly new to the field so forgive me if the whole post and my questions sound stupid. A bit of explanation first. So i have a trading strategy which is an extension of an Avellaneda-Stoikov model which i thoroughly tested in a backtest simulating hft environment and it is trading live as well with decent re...
I first precise that I am new to QuantSE. Heston is a widely used moodel but I have some doubts on it and I couldn't find a proper answer on the internet. How can we prove that Heston in not and exponential Lévy model ? Are the log-returns of Heston model independent ? Any hint, advice or reference will be highly ...
I'm new to the industry and trying to wrap my head around American options pricing. The integral equation(1) from Kim (1990) doesn't seem to make any strong assumptions, and approximating the integral with the trapezoidal rule and getting a piecewise exponential early exercise boundary seems like a solid approach to me...
Typically when I have ventured into a new subject in my sparetime, I have been able to find an interactive website with reading materials, exercises and the like. To name a few there is https://tutorial.math.lamar.edu/ and https://runestone.academy/ns/books/published/FOPP-PIE/index.html?mode=browsing. However, I do not...
I am looking at the regress-later LSMC introduced by Broadie, Glasserman Ha. This can be found here: Simulation for American Options: Regression Now or Regression Later? by Paul Glasserman and Bin Yu Let $X_t$ and $V_{t}$ denote the underlying Markov process value function at $t$. My understanding of this method is tha...
I'm strugling with the Hull-White 1F model. I'am trying to calibrate the volatility with the swap rate volatility. Here is the model I'am curently working on : $$ \begin{align} dr_t = a(b-r_t)dt + \sigma_t^{HW} dW_t \end{align} $$ Some one gave me a code that compute de HW1F volatility, with the swap rate volatility fo...
I’ve been working on different interest rate risk transformation methods for swaps and was interested in implementing PCA & OLS regression. I’m looking to bucket my exposure in all tenors to curves and flies of my choice. For example, If I has risk in every tenor, [1,2,3,4,5,6,etc…], Using OLS or PCA, how could I trans...
Nowadays, traditional stocks have 252 trading days, and cryptocurrency have 365 trading days. If I want to find the annualized Sharpe ratio, how do I do that? Each element multiplied by 252 / 365? And the standard deviation Its variance w * c w't * 252 W1 * 252 , w2 *365 Something like that?
I am reading Hull's Options book. He introduces a one-step binomial model and a no-arbitrage argument, using the example shown in the picture below: Consider a portfolio consisting of a long position in $\Delta$ shares of the stock and a short position in one call option (he does not explicitly give the strike, but h...
Disclaimer, I am a newbie at finance! I have been tracking the NOC and LMT stock prices and I have a few questions. Both companies seem to be moving together in terms of stock prices. I would expect a differentiation when one gets a contract and the other does not. In the case of the F-22 raptor competition in the 19...
Hello Quant Stack Exchange community, I've been working on a discrete-time model for option pricing, where I calculate the replicating portfolio using the model and compare it with the real option prices dynamically. The equation I'm using to represent this is (similar to equation of Bakshi et al. 1997 - Empirical Perf...
Hello there! Is there a way to manually compute the critical value of f-distribution from this table for df1=df2=417? It should be 1.21194 Thanks
Is there a mathematical proof of how long one must hold a bond fund or ETF to be guaranteed a positive return? And of how long to be guaranteed a certain return? For simplicity: let's consider accumulating funds/ETFs, which reinvest the coupons let's ignore fixed maturity bond funds and consider only those which keep ...
Is there an evidence to suggest that we buy bond during high interest regime and when interest rates goes down , we sell the bond and buy Equity Index .. Repeat this by closely following the central bank's policy ? Is there a flaw in this approach ?
So, I am trying to create a model using the data such as Credit defaults swap of some companies, their historical stock market price, government bond yield. I am trying to create a Black Scholes Merton model like? Any inputs will be greatly appreciated?
After an extensive research on the topic I felt that they are some ....errors, I post on linkedin Myths in Market Microstructure Research I - passive liquidity providers- and the the part II Myths in Market Microstructure Research II: discriminatory nature of the order book academia vs. industry if someone wants to dis...
Many machine learning techniques perform better, if the data is preprocessed - either by normalization (MaxMin Scaler) or standardization (Standard Scaler). But that comes with a lack of interpretability and some other problems. My question concerning this: If I want apply PCA for the covariance matrix of the returns, ...
Can someone use BA II Plus in order to compute critical values in statistics? If yes could you provide links to material that show how to do it? Thanks
I have a dilemma that I can't figure out. The brownian motion has the following stochastic differential equation: dS=μSdt+σSdW As known, Ito's lemma is used to solve the SDE, by setting f=log(S), which results in: ∫df=∫(μ−1/2σ^2)dt + ∫σdW which is equal to: ln(S(T)/s(0))=(μ−1/2σ^2)T + σW(T). Now, if instead of applying...
In the traditional case of stock market-making, a market-maker calculates optimal bid-ask quotes which are based on various variables like current inventory, spot price, volatility etc. The market-maker is in control of their inventory and will only take on inventory in they choose to. Is it possible to develop a strat...
Inspired by another post on Bakshi et al. (1997), the paper talks about the feasibility of option pricing models, particularly the SVSI-J variant. I would like to ask the Quant community if there are any papers or if you could lend me your opinion on common volatility skew/smile/surface smoothing models. I am looking f...
In almost all papers that I read in quantitative finance trying to model a situation where several financial agents interact the distribution of the individual risk aversion is considered as independent of anything else. But in my mind this seems very restrictive because I can not stop thinking that in such a situation...
and would the dividend pay affect this relationship? and is this relationship apply on american option too?
If CT5s (the current on the run 5y treasury) goes from 99-20 to 99-21 - what will be the approx rate move in the 5y swap rate. Just trying to ascertain rule of thumbs for 5y, 10y and 30y.
Let $P$ be the zero-coupon bond price, $R$ be interest rate and $t$ be the time to maturity of the bond, is it true that $$P = \frac{1}{1+R*t}?$$ I read this from my professor's lecture notes. How do we derive this formula between zero-coupon bond price and interest rate?
As I understand it, OIS is not a published rate. SOFR is a published rate. Based on this published rate, OIS swaps are constructed. The fixed rate on these swaps that makes both legs worth the same is what's called an "OIS" rate. So we can construct this OIS rate from SOFR rates, or from Libor, or whatever. So why do p...
Is there a modern theory for the probability distribution of stock returns? It is relatively easy to deduce that under idealized conditions stock returns follow a log normal distribution. One arrives at this by considering the product of ratios of prices ("stock returns"), applying a natural logarithm to convert the pr...
Assume my portfolio has a current market value of $V_0$, that the daily returns are independent and identically distributed as a normal distribution $N(0, \sigma^2)$ and that there are $N$ trading days in a year. Also, let $\Phi$ denote the cdf of the standard normal distribution. The Value at Risk rescaling formula sa...
How to Compound 6 Portfolios Formed on Size and Operating Profitability daily data, and then computer 6 Portfolios Formed on Size and Operating Profitability weekly data?
I understand that a CAT Bond is supposed to be a high risk and high return for the investor and a risk transfer for insurer. But as the sponsor (the issuer of the bond), how can one calculate the profit ?
My question is simple, consider a European call with payoff max(S_T-K, 0), Let's suppose that the underlying stock follows a binomial tree with up and down factors I know as we take n goes to infinity that the stock is log-normally distributed at time t=T (I know how to derive it). The idea is to derive the B-S-M prici...
To my understanding, it is still quite common for market makers of vanilla options to use Black-Scholes greeks. My concern with this is best expressed by Pat Hagan in the original SABR model paper: " Since different models are being used for different strikes, it is not clear that the delta and vega risks calculated at...
I'm researching quant strategies suitable for retail traders, focusing on those beyond the typical 1-3 month holding period. Traditionally, retail strategies are influenced by insider information, market news, and analyst opinions, with quant approaches favoring timing-based methods like momentum, pairs trading, and me...
Assume the following: we are running a constant maturity bond fund (10yrs) all zero coupon bonds to maintain the maturity, we buy bonds of 10y and sell the 9y bonds 1y later price of 10y bond is 100, price of 9y bond is 99 Now..the bond fund consistently buys high and sells low, after a long time the fund will go to ...