instruction stringlengths 35 27.7k |
|---|
I am looking to find an expression for the standard deviation log returns of a stock price process.
I have a stock price which follows the following dynamics:
$dY(t) = Y(t)(r(t)dt + η(t)dW(t))$
Here, W (t) is a two–dimensional vector–valued Brownian motion with independent components and η(t) is a two–dimensional (ti... |
Some exchanges, such as Binance, charge a fixed interest rate as part of the funding rate. Having longs pay shorts doesn't quite make sense to me because it causes spot to trade rich to perpetuals ever so slightly -- and I don't know why this is desirable.
The interest rate is peer-to-peer so the exchange doesn't take ... |
I see that Libor $L(t,S,T)$ is a martingale under $T-$forward measure. Where we used argument that zero-coupon bonds are martingales under $T$-forward measure, as zero-coupon bond is a traded security.
We also have arguments that "money account discounted no divident, tradable security is martingale under risk neutral ... |
I want to understand conceptually the expected effect of the number of monitoring points used during the average calculation on Asian options pricing and the reason of such effect.
Asian Options depend on the average of the underlying stock price. The average can be computed with all the available stock prices, or one ... |
I am looking at pricing VIX options and futures using Monte Carlo simulation. Most papers recognise that VIX can be written in terms of the S&P500 index itself, namely as:
$$
VIX_t = \sqrt{-\frac{2}{\Delta}\mathbb{E}^{\mathbb{Q}}\Big[\ln \frac{S_{t+\Delta}}{S_t}\Big | \mathcal{F}_t \Big]},
$$
if we disregard interest r... |
I am trying to decompose option prices into various greeks and trying to see if I can recover option prices from various of its greeks.
At the start of certain time t(0), I calculate option option delta, vega, gamma.
Now, I have the underlying prices and option prices at every second sampled from a tick data set, so th... |
In Basel III, FRTB SA includes different market risk capital requirements for interest rate (GIRR §21.19) and credit spread risk (CSR §21.20) exposures. These are different risks, as credit spreads and risk-free rates can change independently.
As to the first approximation for those risks - delta - sensitivities are PV... |
In volatile markets only a small number of factor are sufficient for factor based statistical arbitrage to work well. This is an empirical observation. Why would this be? Have others noticed it as well?
|
Can anyone guide me to links or literature regarding onshore vs offshore curve construction?
What kind of instruments do you use?
Take for CNH (offshore) (vs) CNY (onshore curves) for example:
For CNY onshore curves, when are the curves used for what products? Also, what are the instruments used under what collateral r... |
I realize that this question may be verging on asking for the proprietary/"secret", so if suggestion of a general approach that doesn't divulge details isn't really possible, I understand.
From what I've seen of the literature, the usual approach to profiting off of modeling options seems to be of a sell-side/market-ma... |
I was just wondering whether it was possible for long payer swaps to have a negative dv01 and vice versa for a short payer to have a positive dv01? Intuitively by definition of payers and receivers I didnt think this was possible, but I was recently pricing some payers/receivers on Bloomberg and saw that this was in fa... |
A formula for computing the discount margin of a floater is provided in an image displayed in this answer as well as below. The image below comes from page 14 of the paper "Credit Spreads Explained" by O'Kane and Sen in 2004.
However, no precise definition or formula is provided for $L_{\operatorname{stub}}$. I believe... |
I have been looking to understand the H-model in finance, that is used for stock price valuation. In particular, I wanted to formally derive the final formula:
$$PV=\frac{D}{r-g_2}\left[1+g_2+\frac{H}{2}(g_1-g_2)\right]$$
Here $PV>0$ is the present value (price) of the stock, $D>0$ is the constant dividend payment that... |
I am looking for a way to obtain dates and amounts of each cashflow in a leg, without having to pop the cashflows out of the leg, like this
for i in range(leg.size()):
x=leg.pop()
print(x.date(), x.amount())
|
I'm having a question about this characterization of Brownian Motion :
Theorem :
If a process : $\big( X_t \big)_{t\geq 0}$ satisfies these conditions,
$\big( X_t \big)_{t\geq 0}$ is a Gaussian process,
For all $t,s\geq 0$ : $$\mathbb{E}(X_t)=0\quad \text{and} \quad \mathbb{C}ov(X_s,X_t) = \min(s,t)$$
$\big( X_t \bi... |
Just want to confirm - Gross Basis for Bond A, deliverable into a Future:
Gross Basis [A] = Clean Price [A] - Futures Price x CF [A]
where CF [A] = Conversion factor of Bond A.
Is this due to:
Gross Basis [A] = Dirty Price [A] - Invoice Price [A]
Where:
Dirty Price [A] = Clean Price [A] + Acc Int [from last coupon to n... |
Fix $T > 0$ a finite time horizon. Let $H$ be an adapted (or progressively measurable, if needed) continuous process and S be a continuous semi martingale, both on $[0,T]$. Under what conditions is the stochastic integral $H \cdot X$ a martingale ?
For example is it enough to ask that
\begin{equation}
\Bbb{E}[\int_0^T ... |
We know that no unique equivalent measure exists in an incomplete market. Therefore, we need to choose a pricing measure equivalent to the physical measure based on a criterion. One typical approach in such a situation is to use the concept of minimal entropy martingale measure which minimizes the distance between the ... |
How can I compute the derivative of the payoff function for an American put option?
In the paper "Smoking adjoints: fast Monte Carlo Greeks" by Giles and Glasserman (2006) they compare two methods to calculate pathwise derivatives:
Forward method
Adjoint method
Both of these methods requires the derivative of the pay... |
I have learnt that the Sharpe ratio is a measure of the annualized return rate mean over the annualised standard deviation of return rate distribution.
I also learnt that when compounding, the mean of the return rate distribution does not correspond to the overall return rate at the end of the test period (the classic ... |
From what I understand, orders in some dark pools are typically matched at the midpoint price, and matching prioritized in size, price, time.
Market orders execute at the midpoint.
Limit orders execute at the midpoint only if the midpoint is equal to or better than the specified limit price.
Given the aforementioned cr... |
I am trying to evaluate the present value of some cashflows and QuantLib does not return the discount factors that I am expecting.
I have a Risk Free (Zero Coupon Bond) Yield curve:
import QuantLib as ql
dates = [Date(1,12,2022), Date(2,12,2022), Date(1,1,2023), Date(1,2,2023), Date(1,3,2023), Date(1,4,2023), Date(1,5... |
This question may be not be very relevant to quantitative finance, but I guess fixed-income modellers may encounter this some time as well.
The question is about the days to settlement for US corporate bond transactions. My current understanding is that they used to be settled as T+3 before Sep 4, 2017. In 2017, SEC ha... |
I'm new to quantitative finance and interested in performing a PCA on the implied volatility surface. However, my dataset displays certain point changes over time. As a result, I need to interpolate the data to obtain fixed points on the surface with fixed moneyness and maturity. How do I do this for each calendar day ... |
If I am testing a trend-following strategy, should I detrend the data before applying the rules or should I generate signals based on the original price series but use detrended data for performance evaluation ? If I use a trend-following strategy with detrended data, it may not generate signals as it would with real p... |
I was wondering why RangeAccrualFloatersCoupon is not accessible through SWIG QuantLib. I am currently using QuantLib python. Can anyone help ?
Regards.
|
Are there errata in the Brigos's text of Interest Rate Models in chapter 16 when it is defined the YYIIS payoff? In formula (16.3) is defined Party A's payoff as:
\begin{align}
\\
N\psi_i\left[\frac{I\left(T_i\right)}{I\left(T_{i-1}\right)}-1\right]
\\
\end{align}
Where $\psi_i$ is the floating-leg year fraction for th... |
If the discounted price of any asset is a martingale under risk neutral measure, why is $E^Q[e^{-rT} (S_T-K)_+ | F_t]$, not merely $e^{-rt} (S_t-K)_+$?
This is something I wanted to clarify, since that's the definition of a martingale. Instead we use the lognormal distribution of the stock price and solve the expectati... |
$$\frac{dX_t}{X_t}=\alpha\frac{dS_t}{S_t}+(1-\alpha)\frac{dS^0_t}{S^0_t}$$
where $\alpha$ is proportion of the investment in the risky asset $S_t$ and $S^0_t$ is the risk-free asset. $S_t$ follows a geometric Brownian motion,
$$\begin{aligned} \frac{dS_t}{S_t} &= \mu{dt} + \sigma{dW_t} \\ \frac{dS^0_t}{S^0_t} &= r dt \... |
Very simplistically, ERISA rules require corporate pension plans to use market rates to discount their liabilities. If interest rates go up, the value of their pension liabilities goes down. Since asset values are also marked to market using market rates, their assets have similar treatment and therefore it is self h... |
It might be a very simple question but for some reason I’m a bit confused.
Let’s say we enter a long SOFR vs fix interest swap at par. Say 5 year swap with annual coupons (the rfr is daily compounded and paid at each annual reset). The swap rate will be the average of forward rates weighted by the DFs (5 periods so 5 s... |
I use an ARMA-GARCH model for univariate distributions and a copula model for the multivariate distribution. For the value at risk (VaR) estimation, I do a Monte Carlo simulation. I'm looking for some general reasons why VaR estimations over- or underestimate the VaR in the sense of this answer. And what would be some ... |
Why do we need an ex-dividend date? What is the problem with the ex-dividend date being the same as the payment date? Why are they separate? What problem does having a separate ex-dividend date solve?
For example, at the moment - a company announces a \$1 dividend on 12 May with ex-div date of 12 June and a payment dat... |
I'm reading Option Pricing: A Simplified Approach and have a question. Assume the binomial tree model for the stock. So
$n$ discrete time periods
$S$ is stock
$C$ is call
$K$ is strike
$u$ is upward move
$d$ is downward move
$r$ is total return $1+R$ where $R$ is the interest rate
no arb: $d < r < u$
$q$ is probabilit... |
Suppose I have two Geometric Brownian motions and a bank account:
$$dB_t=rB_tdt$$
$$
dS=S(\alpha dt + \sigma dW_t)
$$
$$
dY = Y(\beta dt + \delta dV_t)
$$
Where $dW_t$ and $dV_t$ are independent Wiener processes. Now suppose that I have a martingale measure $Q$ such that $d(S_t/B_t)$ is a martingale. Then we have:
$$dS... |
Should I back-test in a single (original) price series and bootstrap the strategy returns to get statistics of interest?
Or should I create bootstrapped price series using bootstrapped returns from the original price series and run the strategy on those? The latter one requires significantly more computational power.
|
I need to build a Liquidity Risk report at my intern job. There, I consider an MDTV90 (Median Daily Traded Value for 90 days, a measure of liquidity) for each asset we trade to find how many days we spend to sell it (Days to Sell). It is quite easy for equities because historical data is widely known. Although, when ta... |
I can't find the below statement anywhere (rearrangement of Black-Scholes formula) :
$C(0, S) = e^{-rT}N_2[F-K] + [N_1-N_2]S$
$F$ being the forward, it reads as a straightforward decomposition to intrinsic value (1st term) and extrinsic/time value (2nd term). This may answer the famous question what is the difference b... |
There is a folklore white noise hypothesis related to (and equivalent to some forms of) the efficient market hypothesis in finance -see references below. But are there some asset pairs whose return time series (or perhaps some "natural" transforms of those time series) are approximately noises of another color than whi... |
Dear Quant StackExchange
I seek some intuition for how my portfolio behaves given constraints.
In a universe of say 5 assets, I have a "target portfolio" with weights that are found from risk budgeting, $w_T$. But I also have a benchmark ($w_{BM}$) that I care about minimizing my tracking error volatility towards. That... |
It seems to me like historic backtesting is the best of bad options out there for me to test my systematic strategies - even ones that are more macro-level trend spotting. I can't test enough scenarios since history is constrained by types of events that have occurred. I want to be robust in my testing and test all pos... |
I tried finding upper bounds for each component in terms of E_1 using the put call parity but couldn’t get the correct answer.
|
I'm reading Antonie Savine's fascinating book Modern Computational Finance AAD and Parallel Simulations. However, I got a bit confused while reading and couldn't make sense of how it works in his work. To be more specific, in the following paragraphs:
We developed, in the previous chapter, functionality to obtain the
... |
In this derivation of Black's formula for puts, we have that $\mathbb{E}[e^X 1_{e^X \leq K/S_0}]$ somehow equals $S_0 e^{\mu + 0.5 \sigma^2} N$ (as above in the formula).
I tried breaking apart the formula into
$$\mathbb{E}[e^X 1_{e^X \leq K/S_0}]) = \mathbb{E}(e^X)\mathbb{E}(1_{e^X \leq K/S_0}) + \operatorname{C... |
The common stock of the bank is considered to be a part of the Tier 1 capital, but it is also subject to market risk. The Investopedia definition distinguishes between Tier 1 and Tier 3 capital by the latter carrying market risk.
Why is common stock of the bank considered to be a Tier 1 capital? Wouldn't during a liqui... |
I'm currently studying the Vasicek model of the short interest rate
$$dr_t=a(\mu-r_t)dt+\sigma dW_t$$
I know how to solve this stochastic differential equation (SDE) and how to find expectation and variance of $r_t$. Then I wanted to find the function to describe the evolution of the price $B(r_t,t)$ of a zero-coupon b... |
I have bootstrapped a curve using several depo and swap rates and am trying to use that curve to get the NPV of a swap over a period of time. The generation of prices iteratively through time is incredibly slow. Given that i'm only pricing over a 4 month period I wouldn't expect it to take 30 minutes. Am I doing som... |
We know that 2 strategies can give the same Sharpe Ratio, but with different Maximum Drawdown. I computed myself these 2 strategies having the same cumulative return and SR, but with considerably different Max Drawdown to highlight this :
I am currently optimising my strategy parameters with either one of these 2 meas... |
Consider a pair of American and European puts with the same specifications except the former has the continuous early exercise right. Has anyone plotted the Gamma's of both as functions of the underlying price and time to expiry for the underlying greater than the critical exercise price? Is the American put Gamma nece... |
I have a very detailed dataset - for each minute I can see 3 best bid and ask prices with associated quantities. Which measure of volatility would you use in such dataset? Some volatility measures use only the close price; Garman-Klass uses Open, low, high and close; but here it is much more detailed.
Here I would like... |
I'm trying to use Python to give me more information about drawdowns than just the max drawdown and the duration of the max drawdown. I would like to determine the number of drawdowns that have occurred (beyond a certain day count threshold), the average drawdown, and the average drawdown length. I found this question ... |
I was reading the book Stochastic Calculus for Finance II by Shreve and I read the proof that the forward price for the underlying $S$ at time $t$ with maturity $T$ is given by
$$
For_S(t,T) = \frac{S(t)}{B(t,T)},
$$
where $S(t)$ is the Stock at time $t$ and $B(t,T)$ is the price of a ZCB at time $t$ maturing at time $... |
I am trying to price SOFR swaps in two different dates (the same swaps, just different curves and dates)
This are my initial parameters:
curve_date =ql.Date (9,5,2022)
ql.Settings.instance().evaluationDate = curve_date
sofr = ql.Sofr() #overnightIndex
swaps_calendar = ql.UnitedStates(ql.UnitedStates.FederalReserve)#ca... |
Apparently there's a new IRS rule that can be summarized as "starting January 1st, 2023, investors who are not U.S. taxpayers must withhold 10% of proceeds from the sale of PTPs (Publicly Traded Partnerships) which do not have an exception."
While I'm normally used to taxes on income or profit, this seems to be a tax o... |
1.Assuming a one period economy with two assets in which cash flows are assigned certain probabilities, using the CAPM, we can derive the P0 given the E(CF) at t1. Within this distribution, we have idiosyncratic and systematic risk (total volatility). Traditionally, it is assumed that this stochastic process is station... |
I am struggling with this concept of risk neutral probabilities.
My understanding of how a risk neutral pricing framework works is as follows: (discrete, binomial lattice for simplicity) I do not know the actual or real world probability "P" of Upstate of say a risky bond. Say the price in the market (assuming it is co... |
It is my understanding that open interest option values on financial websites are a reflection of a snapshot value each day. Is anyone aware of methods for estimating intraday open interest, or aware of any financial data vendors that offer their estimations on this?
|
In this wikipedia page, we consider the following financial market
The formulas for the stocks are given here
And the gain process of a portfolio $\pi$ is defined such that
From what I understand, the first term of the formula of the gain process is due to the riskless asset, meaning that we consider undiscounted qu... |
The company will have to pay out an amount of liabilities $13594$ at the moment $t=9$. In $t=0$ they want to cover it with 4-years zero-coupon bonds and yearly perpetual annuity that is due in arrears using immunization strategy (match the duration of portfolio assets with the duration of future liabilities). How much ... |
I was reading a textbook about finding the price of an option on a one-period binomial model.
The textbook way of doing it is to replicate the option with cash and stock for $t=T$, and then calculate the portfolio value at $t=0$.
For example:
$r=0.1, s=10, u=1.2, d=0.7, p_u=0.2,p_d=0.8$
we want to find the price of a c... |
I am currently trading forex on capital.com but since they don't offer tick data I am considering to fetch the tick data from polygon.io and then trade on capital.com.
Though I am wondering if this is a bad idea?
I am still new to quantitive trading so I would love some advice.
|
Just noticed after upgrading to the most recent version of Quantlib Python that the class ql.SabrSwaptionVolCube is now available. This is a very useful class in that it behaves in very much the same way as the now deprecated ql.SwaptionVolCube1 class and takes the same inputs (swaption ATM vol matrix, strike spreads, ... |
In this paper, Labordère, the author computes a probabilistic representation of the the vanna/vomma(volga) break-even levels. He mentions that they can be used to calibrate LSV models to historical vanna/vomma BE. Does anyone know how can you do that? and why would you calibrate your model to these BE?
Thanks in advanc... |
In derivative pricing models, we often use the letter $q$ to designate the dividend yield i.e.:
$$\textrm{d}S_t=S_t((\mu-q) \textrm{d}t+\sigma\textrm{d}W_t)$$
for the price process $S$ of the stock.
Is there some historical reason for this notation convention? Or maybe a reference to some term I don’t know?
I can imagi... |
A call price is bounded when $\sigma\sqrt{T}$ goes to $0$ and $\infty $ by:
$$C_{inf} = e^{-rT}[F-K] \leq C \leq C_{sup}=S $$
Now a simple rearrangement of Black-Scholes formula gives:
$$ C = N_1S - e^{-rT}N_2K = e^{-rT}N_2[F-K] + [N_1-N_2]S$$
$$ = \frac{N_2}{N_1}N_1e^{-rT}[F-K] + [1-\frac{N_2}{N_1}]N_1S$$
$$ ... |
Suppose $W$ is a $\mathbb{P}$-Brownian motion and the process $S$ follows a geometric $\mathbb{P}$-Brownian motion model with respect to $W$. $S$ is given by
\begin{equation}
dS(t) = S(t)\big((\mu - r)dt + \sigma dW(t)\big)
\end{equation}
where $\mu, r, \sigma \in \mathbb{R}$.
Thanks to Girsanov theorem, we know that ... |
I'm new to applying the Black Litterman model. One point that is troubling me, from a multi asset point of view, is the market portfolio as the starting point for the model. Correct me if I'm wrong but this is based on the entire estimated allocation of the market to a particular asset. So for a stock, this would be it... |
Given a set of calibrated SABR parameters, what is the approach to get the implied vol for a given delta ?
thanks
|
XCS (cross currency swap) can be:
Float vs float #1
Fixed vs fixed #2
Float vs fixed #3
#2 can be constructed with 2 fixed vs float irs and 1 xccy basis swap #1
#3 can be constructed with 1 irs and #1
An FX swap is equivalent to #2 risk wise (I think?)
Is it true that:
#1 has fx risk, interest rate risk for each ... |
In the Longstaff & Schawartz article they condition on using In-The-Money (ITM) paths only for the regression. The reason for this is to obtain more accurate results and also reduce the computational burden. However, if I blindly implement this approach and the consider an American Put option that is far Out-of-The-Mon... |
Building an API that integrates with backtrader and QuantConnect to run some backtests. I'm passing in machine generated data and I just want to make sure I'm not sending them too much stuff.
so what data does Backtrader and QuantConnect collect from users?
|
Say we’re selling a TRS on a local MSCI index denominated in USD and delta hedge it by buying eq futures on that local index denominated in local currency (non USD). Let’s also ignore repo/div/ir risk and only look at fx and funding.
One option would be to sell an fx spot (sell usd, buy local currency) replicating the ... |
As stated in the title, who first derived the formula
$$
\text{Varswap strike} = \int_{\mathbb R} I^2(d_2) n(d_2) \, \mathrm d d_2
$$
where $d_2$ is the Black-Scholes quantity
$$
d_2 = \frac{ \log S_t/K}{I\sqrt{T-t}} - \frac{I\sqrt{T-t}}{2}
$$
and $n(d_2)$ is the standard normal density function?
The earliest reference... |
There are two stocks: $S_t$ and $P_t$
$$dS_t = S_t(\mu dt + \sigma dB_t)$$
$$dP_t = P_t((\mu + \varepsilon) dt + \sigma dB_t)$$
Is there any risk-neutral measure?
My thoughts are pretty simple: $μ$ is for the physical measure, so there's no risk-neutral measure. Please shed light on this question.
|
It seems incredibly difficult to not only come up with a list of options for active risk of private assets (Private Equity, Private Credit, Infrastructure, Real Estate, etc.) but also get senior people agree on what the active risk limit should be. The crux of the issue appears to be modelling assets in your portfolio ... |
I'm thinking about the relationship between the volatility of a bunch of single stocks and the US VIX - as the companies in question tend to export heavily to the US.
To get a grasp over the beta involved, I was thinking about taking 5-day changes in the single stock implied vols (interpolated to a constant maturity li... |
I am trying to solve this problem where we're asked to compute the quadratic variation of a process.
I assume that it is necessary to apply Ito's formula but not sure how to get the right solution.
Furthermore, I'm also not sure about how to apply Ito's formula to a function that includes integrals like this one. I am ... |
This is the simplest backtest I've come up with, yet I can't figure out how TradingView has calculated the Sharpe ratio to be 0.577. I've set the risk_free_rate=0. Is it possible to extract the formula that TradingView is using from this simple example, or more data is needed?
|
My question is related to this thread, but I'm interested in a special case. Suppose that the price of an asset starts at 100 USD, and changes according to a geometric random walk; one step of 1% either up or down at each second. You start with an equity of 100 USD, and you put 100 USD at each trade.
The strategy is a ... |
Let (B, S) a multi period binomial model that is arbitrage free.
I would like to prove that the unique optimal exercise time for an American call option is the maturity time T. My idea is to prove this result by contradiction. I want to find an exercise time t<T, such that there exists an arbitrage opportunity, so that... |
I would appreciate any help or guidance please as I do not understand how to find the corresponding portfolio to use as benchmark to find the Excess Return that is used in the Baseline Regression model of Faulkender & Wang (2006). My doubt is with the dependent variable:
$$
r_{i,t}-R^{B}_{i,t} = \text{independent varia... |
Consider the following asset pricing setting for a perpetual defaultable coupon bond with price $P(V,c)$, where $V$ is the value of the underlying asset and $c$ is a poisson payment that occurs with probability $\lambda$.
Both $V$ and $c$ evolve as geometric Brownian motions, potentially correlated with:
$$\frac{dV_t}{... |
I recently saw someone write, on a generally non-technical platform, that the Black-Merton-Scholes vanilla option price is the first term of an expansion of the price of a vanilla option.
I get that in the context of stochastic volatility models by making use of the Hull and White mixing formula. And thus also for the ... |
I'm playing around with QuantLib and trying to price an interest rate cap using HW 1F model.
import QuantLib as ql
sigma = 0.35
a = 0.1
today = ql.Date(18, ql.May, 2023)
ql.Settings.instance().setEvaluationDate(today)
day_count = ql.ActualActual(ql.ActualActual.ISDA)
forward_rate = 0.075
forward_curve = ql.FlatForwa... |
I am trying to understand how transfer pricing is accounted for for margined trades.
The treasury department within a bank will provide trading desks funding at some base rate plus a transfer pricing spread: the cost of funding.
For an uncollateralised derivative, future payments should be discounted at this funding co... |
I'm looking for a library like BackTrader or platform that is written in C++ for backtesting.
Is C++ a good choice to write a backtester and are any available?
|
I encountered this phrase in the textbook by Hans Schumacher
For the purposes of this textbook, a mathematical model for a financial market consists of a specification of the joint evolution of prices of a number of given assets. Further information that may be important in practice, such as trading restrictions,
are ... |
I am building a VaR model (in Excel using the variance-covariance method) for a portfolio containing stocks, bonds, and an ETF. Additionally, there is a put option (out of the money) that is there to hedge the downside risk of my position in the ETF. The ETF tracks the MSCI index.
My question is, how do I implement the... |
I'm sure there's an obvious answer to this question so apologies. But reading through this seminal paper on the SABR model, the author's provide an explicit formula for the (normal) implied vol of a $\tau$-expiry, strike $K$ option, $\sigma_N(K)$ (ibid. equations A67a,b). For the case $\beta=0$ (i.e. for a Bachelier di... |
Ok, this is a bit of a long read, so be warned..
I am currently learning about the so called "Stochastic collocation" technique which seem to have been quite popular during recent years for different applications in finance.
To get some feeling for the method I have made an attempt to implement the method used in the a... |
For example, what does "outright" mean in outright OIS swap? Another similar question, what does "USD fedfund is marked as outright" mean? Thank you
|
I've been analyzing Tesla stock American options data and have observed an interesting pattern that I'd appreciate some help understanding.
For this analysis, I obtained the Implied Volatilities (IVs) by reversing the Binomial Option Pricing model specific to American options and used the current market price derived v... |
Many year ago, I worked on the pricing of IR products (Floating rate swap, CMS swap, Cap, Floor,...)
Libor rates are now replaced by SOFR rate. I would like to know
What are the new IR products (Floating rate swap, CMS swap, Cap, Floor,...) after the replacement of Libor rates by SOFR rate? And how are these new IR pr... |
In the binomial tree options pricing literature, I see frequent reference to the definition that
$$
u = e^{\sigma \sqrt{n/t}}
$$
I think I understand the model, but how do we derive this, i.e. how do I fit the model to data? I've tried to derive it myself but get a different answer, namely
$$
u = \exp(\sigma / 2\sqrt{n... |
I'm trying to improve my understanding of valuation under collateralisation.
One point that is made within multiple sources is for an uncollateralised derivative, how a future cashflow is equivalent to a loan made to that counterparty, and how the holder of the derivative must take that loan.
I just can't see this equi... |
Upvar and downvar swaps are examples of conditional variance swaps.
For example a downvar swap only accrues variance for day $i$ (the day whose logarithmic return is $\log S_i/S_{i-1}$) if the underlying $S$ is below a threshold level $H$. This condition can be definded in 3 ways:
$S_{i-1} \le H$,
$S_{i} \le H$,
Both ... |
(Note there are similar questions, with different focuses at this forum, but my focus is more on the general concept, if any, about backtesting (for stocks) and sources of information where I can go to, if any, sorry if any duplicates)
I have started to use a backtesting system for the local stock market (Taiwan), I do... |
I've googled and read many articles about "ROIC" and "Invested Capital", but I'm still confused about how to calculate them.
The best explanation I've seen so far is:
Invested Capital (from CFI)
Invested Capital Formula (from EDUCBA)
Invested Capital Formula (from WallStreetMojo)
There are at least two ways to calcu... |
In this paper Elliott, R., van der Hoek, J. and Malcolm, W. (2005) Pairs Trading., the spread (state process) is assumed to follow a mean reverting process $x_{k+1}-x_k=(a-bx_k)\tau+\sigma\sqrt{\tau}\varepsilon_{k+1}$, and the observed spread is assumed to follow a (observation) process $y_k=x_k+Dw_k$.
In section 2.3, ... |
I try to compute the local volatility in python in both formula, i.e. in terms of call price surface and total variance surface.
However, I get 2 different values. What did I do wrong?
import numpy as np
from scipy.stats import norm
today=44935
date1=44956
t1 = (date1-today)/365
a1=0.00403326433586633
b1=0.0393291646... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.