instruction stringlengths 35 27.7k |
|---|
I was wondering where a couple of bond math approximations came from (aside from just 'feel'):
Pull to par impact:
I've seen this as (Coupon - YTM) / Yrs to Maturity which is approximately the capital gain/loss on the bond as time evolves and it pulls to par (i.e. YTM -> Coupon).
I've seen one which is (YTM - Repo) w... |
I am aware of the differences between an exponential moving average and a simple moving average, with the weights of the latter being fixed and equal for each observation in the calculation compared to exponentially decaying weights for the former.
Is there a rule of thumb to compare the lookback-period / formation-per... |
I am using QuantLib to calculate the SOFR index for a bond's (ISIN : US025816CL12) cash flows. My objective is to understand how QuantLib computes the SOFR fixing rate for future dates. Here is my code:
SOFRindex = ql.OvernightIndex("SOFR", 1, ql.USDCurrency(), calendar, day_count, discounting_term_structure)
bond = q... |
Below are steps I followed to value a few swaps. Just want to know if I have included the key steps in the below definitions. In some examples I found that we are also adding indexcurve.linkTo(). I believe linking is not required as my yield term structure is already linked to yts_discount. Please suggest.
#rates as be... |
When computing a PCA on several prices, we usually normalize them first.
Let's say I got the weights (eigenvectors) for the PC5. This weights are made from normalized prices.
If I believe PC5 is too high, and I want to short the portfolio, how to 'unnormalize' weights such that I can take the real size of each asset.
I... |
The Gyongy's theorem:
Let $X_t$ be a stochastic process satisfying
$$dX_t = \mu_t dt+\sigma_tdW_t$$
where $\mu_t, \sigma_t$ are bounded stochastic
process adapted to the filtration $\mathcal{F}_t$.
Then there exists a stochastic differential equation $$dY_t = b(t,Y_t) +s(t,Y_t)dW_t$$
such that $Y_t$ and $X_t$ have the... |
In the portfolio optimization problem at hand, one of the constraints is that the tracking error should not be greater than $\gamma$.
The constraint is therefore:
$(\textbf{x}-\textbf{w})^\mathrm{T}\Sigma(\textbf{x}-\textbf{w})\leq\gamma^2$
where $\Sigma$ is the (sample) covariance matrix, $\textbf{x}=(x_1,\dots, x_n)^... |
Can we distinguish a sample generated from a diffusion model with large time steps from a sample generated from a jump diffusion model. Not mathematically but numerically (if we ask a computer to tell the difference) ?
|
If I want to measure herding behavior of one specific year IPO, can I only use the initial return of every IPO stocks in that specific year for the CSAD regression?
|
Some companies publish historic yearly/quarterly transition metrics for credit rating transitions such as the "Credit Rating Transition and Default Study 2021" by Kula and Bourin from Scope Ratings in February 2022.
In this study, Table 6, also shown below, is titled "Average annual transition matrix (31.12.2012 to 31.... |
I am reading the first two chapters of Shreve's book "Stochastic Calculus for finance 1". The author discusses the question of how to price a derivative security assuming a binomial asset pricing model and then derives the delta hedging formula:
$$\Delta_i(w)=\frac{X_{i+1}(wH)-X_{i+1}(wT)}{S_{i+1}(wH)-S_{i+1}(wT)}$$
Ho... |
Is there any data source for historical repo and/or securities lending (SL) rates on different asset classes, or indices which seek to measure such costs?
I am not looking for granular data at instrument level, rather averages or indices for market segments: for example data which measures the average cost for executin... |
I can't understand a function which is part of a volatility model.
This is all explained in an open access paper titled "Volatility is (mostly) path-dependent" by Guyon and Lekeufack. My understanding after reading the paper is that we can model volatility as a simple regression of
$$
\sigma_t = \beta_0 + \beta_1 R_{1... |
Given a Markovian stochastic volatility model with an asset $S$ and a variance process $V$ given by
$$
dS_t = \mu_t S_tdt + \sqrt{V_t}S_tdW_t, \\
dV_t = \alpha(S_t,V_t,t)dt + \eta \beta(S_t,V_t,t)\sqrt{V_t}dZ_t, \\
dW_tdZ_t = \rho dt,
$$
where $W$ and $Z$ are correlated Brownian motions. Now suppose that we have two tr... |
Imagine there exists a typical negative skew for some underlying I want to price a variance swap on. Critically, let’s say we are in a sticky strike world (the vols of each strike will not change with a move in spot).
Let’s say S=100 today and we price up a variance swap using the 1/K^2 replication formula and we get a... |
Background: I have been working on my master thesis project for the last few months and gave the final presentation on the 2023-06-01. As a part of the master thesis project, I did a complete derivation of the historical calibration of an O-U process when it is used to model interest rates and foreign exchange rates. T... |
In this research piece, one of the trades on Page 31 is Pay EUR 5y2y-7y3y-10y5y. What is the meaning of this notation? I guess it is a fly trade on three forward rates, but it is confusing that the three rates have different starting dates (2y vs 3y vs 5y). What is the intuition behind choosing such flies?
|
I am trying to find the statistical significance of the certain events on volatility, such as divided/earningsdate/M&A, etc on single stock wise compared to no events. Commonsensewise, these events would bump the volatiliy of the stocks. So actually the volatiliy of these stocks in those particular dates actually has t... |
Given 3 Bonds $A$, $B$ and $C$ with
\begin{matrix}
& \text{Bond } A& \text{Bond } B& \text{Bond } C& \\
\text{Price:}& 101,12\%& 99,03\%& 102,95\%\\
\text{Mat. in years:}& 0,5& 1,5& 2,5\\
\text{Coupon:}& 2\%& 1\%& 3\% \\
\text{Coupon frequency:}& \text{per year}& \text{per year} & \text{per year}\\
\text{Nominal value:... |
Question: Consider in the context of the Black Scholes model with stock price dynamics $d S_{t}=\mu S_{t} d t+\sigma S_{t} d W_{t}$, initial stock price $S_{0}>0$ and with money market account $B_{t}=\exp (r t)$ for $r>0$ a so-called binary put option with payoff $h\left(S_{T}\right)=1_{\left\{S_{T} \leq K\right\}}$ fo... |
I'm trying to get a point which is higher in a range of points, i.e., pivot high, then among a range of pivot high I want to find a significant pivot high. For this I am trying to create a range which is not pre-defined but calculated on every go. It is being calculated by knee plot to identify the best parameters whic... |
We have a metric DV01 of a bond, which is the price change in response to a 1 bp change in yield of this instrument. Yields we can get from solving the equation, so it is a math concept. For bonds with different maturity we can calculate yields and plot a yield curve.
But how yield depends on the key rate (fed rate)? W... |
I'm currently playing around with Mertons version of jump diffusion processes where i'm testing the predicitions of a trading model given a time series with and without jumps to isolate the effects of an increase in skewness of the time series on the outcomes of that model. Until now, the predicitions are in line with ... |
I have implemented the Black-Karasinski model using trinomial trees and calibrated following Brigo (2007) page 29. However, the results do not fit the interest rate curve practiced in the market. As I could verify, there are something around 30 to 60bps of difference in the 10Y tenor.
Is this due to the fact that I hav... |
I occasionally see a post here: Integral of brownian motion wrt. time over [t;T].
This post has the conclusion that $\int_t^T W_s ds = \int_t^T (T-s)dB_s$.
However, here is my derivation which is different from him and I don't know where I am wrong.
First, we have:
$$\mathrm{d}(uB_u) = u \mathrm{d} B_u + B_u \mathrm{d}... |
Big picture
For any options strategy, for any segment between zero profit (breakeven) points, I want to calculate probabilities of the underlying instrument price will be within a segment at expiration. On the illustration, I want to know probabilities for segments 1,2 and 3.
My environment
No time series of the unde... |
I am having a hard time understanding the reasoning behind a statement in the proof of the following lemma from page 14 (228) of the paper "Martingales and stochastic integrals in the theory of continuous trading" by Harrison and Pliska in 1981.
Lemma: If there exists a self-financing strategy $\phi$ (not necessarily ... |
I'm working on coding up some stuff for automated trading. Mostly just proof-of-concept type of stuff. I have found that I can get free stock quotes through the dxfeed REST API, but I also need quotes for options. Does anyone have any recommendations for getting free or cheap quotes for options?
|
Fed Funds Futures trades the average Fed Funds rate for the contract month. Following the paper mentioned in this answer, the rate implied by the contract can be compared to the term (forward) rate for the same month.
But can the implied rate be compared to a forward rate agreement, since the traded rate isn't a spot r... |
I am reading page 126 (Chapter 8) of the book "Option Volatility and Pricing 2E" by Sheldon Natenberg and have two questions I seem to be stumped on. (The bulleted text below the charts in the screenshots are my own notes.)
Why is it that in making discrete adjustments to remain delta neutral, the variance of our P&L ... |
I noticed, that the option prices below strike for call and above strike for put options always end with 5 or 0. I tried placing my order with a price of 0.01 above the bid, but I haven't seen it in the table. I expected the table to contain my order with my bid a volume 1. Are the orders aggregated by 0.05?
|
My question might be very straight forward but I have seen both approaches being followed in practice so I am curious to see if there are arguments in favor or against each one. I am explaining my question via the following example.
Let's say we want to value a twin-win double knock-out option on a single stock X (see ... |
The Ulcer Index (UI) is defined as follows on page 89 of the book "Practical Portfolio Performance Measurement and Attribution, 2E" by Carl Bacon:
$$
UI= \sqrt{\sum_{i=1}^{i=n} \frac{D_{i}^{'2}}{n}}
$$
where $D^{'}_i$ is the drawdown since the previous peak in period i.
Investopedia on the other hand defines it proce... |
EDIT: or maybe to add, is the below way of calibration better than calculating as:
longer term mean b: average of interest rates
speed of reversion a: ln(1/drift)
volatility σ
I am trying to calibrate the CIR model on monthly interval 3 mon t bill rates,
below is my code but I am not sure which approach is better the ... |
Why I'm not getting the same Black-Scholes implied volatility values as the ones given in the paper "Asset pricing with second-order Esscher transforms" (2012) by Monfort and Pegoraro?
The authors consider the following model:
The stock return
$$y_{t+1} = \mu_0 +\mu_1 y_t + \sigma_{t+1} \epsilon_{t+1} \quad \quad (1')$... |
I'm attempting to validate the formula used to calculate the Federal Reserve Dollar Indexes, as published on January 15, 2019, in this document: https://www.federalreserve.gov/econres/notes/feds-notes/revisions-to-the-federal-reserve-dollar-indexes-20190115.html
The formula states that the index value "I" at time "t" s... |
I am confused about the meaning of "global" in "global minimum-variance portfolio". The sources that I have encountered so far do not explicitly state what "global" means. So what is the difference between "global minimum-variance portfolio" and "minimum-variance portfolio"? I will appreciate any pointers.
|
I'm estimating yield curves in Python using the QuantLib package and the included Nelson Siegel, Svensson, specifications. I can get the estimated parameters, but I would like to see a measure of the fit. So RMSE, MSE, or something like that...?
Thanks!
|
By any way, does anyone know the relation of FTP curves constructed in bank to FVA (Funding Value Adjustments).
It'll be good if anyone could share some references here!
Thanks!
|
I have been playing with the GRS test (see my R script below) in relation to Why not use a time series regression when the factor is not a return?. I generated a $630\times 26$ matrix of returns on 25 "portfolios" and the market portfolio according to the CAPM. I used the function GRS.test::GRS.test in R to test the CA... |
I'm reading Qian, Hua and Sorensen's Quantitative Equity Portfolio Management and one part in section 2.3.2 (page 44) states that:
"For a long-only portfolio managed against a benchmark, the active portfolio will have a beta bias, affecting its relative return against the benchmark. For instance, suppose the active por... |
For sake of simplicity, let us suppose that interest rate is zero, stock price is 1, and time to expiry is 1. I am interested in implied volatility that gives the following put price.
$$P(k, \sigma(k))= max(c(k-k_0), intrinsic(k))$$
Where $0 < c<1$ and $k$ is the strike, $intrinsic(k) = \max(k - 1, 0)$.
Since there is ... |
I am working in a supervised ML framework. I'd like to define one metric to evaluate a strategy. Naturally I was initially enclined towards overall returns or sharpe ratio. I'd like to implement a metric that take the market beta into account.
I was thinking about penalising by beta, but I am not sure it is a standard ... |
I'm trying to capture heteroskedasticity in the returns of a price time series using a GARCH model.
A basic intuition suggests that I should fit the GARCH model on log-returns: indeed, if the price is divided by $2$ at a certain point in time, it'd give a return of $-0.5$. If it is multiplied by $2$, it gives a return ... |
I am aware that there was a question similar to this but my question is a little different.
Firstly, in context of binomial short rate, why do we simply assume the risk neutral probabilities p=1-p=0.5? Is this some kind of common practice or helps somehow?
Taken from a paper,
"Let us also assume that under the risk-neu... |
I am interested in CBOEs Option Sentiment data (https://datashop.cboe.com/option-sentiment)
It contains high level (aggregated) Options data on a daily basis delivered in a csv file. Main Datafields:Underlying, Call Volume, Put Volume, Count of Call Trades, Count of Put Trades, Total Underlying Volume, Total Dollar Cal... |
In a paper, Joshi proves that the call (or put) price function is homogeneous of degree 1 if the density of the terminal stock price is a function of $S_T/S_t$. In the paper I think Joshi is silently working under the $\mathbb Q$ measure. What happens to homogeneity, or equivalently the density, if we change measure to... |
In a double-auction market, buyers and sellers are always balanced in number -- a traditional market-maker in such markets doesn't really hold any assets/take any position long-term.
However, with a logarithmic market maker, the market maker holds the opposite side of every trade, and the price actually depends on the ... |
Let me prefix this by saying that, yes, Cox-Ingersoll-Ross (C.I.R.) is deprecated when used to model interest rates. Yet integrals of the form
$$P(0,T) = E\left(\exp\left(-\int_0^Tr_s ds\right)\right) = E\left(\exp\left(-\int_0^Tr_s ds\right)| r_0=y\right)$$
are still of interest in fields like credit risk. See for ins... |
For simplicity let's assume that the discount rate $r = 0$, then a price of a call option with strike $K$ and maturity $T$ on an asset with positive price can be computed as $C(K) = \Bbb E_Q(S_T-K)^+$. A known fact that this leads to $C''(K)$ being the density of the risk-neutral distribution $(S_T)_*Q$ of the asset pr... |
I'm trying to do some convertible bond pricing. Typically, there's a soft call provision which is triggered if the value of the underlying equity is above x% of par for m of the last n days. (Usually 130% of par and 20 of the last 30 days). Bloomberg's convertible model calculates an effective trigger and then uses tha... |
I just read that standard deviation is a coherent risk measure, and therefore it should satisfy the monotonicity property:
$X_1 \geq X_2 \implies \rho(X_1) \leq \rho(X_2)$ where $X_1,X_2$ are asset positions.
We could define $X_1$ being greater than $X_2$ for every $\omega \in \Omega$, but $X_1$ could still have a grea... |
I have been reading the paper "Bridging P-Q Modeling Divide with Factor HJM Modeling Framework" by Lyashenko and Goncharov (2022). On Equation 5 of page 4 of the paper, I came across the volatility process $\Sigma_{t}$ which is a K x N matrix where K is the dimension of basis vector and N is the dimension of Brownian m... |
I am looking for references that are specific to quantitative trading strategies that exploit low-frequency dislocations in markets, which lend themselves as overlays for a strategic asset allocation of a multi-asset portfolio (equities, high-yield credit, bonds, precious metals) that improve the overall portfolio perf... |
Let the portfolio value follow the SDE:
$$V_t=(\mu w+r(1-w))\cdot V_t\cdot dt +\sigma \cdot w\cdot V_t \cdot dB_t $$
where $\mu$ = drift of the portfolio,
$\sigma$=standard deviation of the portfolio, $r$ = risk free rate and the merton optimal weight for the riskly asset:
$$w=\frac{\mu-r}{(1-\gamma)\cdot\sigma^2}$$
wi... |
I am trying to work out the PnL of continuous delta hedging. I saw This link to an answer here, however, I obtained a different answer without resorting to Black Scholes, which I will outline below.
Lets assume a constant $\Gamma$. We take the time interval $[0,1]$, and divide it into the discrete points $i/n$ for $i=0... |
I'm calculating the Sharpe Ratio for a simple equity long-short strategy (short stock S and use proceeds to buy stock L). Obviously this is self-financing.
In "https://quant.stackexchange.com/questions/51579" it is claimed that the risk-free rate cancels out and can be ignored. This is in line with what I've read (for ... |
I am new here, and to the field. I hope my clunkiness in expressing myself can be forgiven.
My situation is as follows: I have around three years of daily return data for some financial asset. Out of these three years there is a single day on which the return is outsized compared to all the other days. (Or well, it is ... |
This question relates to Financial Machine Learning, and more specifically to competitions like Numerai.
In this competition we have a dataset X and a target y (return over a given horizon). The dataset contains some features (say feature_0 to feature_n) and time. Different stocks are available each time.
One importan... |
I am currently using QuantLib for some bond pricing tasks and I have run into a problem which I hope someone here can help me with.
In my current project, I am required to model bond schedules that include both short and long coupons. However, my understanding is that the Schedule class in QuantLib is designed to handl... |
In page 1349 or Section 2.1 of "Duffie, D., Pan, J., & Singleton, K. (2000). Transform Analysis and Asset Pricing for Affine Jump-Diffusions. Econometrica, 68(6), 1343-1376" the pure jump process Z is defined as follow:
conditional on the path of X, the jump times of Z
are the jump times of a Poisson process with time... |
I seem to have gotten stuck trying to approach trading strategy development from a financial mathematics(?) perspective.
To start, let:
$T \gt 0.$
$\mathcal{T}$ be a closed non-empty set of $\mathbb{R}$.
$\mathbb{T} = \mathcal{T} \cap [0, T].$
$V_t$ be our wealth at time $t \in \mathbb{T}.$
In strategy development/re... |
I recently made a post that was closed right away because it wasn't focused and asked too many questions. In that post, I asked five questions that were related but different. It looks like stack exchange won't allow that to happen, so I will ask only one question: what is your exposure when you, as a market maker, wri... |
Assuming I have two SPX options expiring the third Friday of a normal month with no holidays around. One (SPX) option has an AM settlement while the other (SPXW) has a PM settlement. The last trading day for the AM option is the previous Thursday, while the PM can be traded through the close of Friday.
When are the act... |
I'm trying to compute a forward variance like this paper https://arxiv.org/pdf/2105.04073.pdf.
The paper shows that under rough stochastic volatility model assumption, options can be hedged with the underlying and variance swap.
I'm particularly interested in etablished a baseline for my work by replicating the experim... |
So, suppose you use calls spread to approximately replicate the payoff and therefore 'hedge' the position of shorting a binary call. Suppose the binary call's time to maturity is 1 month. The underlier current price is 100 dollars. You buy a call with strike 99.5 dollars and sell a call with strike 100.5 dollars and th... |
Bonds are priced on the market by investors, so that the yield on similar securities are the same. After this the bonds yield to maturity can be calculated.
My confusion lies in the fact that, since investors use yields to maturity to assess what a fair price for the bond would be, this creates a circular dependence. B... |
I have implemented the Black-Karasinski model aiming to fit the interest rate curve for particular dates. The way I implemented it was:
Defined the volatility.
Defined $\Delta x = \sigma \sqrt{3\Delta t}$.
Then defined $p_{u}$, $p_{m}$ and $p_{d}$ using the general formulae. After that randomly chose one of the path t... |
I have been playing with the GRS test (see my R script below) in relation to Why not use a time series regression when the factor is not a return?. I generated a $10,000\times 26$ matrix of returns on 25 "portfolios" and the market portfolio according to the CAPM. I used the function GRS.test::GRS.test in R to test the... |
I am reading Funding Beyond Discounting: Collateral Agreements and Derivatives Pricing by V. Piterbarg.
Now I have a question about the relation of the different funding rates in the paper.
$r_C$ is the short rate paid on collateral, e.g. Fed Funds (before
the move to SOFR)
$r_R$ is the short rate for a repo transacti... |
A lot of research has been done in the direction of replication techniques, and most of them consider the max function. I was wondering if we have an interest rate benchmark $R$, a cap $C$, a floor $F$, and a strike $K$, if we can replicate the payoff
$$\max(C,\min(K-R,F))$$
in terms of caplets, floorlets, and also for... |
I've been experimenting with the Breeden-Litzenberger formula in Python based on some code obtained here:
https://github.com/robertmartin8/pValuation/blob/master/ProbabilisticValuation/OptionImpliedPDF.ipynb
I first looked at SPY and got something that looks similar to the usual right-shifted distribution that most BL ... |
I am not as familiar with FX options as I am with equity index options.
For the purposes of numerical testing/experiments I'd appreciate if somebody could tell me what are typical parameter values for the Heston model calibrated to for instance USDEUR options for maturities 6M and 1YR in typical/average market conditio... |
I want to read the Berkshire Hathaway data using the getSymbols function in the quantmod package in R.
The ticker symbol is BRK-B.
getSymbols ( "BRK-B" )
yields the error message:
Error in getSymbols.yahoo(Symbols = "BRKB", env = <environment>, verbose = FALSE, :
Unable to import “BRKB”.
HTTP error 404.
There is ... |
I am taking a course in financial mathematics(Ito-Integrals, Black-Scholes,...) and there is something that is not immediately clear to me. When constructing our stock price model, the integral $\int_0^t \sigma_s\;dW_s$, $\sigma_t$ being the volatility stochastic process, was the reason we had to construct the Ito-Inte... |
I have recently discovered Bryan Kelly's paper on Principal Portfolios (https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3623983) and had some doubts about the prediction matrix $\Pi$. He defines $\Pi = \mathbb{E}[R_{i,t+1}S_{j,t}]$ as a matrix in which element $\Pi_{ij}$ shows how the return of asset $i$ is predict... |
The formula for the volatility of interest rates under Hull white model is
It appears to be an increasing function of tenor. However, the forward rate volatility curve is downward sloping with maturity.
kindly let me know your valuable thoughts.
|
I know that an option implied move per day is vol/sqrt(252).
That being said if I want to convert this in actual SPX points, am I just supposed to multiply this by the forward ? I've been told a 2/sqrt(2*pi) adjustment might be needed but I'm not sure from where this comes from.
Thanks!
|
So, I am reading Natenberg and it says that during expiration(close to expiration), the deep in the money options will have Gamma and Theta in the same direction. This was a bit counter intuitive to me as to why that would be?
|
I see it being mentioned in many places, such as here, and even here.
How should I interpret it?
Suppose I have an array of signals, I, and returns of those signals, R
Then my regression is
R = a + BI
And my t-test on B will thus be B-0/std(B), and as such, B is the mean differential returns? Am I missing something or ... |
I am looking to conduct some analytics with regards to options implied volatility. My advisor mentioned about filtering options with time to maturity of less than 7 calendar days. Is there a particular for that?
Like maybe the options price or implied volatility spikes too much etc.
Happy to provide any additional deta... |
I'm trying to build the yield curve simply using Treasury yields one would get by querying the FRED API, but as my code below will show, I'm told on the 1st iteration that there was failure at the 4th live instrument (which would be the 1-Yr Treasury, which makes me think that the issue is either in the call to FixedRa... |
I'm confused a bit with the following problem:
As far as i understand, the following problem where
$$\min_{w} \omega^{T}\Sigma\omega$$
$$\textrm{s.t.}\hspace{0.5cm} \omega^{T}\mu=E$$
$$ \omega^{T}\textbf{1}=1 $$
yields the analytical solution
$$w^{*}=\frac{\Sigma^{-1}\mu}{1'\Sigma^{-1}\mu} $$
where $w$ represents the v... |
import numpy as np
import matplotlib.pyplot as plt
def explicit_fd(isCall, S0, K, r, T, sigma, Smax, M, N):
dt = T/N
ds = Smax/M
iValues = np.arange(M)
jValues = np.arange(N)
S = iValues*ds
t = jValues*dt
alpha = 0.5*sigma**2*dt/ds**2
beta = 0.5*r*dt/ds
gamma = r*dt
# Init... |
Been lurking this forum for quite some time and there’s this concept I can’t wrap my head around:
How does the inclusion of stochastic volatility in option pricing models impact the valuation of exotic options, such as barrier options and Asian options?
Can anyone share some good literature? Especially w.r.t. numerical... |
My question is in regards to obtaining the yield of a specific tenor at any date (for example, when constructing the yield curve). For example, when calculating the yield for a specific zero-coupon (zc) bond with the tenor (i.e. time to maturity) of 3 months, one has multiple options: the 3-month on the run zc bonds, a... |
I am trying a grid trading bot that shifts the grid around the current market price within a minimum and maximum price.
I lack context on how such strategy compares with a fixed grid centered around a set price.
What would be the pros and cons of such approaches?
For a long strategy, would such dynamic grid be the equi... |
I am trying use low discrepancy Sobol RNG to generate normally distributed random numbers and fill an Eigen matrix with those random numbers. The matrix represents a basket of 5 assets (rows) each having 5000 trials (columns). After going thru QuantLib documentation, I have come up with following code. However, the ran... |
I am confused about the following question:
A trader holds a portfolio of short option positions. The trader limits the risk of these exposures by maintaining a delta hedging strategy. In evaluating the dynamic nature of this strategy, which of the following is correct about the interest cost of carrying the delta hedg... |
How to make the volatility surface free of put-call parity arbitrage? If I bootstrapped the implied vol from a call price and plugged it into the BS model to have a put price, what if it violates the put-call parity?
It looks like I should adjust the implied volatility to make the put-call parity hold. But is it ok for... |
For a American call option on a stock with continuous dividend yield, show that there exists a critical price, that is a price $S^*_t$ such that if the stock price is above this at time $t$, then it is optimal to early exercise.
Is anyone aware of a proof of this fact in continuous time, ideally in a model-free way (i.... |
suppose all 3 are calls and have same strike moneyness.
The cliquet (V12) pays off S2-S1-K12
The short vanilla (V1) pays S1-K1
The long vanilla (V2) pays S2-K2.
All are floored at zero ofcourse.
K1,K2 , and K12 have some relationship eg K12 = K2-K1 with all of them having same moneyness
Is it possible to demonstrate th... |
is there a good link or explanation how to get a specific day (next month's 1st trading day, etc) overnight implied vol? (pls guide where should i start with?)
and let say USDJPY (say forward ref is 135), overnight vol is 40%, how can i get the implied breakeven?
thanks.
|
In listed option's world, sometimes I see someone put different vols interchargablly, e.g.
6.7% Vol or 171 abpv or 11 dbpv
may anyone elaborate each jargon in some detail, and how and when should they be used?
Also are there any formula to quickly derive one another?
Thanks.
|
In typical VaR calculation, we need to calculate the time series of historical realised return. There are mainly 2 ways to calculate such returns viz. Absolute return (i.e. just the difference between levels of consecutive time series data points) and Relative return (i.e. Percentage return)
Let we calculate these two ... |
I am currently trying to correctly price European Call Closed Form Spread Options using Python. The main problem I am currently running into is that I have nothing to compare the option price so that I know that my code is working correctly.
Does anyone know if this code is correct ? Am I missing something ? Any help /... |
This might seem like a very trivial question but I am really not so sure about it so I thought I post it here.
Assuming a Heston model of the form
\begin{eqnarray}
dS &=& (r-q)Sdt + \sqrt{v}SdW_{1,t}\\
dv &=& \kappa(\theta - v)dt + \sigma\sqrt{v}dW_{2,t}\\
d\langle W_{1,t}, W_{2,t} \rangle &=& \rho dt
\end{eqnarray}
I ... |
I am doing some primary research on margin management for different global counterparties and have come across the paper "The European central counterparty (CCP) ecosystem" by Armakolla et al from 2017.
On page 19, the following table is provided to show the the posted the initial margin by some top European clearing m... |
I'm looking for guidance on an exit strategy when using pairs trading & cointegration. I'm able to find two cointegrated pairs, I then enter the trade however once in the trade I found the pairs lose their cointegration (pvalue > 0.05) and then become cointegrated again. Originally I was using the zscore = 0 however I ... |
I'm searching for cointegrated stocks using the Python CointAnalysis library.
While computing stock prices on a 5 mins time frame, I found that the stocks MNST (Monster Beverage Corp.) and KDP (Keurig Dr. Pepper Inc.) are cointegrated. The computed spread formula is:
MNST - (-1.74 * KDP + 112.84)
So, my strategy is ba... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.