instruction stringlengths 35 27.7k |
|---|
Let's consider a straightforward example in which I possess a portfolio consisting of two stocks:
$
R(t) = S_{1}(t) \cdot x_1 + S_{2}(t) \cdot x_2,
$
Here, $t$ represents the time index, $R(t)$ symbolizes the portfolio's value in terms of dollars, $x_i$ indicates the weight of stock $i \in [1,2]$, and $[S_{1}(t),S_{2}(... |
The 2 year Treasury note yields ~4.9% in the cash market as of 29 Aug 2023.
Assume implied cost of financing of 5.5% pa (3 month T-bill rate) to finance a long futures position.
This results in a negative carry of ~0.6% pa if the world does not change.
The 3 and 5 year Treasury note futures also have a negative carry b... |
I am looking for resources (if they exist) that explain the differences between quant finance software in academia and the real world, or explain how quant software is implemented in practice.
For example, in uni we learn the Black-Scholes formula and how to write it out in code, which is fairly simple. e.g.
import num... |
I was reading Prof. Lopez book Advances in Finance ML and he uses a notation I could not understand. In 4.2 (Overlapping Outcomes) he says:
In Chapter 3 we assigned a label $y_i$ to an observed feature $X_i$, where $y_i$ was a function of price bars that occurred over an interval $[t_{i, 0}, t_{i, 1}]$. When $t_{i, 1}... |
I encountered an interesting formula a vendor gave me for how they calculate Average Net Price:
Average Px = Weighted Average Price
Average Px (Net) = (abs(warrant principal) + signed Fees and Commissions + Accrued) / filled quantity
Warrant Principal = Market Value = filled qty * (PRICING_MULTIPLIER / WRT_SH_PER) * Av... |
Consider the derivatives trading activities of a bank and the trading of a derivative contract where the cash settles at some future point in time - 'buying' the derivative is a promise to pay some amount of cash at a future date in exchange for receiving some commodity at that future date, and vice versa for 'selling'... |
Just like to understand more about the model difference between 1d-Cheyette Model vs 1d-Markov Functional Model.
Is there a model difference betweeen these 2?
|
I don't get why for calculating the carry of a spot starting swap I need to adjust the difference between the fixed rate and fixing by the Dv01?
For example if I receive in a 5y swap and want to estimate the 6m carry i should do:
5y fixed rate = 4%
float leg fixing = 2%
Dv01 of 6m4.5y swap = 3
6m carry = (4%-2... |
i was wondering how to create a comparison table across various time horizons for given currencies and see the return/spread over SOFR.
Any Bloomberg links/functions i could use?
Ideally i would like to create a set of short dated intruments, too, which would show me in this table the pick up vs. SOFR
|
In Heston model, if my intuition is correct, increase in sigma (volatility of volatility parameter) would increase the kurtosis and correlation factor between returns and volatility dictates the skew of the volatility surface. Is it possible to modify it in such a way which could generate a vol surface which has a high... |
Suppose that one want to price an Interest Rate Swap with daily averaging, i.e. the floating leg looks like
$$Floating~Leg = \sum\limits_{i=1}^N P(T_i)\cdot\frac{\sum_{k=1}^m F(t_k, t_k+\delta)}{m}, ~T_{i-1}\leq t_k< T_i$$
It seems like some sort of convexity adjustment is needed there since some of rates are maturing ... |
we calculate the delta as change in NPV for 1% change in spot * 100. Would bumping up the forward price by same 1% produce the same results? I'm assuming F = S *exp(... ) or it's too simplifying assuming dividends?
|
I am attempting to replicate the work from "Individualism and Momentum around the World" (Chui, Titman, Wei, 2010, https://onlinelibrary.wiley.com/doi/pdf/10.1111/j.1540-6261.2009.01532.x). In Section VI (Other Determinants of Cross-Country Momentum:
Regression Analysis), the author performs a Fama Macbeth regression w... |
This seemed like the most appropriate stack exchange for this question even though the question isn't strictly quantitative, but I hope it's ok.
I read an article(Article Below) and can't seem to understand how the unwinding of long BTC futures will prevent further downside/selling risk thus preventing further drop of ... |
Given a sample of observations $X$, by changing a parameter $p$ we can divide $X$ into two subsamples $X_1$ and $X_2$ (this division is done in a non-trivial way which is nonetheless irrelevant to the problem at hand). We would like to find a value of $p$ for which subsamples $X_1$ and $X_2$ are as much as possible "d... |
It is well known that a european call option with strike price $C(K)=(S_T-k)^+$ coul be hedge using the Black-Scholes formula $BS(t,T,r,K,S_0)$. I would like to find a hedge (or sub-hedge) of the the next portfolio (or find some strategy)
\begin{equation}
\chi_{[S_T\geq B]}+\frac{1}{B-K}\left((S_t-B)^+-(K-S_T)^+(S_{H_B... |
Does anybody know hot to calculate coin inflow/outflow volumes from Binance API?
Thank you!
P.S. is supply/demand figures something different?
|
I'm backtesting a pattern recognition strategy over 20 years across 40 futures markets. In my live trading portfolio, should I exclude all markets that made a loss over the 20 year backtest period?
|
I wolud like to know if there is an analytic formula to to valuate a up-knock-in forward, it means
\begin{equation*}
(S_{H_B}-S_T)1_{[H_B\leq T]}
\end{equation*}
where $H_B=\inf[t\geq0 | S_t=B]$ for some barrier $B>0$. Is possible under the Black-Scholes model compute in analytic way this derivative?. I have be... |
In the book Cartea and Jaimungal (Algorithmic and High Frequency Trading, page 249.), the midprice dynamics follows
$ dS_t=\sigma dW_t+\epsilon^+ dM^+_t-\epsilon^- dM^-_t$ (10.22)
where $M^+_t$ and $M^-_t$ are Poisson processes, with intensity $\lambda^+$ and $\lambda^-$ respectively. The jump size $\epsilon^\pm$ are i... |
so the The Second Fundamental Theorem of Asset Pricing says:
An arbitrage-free market (S,B) consisting of a collection of stocks S and a risk-free bond B is complete if and only if there exists a unique risk-neutral measure that is equivalent to P and has numeraire B.
I want to construct an example of a one-period ma... |
I am having trouble understanding why finance costs are excluded while calculating cash flows of a project. My teacher says that the discounting at the required rate already incorporates the effect of finance costs so it would result in double counting.
This is what I have trouble understanding:
Say the value of invest... |
I am trying to replicate the ATM cap prices in table 7.1 (see bottom of this post) from Filipovic's book "Term Structure Models - A Graduate Course" which assume the Vasicek model and uses Black's formula. It is assumed that $t_0 = 0$ and the tenor is quarterly, i.e. $\delta := T_i - T_{i-1} = 1/4$ for $i=1,...,119$. F... |
I am dealing with a cross currency swap where the notional amount changes halfway through the strip accrual period, and I would like to know if there's a specific name for this structure?
A stylized example below:
Consider a vanilla AUDUSD CCIRS with a 5% fixed rate on the USD side with a 10m USD notional. Let's say th... |
For SBM, are sensitivities calculated in the risk engine or can they be sourced from front office (mapped to FRTB sensitivities using Jacobian)?
|
Given that we are a market taker (removing liquidity from the limit order book through market orders), what should we be trying to forecast?
It seems like the most pertinent thing for us to forecast is the execution prices of our buy or sell orders of a certain size so that we can determine if our current entry and fut... |
Going to preface this question with an acknowledgement with how silly the ask is, but alas that is the working world; if anyone can share any ideas I'm all ears.
We're pricing an exotic option in risk neutral:
The option is any arbitrary structure that can be constructed from euro style options; I'm going to use a Call... |
I was given a problem at a job interview, I'm trying to solve it afterwards
You are given a list of N trades for some stock, you need to determine how much volume for each trade an ideal strategy would execute, provided that you cannot buy or short more than K (=const) shares. The algorithm should work for O(N) and be ... |
If IV skew is flat (all strikes with the same IV ss ATM) as in the black-scholes world for all maturities, would calendar spreads be considered as pure arbitrage?
|
I short term trade futures markets, and I use the DOM (depth of market) and various volume indicators, like cumulative delta, and footprint charts. I used to trade MES, but I switched over to ES, and I realized that the volume indicators do not show a mirrored proportional image.
Let me elaborate. The cumulative delta ... |
Suppose there is a hedge fund with with USD 50M cash and the balance sheet is below.
Asset: 50M Liability: 0 Partner's Capital: 50M
If the hedge fund executed a USD 100M notional TRS with 25% IA (USD 25M will be the independent amount),
How will it be reflected on the above balance sheet?
Will the 3 times leverage be r... |
In the Vanna-Volga approach to pricing first generation exotics, such as single barriers, as I understand it the pricing is as follows:
Let $K,S_t < B$. I'll choose the ATM IV $I_{ATM}$ as the reference volatility for the VV price. Then,
$$
UIP(S_t,K,B) = UIP^{BS} (S_t,K,B, I_{ATM}) + p \times \text{Hedge cost}
$$
wher... |
I heard that there is a rule called Traffic light from Basel which is used to backtesting the VaR numbers.
However I could not find exactly which regulation from Basel mandates that, although I am overall familiar of this rule.
Could you please help me with any reference to exactly which rule first introduced the Traff... |
Let $y_t = \sqrt{h_t} \epsilon_t$ where $\epsilon_t\overset{ iid}{\sim} N(0,1)$
$h_t = \alpha_0 +\alpha_1 y_{t-1}^2+\beta_1 h_{t-1}$ with $\alpha_0>0, \alpha_1>0, \beta_1<1,\alpha_1+\beta_1<1$
Show that $Cov(y_t^2 y_{t-j}) =E(y_t^2 y_{t-j})= 0$
My guess is that $E(y_t^2) = h_t$ then $E(y_t^2 y_{t-j})= E(h_t*\sqrt{h_{... |
I wanted to check my understanding on something. Say bond A (deliverable, but not CTD) goes special (from GC) at some point. What can we say about how its basis should behave?
A. Firstly the bond should richen, therefore, its gross basis should widen (?)
B. Also (and I think this is where my confusion is): being long t... |
I'm presently working on replicating a specific index. The methodology provided by the index provider offers a detailed definition of the Quality Factor. However, there seems to be an ambiguity regarding the temporal dimension utilized for constructing this Quality Factor. Although the financial metrics have been clear... |
My understanding is that "contango", when describing the forward curve, describes forward prices that are above the current spot price, i.e. $F_{t+1} > F_{t} > S$. This is directly observable at the current time.
"Normal backwardation" is the phenomenon that the current forward price is below the expected spot price at... |
I'm trying to find the YTM for a step up bond that trades at par value, how do I use this formula? Since the par value and sale price is the same, and coupon payment is different each payment.
|
I understand that ARMA-GARCH models and their variations are usually applied to daily time series. While I know that such models can be also estimated on monthly data, I have seen few applications in the literature. Is there a specific reasons why such models are not common for monthly data? If so, which kind of models... |
I use a LMM model from a well known vendor, using a SOFR swap curve and SOFR swaptions. The calibration set include many/all of the ATM swaptions from 1m-1y to 30y-30y and I get a very good fit for volatility quotes. The next thing I am trying to incorporate is correlations between short rates and long rates. The model... |
I am trying to generate implied volatility surfaces for European call in the Heston model. I get below intrinsic values for deep ITM, so about 2% of my surface has below intrinsic prices, which doesn't allow me to calculate its implied volatility. I need these surfaces to train a CNN for deep calibration. Is setting th... |
I recently joined an Investment Bank and I see lot of mentions of a term called Curve. Typically, a text book does not put such an emphasis on this term.
So my question, what is the definition of Curve in IB world? Is it basically, a group of risk factors like say discount factor at time 1/2/3/... year
Appreciate if so... |
Under the FRTB we do an downwards and upwards shocks reating to the each of the risk factors.
FX risk is also calculated as the change in respect to the reporting currency to each of legs of the trade.
For example a USDJPY FX option with say $10m Notional, when the reporting currency is EUR, we need to calculate the FX... |
For the several weeks, I have been looking for a way to calculate and display the results of my DCC-GJR-GARCH model to picture a dynamic relationship between daily return of, let's say for example, two assets. I read many reference papers and they all got similar procedure, it's something like this, (1) first step is t... |
Let's define the US yield curve as the O/N fed funds rate, then the on the run 2/3/5/7/10/20/30y us treasury notes and bonds, represented by their yield to maturity as of today T.
What I am trying to do is find a point in time in the past when the yield curve YC(t < T) most "resembles" YC(T). I realize that this is a s... |
I have noticed that the definition of the "Quality Factor" in financial research seems to be somewhat fragmented, with many studies focusing primarily on individual financial metrics such as gross profits over Assets (Novy, Marx 2013). I have found that many index providers also tend to formulate their own definitions ... |
Has anyone considered trading SR3 vs SR1 SOFR futures? They both have the same underlying basis of daily SOFR, and how would one calculate a hedge ratio for the SR1 to trade along SR3?
Looking at the contract specifications, the SR3 settles to a daily compounded value and the SR1 settles to an arithmetic average of the... |
There is a well-known book from 2006 by Daniel Duffy, which is Finite Difference Methods in Financial Engineering: A Partial Differential Equation Approach. You may find it here on Wiley's:
https://onlinelibrary.wiley.com/doi/book/10.1002/9781118673447
On the other hand, he has a more recent book:
https://onlinelibrary... |
Question: Is there a known path-dependent Black-Scholes PDE?
To be a little more precise, let $S$ be a stock price under a risk-neutral measure such that $S$ satisfies the SDE with path-dependent volatility:
$$dS_t = r S_t dt + \sigma(t, S_.) S_t dB_t.$$
Here $\sigma: [0,\infty)\times C([0, \infty), (0,\infty)) \to \ma... |
I want to use mean reversion trading strategy.
I am able to find 3 stocks which are cointegrated on closing prices at daily level. Im curious on what's the trading strategy using kalman filter.
I can find literature for pair trading but not for multiple securities
|
I wonder how one could plot bid/ask volumes along with the prices as shown below:
Another example is:
To be more specific, I want to ask how to plot volume for each price level as some sort of shaded area below/above the price line.
I'm posting the question here because I believe people here are more familiar with th... |
In financial mathematics, the martingale property often serves as an essential foundation for the stochastic processes that underlie securities pricing models. According to martingale theory, the most accurate predictor for a security's future price, given all available past and current information, is the current pric... |
I am reading the book - "Mathematics for Finance: An Introduction to Financial Engineering" by Marek Capinski and Tomasz Zastawniak. I am going through the proof of Theorem 6.4 - For any $t$ such that $0 ≤ t ≤ T$ the time $t$ value of a long forward contract with forward price $F(0, T)$ is given by $V(t) = [F(t, T) − F... |
Can anyone please recommend papers(other than Frazzini, 2017) that recommend market variables or any other predictors to model temporary price impact when you buy / sell a trade? This would fall under the TCA realm (Trade/ transaction Cost Analysis).
Thank you.
|
In the academic paper Industries and Stock Return Reversals by Hameed and Mian (JFQA,2015) (see picture below), the authors describe a trading strategy based on reversal, which essentially buys past losers and sell past winners.
I do not fully understand how they come up with those portfolio weights. I understand the ... |
Being a house mainly focused on almost everything else that rates products we never had a "rates pricer", no surprise. The best connected to rates thing we have is an equity/fx/what have you / rates hybrid model where you can only have one rates underlying for which you diffuse the short rate in an Ho-Lee manner and we... |
I am presently engaged in a project wherein my objective is to construct a volatility surface utilizing either the SVI parameterization or the SABR model, leveraging real market data. Initially, I used mid/mark implied volatility for the purpose of calibration, yielding relatively satisfactory fit. However, my calibrat... |
(By XIBOR I intend any EURIBOR or LIBOR rate. By RFR I intend SOFR for the USD and ESTR (€STR) for EUR.)
I am mainly focused on the EUR rates market (but also a bit on the USD market) and looking for a model able to price EURIBOR swaps, caps, floors, swaptions and EURIBOR exotics (callable or not) like TARNs, range acc... |
What are the steps involved in options market making?
Does it roughly follow this procedure:
Choose a pricing model, e.g. Black-Scholes.
Calibrate the model, e.g. Volatility.
Quote a bid-ask spread for the option.
Trade (which results in a net long/short position).
Compute the Greeks to hedge the position.
Repeat.
It... |
I'm trying to estimate a Dynamic Nelson-Siegel-Svensson (DNSS) model with time-varying scale factors lambda_{1} and lambda_{2}. I am therefore estimating the lambdas as state variables (same as the Betas) in an extended Kalman Filter. However the lambdas (i.e. state variables x_{5}, x_{6} in my model as Beta_{0}=x_{1},... |
For a CRR recombining Binomial Tree, let the underlying stock price be $S_0$ at $t=0$ and the time interval be $\Delta t$. The nodes at $t=\Delta t$ and probabilities reaching them can be written as:
$
\left\{
\begin{array}{**lr**}
S_u = S_0e^{\sigma \Delta T},\ p_u=\frac{e^{r \Delta t}-d}{u-d}\\
S_d = S_0e^{-\sigma \D... |
Given a Cox-Ross-Rubinstein model with $T=10$, $u=1.1$, $d=0.9$,
$r=0.02$, $S_0=100$ and a European call option with Strike $K=220$,
find the initial investment of the hedging strategy.
I know how to compute the fair price at $t=0$ for the European call, say it is $x$, and I know that for the initial investment $(\al... |
To summarise this very long post : please help me understand the undetailed proof of the quoted paper. I am not comfortable using a result I do not fully understand.
I am reading Balland & Tran SABR goes normal paper and struggle to understand the computations from the first section (equivalent SABR local volatility).
... |
This question is on equities risk models. I would like to know how to define betas when using a cross-sectional regression approach, rather than the time series approach. My goal is beta hedging of a portfolio of stocks.
Suppose that the risk factors of interest are GICS sectors factors and a few Fama-French like facto... |
Let $\mathcal{M}$ be a one-period model with
$\Omega=\{\omega_1,\omega_2\}$ and $S_t^0=1$ for $t=0,1$.
Find a $D$ such that $S^d$, $d=1,...,D$ yields a complete market
without a risk-neutral measure. Why does this not contradict the
second fundamental theorem of asset pricing?
So I guess this is due to the fact that ... |
Find a complete two-period model in which the unique replication
strategy of a call (with a suitably chosen strike) shorts the stock in
the first period (i.e. the call price falls if the stock rises in the
first period). However, there is no such example with a negative
replication strategy in the second period. Why?
... |
When performing the following BDH query for a particular stock:
=BDH("AT0000652011 ISIN","LAST_PRICE","1/3/2023 0:00:00AM","1/9/2023 0:00:00AM","BarTp=B","BarSz=30") for the bid price at 30mins frequency vs
=BDH("AT0000652011 ISIN","LAST_PRICE","1/3/2023 0:00:00AM","1/9/2023 0:00:00AM","BarTp=T","BarSz=30") for the tra... |
Exchanges will usually list greeks along with the option, for example this SPX call on the CBOE:
But how does the exchange calculate these greeks? I can think of a few ways to do so:
Use the "instantaneous" values of the most recent trades (minimum number to numerically compute the derivative)
Fit a hyperplane throug... |
Hey how to calculate Expected positive exposure in the case of interest rate swap? Assume that I simulate M
interest rate paths for time grid 0=t0≤t1≤...≤tN=T.
What is the procedure now to calculate value of a swap for each trajectory and each time step using Longstaff-Schwarz LSM? I know that in the case of american o... |
Given $\Omega=\{\omega_1,...,\omega_4\}$ and a probability measure
$\mathbb{P}$ on $(\Omega, \mathcal{P}(\Omega))$ where
$\mathbb{P}(\{\omega_i\})>0$ for all $i$. Let, furthermore, $r\geq 0$,
$S_0=5$ and
$S_1(\omega_1)=S_1(\omega_2)=8$, $S_1(\omega_3)=S_1(\omega_4)=4$,
$S_2(\omega_1)=9$, $S_2(\omega_2)=S_2(\omega_3)=6... |
Let's say that for a single asset, we have a data stream from which we receive both level 2 order book updates (price level/quantity updates) as well as time & sales updates (grouped recent trades).
I realize that what is done with this data to inform trading decisions becomes proprietary quite quickly, but wanted to k... |
I have daily closing prices of crude oil monthly contracts up to 36 months. Some contracts are not very liquid so there are missing prices at random. I stitched together contracts to make them rolling so I have 36 'features' from M1 (month ahead) to M36 (36th contact to expiry).
I am looking to forecast the whole forwa... |
The expiry of the option may not be relevant to the question, but I would be curious to know if a copula model would provide an accurate price for sub 6 month expiry options.
|
I am currently looking at a structured product whose payoff depends on EURIBOR1Y and the associated requirements for PRIIPs computations. More precisely the regulation says the following:
The simulated rate for each tenor point T, is the current rate at tenor point T:
(a) multiplied by the exponential of the simulated ... |
In these notes: https://johnthickstun.com/docs/bscrr.pdf, towards the end of the proof of Proposition 5.2 on page 6, the author claims:
$$
\log
\lim_{n \to \infty} \Bbb{E}_\pi \left[\frac {S^*_n} S \right] =
\log
\Bbb{E}_\nu \left[\frac {S^*} S \right]
$$
I.e., that
$$
\lim_{n \to \infty} \mathbb{E}_\pi \left[\frac {... |
When calibrating or trying to approximate the rough heston model by a neural network, why is it done according to the hurst parameter, the correlation, the volatility of volatility and the forward variance, when in the definition of the model, the speed of reversion, initial variance and the mean variance to which it r... |
In this text (Damir Filipovic, Term-Structure Models, Springer, 2009) $P(t,T)$ denotes the price of a zero-coupon bond at time $t$ with maturity $T$. I cannot see where the proof uses the deterministic assumption. I know this result does not hold in general - but where does the argument fail if the world is not determi... |
This is concerning a common interview style question which has me confused; it has been discussed here:
How to Take Advantage of Arbitrage Opportunity of Two Options
and
Arbitrage opportunity interview question
The question reads "A European put option on a non-dividend paying stock with strike price 80 dollars is curr... |
I came across some very strange ACF, PACF chart during my research. how should these charts be interpreted? From top to bottom are chart of the original time series, the acf chart and the pacf chart
|
In many asset pricing models we use CRRA preferences and Epstein-Zin preferences.
Let's say I have an agent that lives $T$ periods with CRRA preferences:
$$ V_0 = \sum_{t=0}^{T} \beta^t \frac{C_t^{1-\gamma}}{1-\gamma}$$
For a given agent who is optimizing this utility function I can get its value at $t=0$.
So I can ask... |
I just stumbled across an interesting chart in Meir Statman's book "Finance for Normal People" where he introduces his behavioral portfolio theory. There, he also provides the following chart which I found to be quite interesting:
I understand from his other papers that this kind of efficient frontier can be derived f... |
This is a question about a relatively undeveloped market (Chile) in which Camara the O/N rate is daily compounded (OIS Curve).
The available instruments in the market are short term rates ie 1m 2m 3m 6m 9m 1y 18m and 2y where up to 2y these trade as ZC and the 2y as S/A, the meeting dates are known but there are no ins... |
Consider a perfectly collateralised swap.
Numerous sources discuss how FVA arises from banks having to fund collateral at a spread to the CSA rate. One example here:
The asymmetric nature of this cost of collateral adds additional costs
to transacting the swap. The size of this cost relates to the
difference between t... |
For example, let's say we have 3 assets (A, B, C) with weights (0.3, 0.3, -0.4). Hence the portfolio is 20% net long.
Assets have daily price returns of [[0.01, -0.02], [0.03, 0.04], [-0.01, 0.03]].
i.e) On day 1, A has 1% return and on Day 2, B has 4% return.
I know I can calculate day 1 portfolio return by: (0.1)(0.3... |
I am able to identify and build an option portfolio with long/short call/put options across different strikes and expiries such that the gamma is positive and cost is negative. Upon inception I hedge the option portfolio so that delta is zero.
However, I am unable to identify at what threshold of delta% should I contin... |
I need to value an Asian commodity option using Monte Carlo and a log-normal model. The inputs are the commodity forward curve and the volatility surface for futures/options expiry. Unfortunately, all book examples are somewhat simplistic in that they generate paths starting from the spot rate using flat volatility. Ho... |
The Black-Scholes formula depends of many parameters, is easy to note that it is increasing respect to the parameter $S_t$, $\sigma$ and $r$, it means to fix a all parameters and vary only one. Is possible to say the same for the strike price $K$ or the time $t$, I think BS-formula is decreasing respect to these parame... |
As far as I understand, dirty price is the sum of clean price and accrued amount and should be equal to the Present Value (PV) of a bond at a certain yield rate. However, I can't replicate this behaviour in QuantLib-python (1.31.1) as values are different using the same yield.
Code:
from datetime import date
import Qua... |
Similar to VIX to measure the equity vol and Move for rates vol, is there a simple index to measure the credit vol
|
Given a time series of simple daily returns, how will mean and stddev of log returns and simple returns? I think, mean of simple returns will be higher due to volatility drain. But confused about stddev.
I tried following experiment:
mu = 0.0005
sigma = 0.01
for _ in range(10):
log_rets = np.random.normal(mu, sigma, ... |
I'm trying to use Kalman Filtering to estimate the parameters of the G2++ short rate model. For this, I've been using Implementing Short Rate Models: A Practical Guide by F.C. Park.
For reference, he uses the following as the state and observation equations respectively.
Where,
Though I can follow the equations math... |
I was speaking to a very esteemed professional in Financial Risk and he mentioned that he always prefers to use Historical Simulation as the method for his VaR even if he prices his Exotic derivatives (such as Barrier Options) by using the Monte Carlo simulation method.
I asked how this would be done, re-running the si... |
Slight confusion here; say I am long a 10y bond and short the same bond 3m fwd.
Roughly over 3m I earn:
Carry on my spot pos = 3m9.75y yield - 10y yield.
Roll on my spot = 10y yield - 9.75 yield
Total on spot = 3m9.75y yield - 9.75yield
Roll on my fwd = -(3m9.75y yield - 9.75y yield)
Total is 0.
Theres clearly an issue... |
I'm wanting to calculate the covariance between two portfolios $A$ and $B$ which are allocated to assets $X_i$ (where $i \in \left[1, 2, \cdots, N \right]$) with weights $\vec{w_A}$ and $\vec{w_B}$, respectively. Assuming I already have the covariance estimated between these assets ($\Sigma_X$), I know I can calculate ... |
Liquid vanilla EuroStoxx50 dividend futures options quoted on Eurex are calls or puts whose expiries are the same as the expiry of the underlying futures contract.
Is there any "simple" model calibrated on such liquid dividend futures options that one could use to price calls or puts options on EuroStoxx50 dividend fut... |
Pretty much all discussions and examples I have seen discussing carry and roll down for fix-flt interest rate swaps are ones where the forward date coincides with the coupon dates on both legs.
It seems to me it is not particularly obvious what numbers for carry and rolldown a swap-trader would like to see when for exa... |
I am wondering what the practical use of the Black-Scholes Dual-Delta is?
I know it is the first derivative wrt the strike price:
$$
\frac{\partial V}{\partial K} = -\omega e^{-r T} \Phi(\omega d_2)
$$
where $\omega = +1$ for a call and $\omega = -1$ for a put.
But I don't have any intuition of the practical use, since... |
Let $a < K < b$, then this option formula is:
$$\left(K - \frac{1}{\int_0^T\mathbb{1}_{\{a<S_t<b\}}dt}\int_0^TS_t\mathbb{1}_{\{a<S_t<b\}}dt\right)^{\large+}$$
|
I am trying to replicate the prices in prediction markets
For example on below manifold calculates, how does new probability and payout estimate changes on manifold
or on Futuur example similarly, how is if you win amount, and avg price/share calculated
|
I've been working on this code for weeks now, and I'm still not convinced by the results. I think there's a problem with the computation of the profit and loss, but I'm not sure. I would love some help.
for i in range(0, len(df)):
if i < 1:
prev_signal = 0
else:
prev_signal = si... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.