instruction stringlengths 35 27.7k |
|---|
I am currently working on pricing bonds and intend to utilize the S490 curve sourced from Bloomberg. This curve is constructed exclusively using swap rates. However, I have encountered challenges when incorporating the I-Spread and performing bond pricing calculations using this curve. As a result, I would like to asce... |
I'm using QuantLib in Python to calculate the z-spread of a bond. I have a RelinkableYieldTermStructureHandle for the yield curve, but I'm getting a TypeError when I try to pass this handle to the ql.BondFunctions.zSpread() function.
Wrong number or type of arguments for overloaded function 'BondFunctions_zSpread'.
P... |
I am trying to run a delta-hedge experiment for an American Put option but there's a (systematic) hedge error which I cannot seem to understand or fix.
My implementation is found in the bottom of this post.
My question: What is causing the hedge error observed in the bottom plot? I have noticed that the error is larger... |
I have a stochastic volatility model of a commodity price as follows:
ln(pt ) − m = ρ (ln(pt−1) − m) + exp(σt)ut ut ∼ IID(0, 1)
σt − μ = ρσ(σt−1 − μ) + ηεt εt ∼ IID(0, 1)
Can anyone help me estimate the expectation of the price which follows a Markov chain process? I have estimated the parameters and also hav... |
I know that the need for a portfolio/strategy to be self-financing (the purchase of a new asset needs to be funded by selling of an older one/ones) is very helpful when attempting to price derivatives due being able to create replications of the derivative's payoffs, etc.
However, do we gain anything (such as a "wrong"... |
I tried a lot of different things to check for arbitrage on the following calls but didn't succeed.
Let's suppose we have a stock that is currently valued at 40. The interest rate is 0.05 and the strike price of the european calls is 35.
Call 1: price 6.75, run time 6 months
Call 2: price 7.93, run time 9 months
Call... |
As I was working on this paper https://hal.science/hal-00319947/document by Emmanuel Gobet, I came across this paragraph that says to price a barrier option on (for example) two correlated assets, you can derive two biased estimators that acts like bounds and average them to estimate the price of the option. This looks... |
I read everywhere that you create delta neutral positions to prevent being affected by directional change, and while I certainly agree for basic delta neutral options (a hedged vanilla for example), can't we find options that are delta neutral but not symmetrical in changes to the underlying?
Imagine your payoff is a t... |
I have recently been researching European options versus American options implied information. For European options, an overview article is Christoffersen(2012). But for American options, I only found some articles on extracting implied volatility. Christoffersen(2012) said, "The early exercise premium must be estimate... |
I am trying to wrap my head around the statement that time series regression should not be used for testing a factor model when the factor is not a return. This has been mentioned in multiple posts, and there are specific posts about that, too, e.g. this and this. Cochrane explains this at the end of section 12.2 of "A... |
I have a stochastic volatility model for commodity price which follows an AR(1) process:
ln(pt ) − m = ρ (ln(pt−1) − m) + exp(σt)ut ut ∼ IID(0, 1)
σt − μ = ρσ(σt−1 − μ) + ηεt εt ∼ IID(0, 1)
After estimating the above process, I use the estimated parameters to solve a small open economy model where the price o... |
I am trying to derive the credit spread using an hypothetical portfolio of a long corporate bond plus a short treasury bond, which have the exact cashflows. I should be able to get the credit spread in theory but they don't seem to match. Here are the assumptions.
maturity
2 yr
annualised coupon ( for both ... |
Say I build a US treasury curve or swap by bootstrapping 2/3/5/7/10/20/30y on the run bonds. Say I have a prepayment model and an OAS model and I can generate key rate dv01s for the book as dBookNPV / dYield(i) where i is in [2, … , 30]. I can then dynamically hedge by shorting the right amount of all the on the runs t... |
I am preparing for the Flow Traders test. What are the beste sources for this? I've used Zetamac's Arithmetic Game before, but I am curious if there is anything better available as well.
|
For example, in this post, it is asked where one can practice for trader's mental math tests.
I can understand why as a trader you'd practice mental health test, but, in this day and age, can someone please explain to me what the use is of being able to calculate, e.g., -$\frac{8}{2.3}$ without a calculator? Is it to t... |
One of the points of Roll's critique (Roll, 1977) can be summarized as follows (quoting Wikipedia):
Mean-variance tautology: Any mean-variance efficient portfolio $R_{p}$ satisfies the CAPM equation exactly:
$$
E(R_{i})-R_{f}=\beta_{{ip}}[E(R_{p})-R_{f}].
$$
Mean-variance efficiency of the market portfolio is equivale... |
I believe that having a negative forward variance on a ATMF implied volatility curve of a volatility surface could imply the existence of a static arbitrage (for example, a calendar arbitrage). Although I tried to look at this from multiple perspectives, I could not come up with an answer. Therefore, I thought it might... |
Bacon in Practical Portfolio Performance Measurement and Attribution distinguishes between the two, specifying that "Maximum drawdown represents the maximum loss an investor can suffer in the fund buying at the highest point and selling at the lowest" and Largest Individual Drawdown to be "the largest individual uninte... |
Suppose $Y$ is an American Contingent Claim (ACC) defined as $Y = \{Y_t, t \in 0,1,...,T\}$ and asssume $U_t$ is its fair price. Also suppose $C_t$ is the arbitrage-free price at time $t$ of a European option with maturity $T$ and payoff $Y_T$.
i) Write the Doob decomposition of the discounted fair price $U_t := U_t(1 ... |
I have converted pine script (UT-Bot by Yo_adriiiiaan) strategy to python but facing some errors. It requires TRA calculation and trailing stop calculation. Problem is that talib.ATR() function returns array with some values and also NaNs, the variable nLoss dependent on ATR() return value also has some real values and... |
In this article by Lopez de Prado et al., an algorithm was proposed for assessing the overfit of a trading strategy:
The Probability of Backtest Overfitting
There is also a package for R:
pbo: Probability of Backtest Overfitting
The following is the result of applying the function to an example:
## p_bo slop... |
I was re-reading Chapter 6 of Stochastic Volatility Modeling by Lorenzo Bergomi. On page 203, he considers a forward variance of the following form:
$$
d\xi_t^T=\lambda_t^T dZ_t^T,
$$
where $Z_t^T$ is a standard Brownian motion for each $T>t$. Now he wants to prove on page 204 that:
$$
dV_t=\frac{d \xi_t^T}{dT}\Biggr\... |
I was looking at an example from my lecture notes regarding a reverse floater. We have the following data (We use the Act/365 convention):
Nominal value: 1000 EUR
Maturity: 14.04.2026
Coupon: 4,5% less a 6-month-reference interest rate, but at least 0%
Clean price (02.03.2023): 97,25
For the reference interest rate we... |
I'm reading Ernest Chan's book “Quantitative Trading: How to Build Your Own Algorithmic Trading Business 2E”. In example 3.4 of chapter 3, he defines:
The daily return of a stock on day $d$ as $DailyRet(d)=\frac{Close(d)-Close(d-1)}{Close(d-1)}$, for example if stock L had close of 100 on day 0 and 110 on day 1, then ... |
Optimizing a position typically requires two things:
An assumption about how prices will behave in the future
An objective function to maximize/minimize
For certain cases in finance, we have closed-form solutions for optimal positions. For instance:
Markowitz portfolio optimization states that if prices follow a mul... |
As the title suggests.
I want to understand why delta hedging is done. I'd like to illustrate with an example:
Say you have 7 dte option chain with 15.8% IV ATM straddle on an underlying of spot 100.
Price of straddle 0.8 x 100 x 0.158 x sqrt(7/250) = 2.1151
Now your 7 days volatility forecast says 12% and so you short... |
Black and Scholes (1973) argue that their option pricing formula can directly be derived from the CAPM. Apparently, this was the original approach through which Fischer Black derived the PDE, although Black and Scholes present this approach as an "alternative derivation" in their paper. To date, the CAPM derivation is ... |
The St Louis Fed publish data like this, https://fred.stlouisfed.org/series/T10YIE where the break even inflation rate is derived from treasuries and TIPS. Is there equivalent data derived from UK Gilts and inflation-linked gilts?
|
just wondering if there is a similar function that I can use to get the last traded price of a stock? Cuz the getQuote function from quantmod package does not seem to be working no more. It would show a message "Error in open.connection(con,"rb"): HTTP error 401."
All suggestions are much appreciated. Thanks.
|
I have intraday (30 min) data for a number of stocks, and I would like to calculate the covariance matrix of returns.
For the purpose of calculating the covariance matrix, is it better/more correct to calculate "one step" returns, i.e. 30 min returns intraday, with a single overnight return on each day, or to calculate... |
I am trying to fit a time dependent Heston model using Quantlib Python. I'm getting the following runtime error: Boost assertion failed : px !=0.
Can somebody help in this or is there an example of time dependent heston ?
import numpy as np
#% matplotlib inline
from mpl_toolkits.mplot3d import Axes3D
import matplotl... |
I am trying to recalculate the prices of inflation cap in order to calibrate a SABR model.
I have this table which gives me the normal volatilities values in % for the different strikes and different maturities.
I have this curve of forward rate :
And finally I have this table which gives me the cap prices in bp :
I... |
I have seen a lot of literature regarding the valuation of physical Bermudan Swaptions.
However, I could not find any answer to the following question: if you're a trader and an expiry date is approaching, how do you know if you exercise now or not?
I don't think that it is just by checking if the underlying swap value... |
I've traded the "US 2YR NOTE (CBT) Jun23"- Future TUM3:
On 15-03-2023 I bought 70 contracts at 103,67829.
On 30-05-2023 I closed the position at 101,97266.
The CTD was back then: T 0 ¼ 06/30/25.
When I check the EOD yields for the treasury note I see:
On 15-03-2023 a yield of: 3,93 %
On 30-05-2023 a yield of: 4,62 %... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.