instruction
stringlengths
35
27.7k
In practice, how do people usually delta hedge options the day before expiry? Would you still use the black Scholes delta and then close out the position in the underlying immediately after expiry? After all, the day before expiry the option becomes "binary" in some sense, I.e. it expiries either ITM or OTM. For strike...
I have some problems with the Montecarlo simulation to price a generic Call option. I want to explain something regarding MC simulation with a simple cases, and after that I am going to talk about my problem. Montecarlo - Simple case: considering a set of parameters: S=1, K=1, sigma=0.5, r=0, T=1, N=1000 (number simul...
For Gaussian random variables $\xi_t$ with mean $\mu_t$ and standard deviation $\sigma$, consider the random walk with initial condition $P_0=100$, such that \begin{equation} P_t=P_{t-1}(1+\xi_t). \end{equation} I assume that variance of $P_t$ satisfies \begin{equation*} \begin{split} \text{Var}P_{t}&=\text{Var}\le...
I fitted several models on a realized volatility process and then proceeded to obtain out-of-sample results. I'm struggling to interpret these results apart from to tell model A seems better than model B. In particular, I am looking to answer the question: "Does model A have satisfactory forecasting performance?". I se...
I am running a GARCH(1,1) on return data. For some data sets, I am getting an $\alpha=0$ and a $\beta$ of 0.999. Is this normal? If so how should I interpret it? Here is my code, here j are daily returns spec2<-ugarchspec(variance.model = list(model = "sGARCH", garchOrder = c(1,1)),mean.model = list(armaOrder = c(0, 0)...
I posted a question a few days back: (Quantatively identifying stocks to short when overall market starts to roll-over) @rubikscube09 suggested that stock beta could be of potential use to identify stocks to short when overall market rolls-over. To see the potential of this idea I analysed the ASX200 for the Feb20 sell...
I am trying to use QuantLib Python to price a fixed rate bond, based on the following data: Issue date is 28 September 2017 (issueDate), maturity date is 28 September 2024 (maturityDate), the bond is being valued as at 31 July 2020 (valuationDate), and coupons of 5% of face value of $1000 are payable on a semiannual ba...
As per ISDA protocol and supplements, they stated that the fallback rate to be used on legacy derivative contracts is the compounding in arrears SOFR rate (based on a 2-day backshift) + a fixed spread adjustment (which will be published by Bloomberg). In other words, the derivate market will not actually make use of a ...
I need your help with understanding and solving the HJM framework. I am hoping I can get some help as I feel so lost with HJM and learning online because of the pandemic is adding more stress. Anyway this is the problem: Problem An HJM forward curve evolution by parallel shifts is then of the form $$ f(t, T)=h(T-t)+Z(t...
Over the years I have read all of Taleb's Incerto. I recall him more or less writing that "stock returns have no second moment". Hence stock volatilities, defined via the standard deviation are infinite. I also recall him saying that it is obvious that given a finite sample, an estimator of the standard deviation can b...
From a paper of Gao, Whited, and Zhang (2021), I saw a paparagraph We deviate from this traditional specification in three ways: we examine only money held by corporations, we include real GDP growth in the regression to control for economic fluctuations over the business cycle, and we use real instead of nominal inte...
I have come across this page from CME which provides O/N rate for various terms: https://www.cmegroup.com/market-data/cme-group-benchmark-administration/term-sofr.html I am confused on this specification. What does 6m SOFR as 0.05144 mean? SOFR is essentially overnight rate, so for a given day (closing) I would expect ...
Suppose we have an FX option with the underlying FX rate $X^{FOR/DOM}$ and suppose we used a Black like formula to get the price, which is given in domestic currency. How can one simply convert the premium in the domestic currency to a premium in the foreign currency without having to reprice the option? Thanks
Marcos López de Prado writes the following in his book Advances in Financial Machine Learning: In general, we need at least \frac{1}{2} N (N+1) independent and identically distributed (IID) observations in order to estimate a covariance matrix of size N that is not singular. For example, estimating an invertible covar...
for the Mini Nikkei Futures Contract traded at the Osaka Japanese Exchange, it states that the Tick Value is 500 Yen per Tick. But the actual contract is quoted in 5 Point Increments. Is the correct tick value 500 Yen per 1 Point, or 500 Yen per 5 Points ?
(Assuming current bond price is quoted and maturity, par value, strike price all known..) I was wondering how do we calculate yield to call on American style callable bonds after the call date has passed - meaning - when the bond can be called any day until maturity. What we use for maturity date to calculate the yield...
I have economic calendar data since 2007 and currency indexes, I wanted to calculate wich average weight does news have in currency strength/weakness. I was thinking about using PCA, does anyone has a point of view?
Please help confirm/correct my understanding of hedging curve risk using futures. For example, if I purchased a 9y bond and hedged the duration risk (parallel shift) by shorting 10y treasury futures making net DV01 equal to zero, I would still have curve risk (e.g. risk of 9s10s steepening). If I could only hedge using...
There exist formulas to convert between normal and lognormal interest rate volatilities. In the most simple form the approximation for ATM volatilities would be $\sigma_{LogNorm}=\frac{\sigma_{Norm}}{\text{|forward rate|}}$. Such conversion makes it possible to calculate $\sigma_{LogNorm}$ also for negative rates, for ...
I'm currently trying to model the IV curve for calls and puts on SPY using the Black-Scholes model with dividends. I'm able to calibrate the risk-free rate and dividends so that both ATM IVs match, but no matter what I do, there's always an IV discrepancy that gets bigger and bigger toward the wings. Is there an effect...
I would like to know how a floating rate bond will be valued when LIBOR is used to compute the coupon cashflows and the bond is discounted using an OIS rate. Normally I have seen valuation of a FRB when both the coupon and discount curves are the same. What happens when these are different? Also, what happened would be...
I tried to compute the following covariance : $$Cov(e^{\int_{t}^{T}W^1_sds},\int_{t}^{t+1}W^2_sds)$$ where $W^1_t$ and $W^2_t$ are Brownian motions such that $dW_t^1dW_t^2=\rho dt $ My idea was to use Ito‘s lemma on the process $(e^{\int_{u}^{T}W^1_sds}\int_{u}^{t+1}W^2_sds)_u$ with $u<t$, and then try to find the exp...
I'm trying to price a forward start option with payoff $\Big(\dfrac{S_{T_2}}{S_{T_1}}-1\Big)^+$ with Heston Monte Carlo. Heston Model: $$ dS_t = rS_tdt + \sqrt{v_t}S_tdW_t^1$$ $$ dv_t = \kappa(m-v_t) + \alpha\sqrt{v_t}dW_t^2$$ The Heston parameter I use is: $\{v_0=0.01,\kappa=1,m=0.01,\alpha=1.5,\rho=-0.6\}$. I have im...
Typical trading interviews consider gambling problems such as rolling a dice and winning its face value. The expected winnings are $\\\$3.5$, $\\\$4.25$, $\\\$\frac{14}{3}$ for one throw, two throws, and three throws respectively. The expected winnings of $n$ throws may be calculated recusively knowing the value of $n-...
I need help. Defining the parametric stochastic integral $$ F_t = \int_t^T\xi(t,s)g(s)ds $$ $\\\\$ with $\xi$ a generic stochastic process such that $d\xi(t,s) = \mu(t,s)dt + \sigma(t,s)dW_t$, I'm trying to prove that $\\\\$ $$ dF_t = - g(t)\xi(t,t)dt + \int_t^Td\xi(t,s)g(s)ds$$ My first attempt was as follows : $$ \xi...
I'm reading Vuolteenaho(1999). In this article, the author investigates whether the variation in stock market valuation level is driven by expected future cash-flows or by expected returns. In part V.B and table 5, the author decomposes the variance of log book-to-market ratio into components using GMM. I know the vari...
AFAIK typically banks stress test it trading portfolio by assuming stressed value of risk factors or by considering times series corresponding to some historical stress period e.g. 2008-2009 financial crisis period. So my question is, is there any application of advanced machine learning techniques used by bank in thei...
I have question about this problem. I believe I have derived $f(t,T)$ correctly using the zero-coupon bond. But I am unsure about how to go forward with the question and how to use the second part. Question Note that $$ f(t, T)=-\frac{\partial}{\partial T} \log P(t, T) $$ Let us assume the HJM Framework. Assume that th...
My end goal is to build a volatility surface for caps. It's well known that SABR model has Hagan approximation formulas for log-normal and normal implied volatilities of options, e.g. caplets, therefore given quoted market volatilities of caplets with same maturities but different strikes one can use them to calibrate ...
If the libor rate stays the same -which implies that also the eurodollar future quoted price remains the same- (ie: jun '22 prices is trading at 99.8, and it expires at 99.8), does the investor that purchased this contract make money for buying this contract?
When looking at the actual daily values provided by the SOFR API it's a bit confusing when/where to use which values given they provide two sets of values with different dates, SOFR on a T-1 basis and SOFRAI on a T basis. ex: The values published at 8:30am on 2021-08-27 are as follows: When I want daily discounting f...
I am searching for books to self-study on undergraduate level on introduction to portfolio theory that has more math rigor than Modern Portfolio Theory and Investment Analysis and exercise with solutions. Edward E. Qian, Ronald H. Hua, Eric H. Sorensen looks good but it does not provide solutions to the exercises. The ...
Suppose we are seeking to value two swaps, with tenors of 2Y and 3Y with start dates on 30 Aug 2021 and semi-annual payments. I want to calculate the schedule of payments on the fixed leg. Consider the 2Y swap. The termination date is start+2Y so 30 Aug 2023 which is not an end of month date. We generate flows by stepp...
in Local Stochastic Volatility models I always read or hear "first the stochastic volatility model is calibrated to reduced vols and then the local volatility model corrects it" also I head that by reducing the volatility surface means flattening it. My question, why do you reduced or flatten the volatility surface in ...
If a bank owns an unmargined OTC derivative contract with mark to market valuation of \$X, is it required to borrow \$X from money markets in order to post that asset's value to its balance sheet? If so, what is the reasoning behind this requirement (rather than simply including the derivative's mark to market value on...
Assuming we are talking about the dual-beta idea where we restrict benchmark returns to negative (downside beta) and positive (upside beta), then I have the following confusions. Do we only interpret one side of upside beta? For example, for an upside beta of 1.5, we only interpret the upward movement in market returns...
Chaney, Jeter, and Shivakumar (2004, page 58) exclude firms with less than 1 million pound in total assets Further, we exclude firms with less than £1 million in total assets I am wondering why they have the benchmark and exclude firms with total assets higher than 1 million pound? Is there any international study al...
this is a basic question but I have not fully understood it. Let's say we have dividend paying stock (continuous dividend yield), when would we exercise the Option early? Since the Dividend yield is continuous I am a bit confused. If it was discrete I would say, in the case of a call Option, it could make sense to exer...
If you were a hobbyist in the process of building a subscription site that people are willing to pay for, how would you get US equity data in a commercially available form? I just need EOD delayed price data on US equities, no fundamentals or additional data. I know that you can contact data providers, but I assume the...
From my reading it seems that only trading days should be accounted for when calculating time to expiration. On the other hand, I see that VIX is calculated using every day until expiration without exception. Which way is best in the context of calculating the implied volatility of SPY options?
https://finance.yahoo.com/quote/XOMAP/profile?p=XOMAP https://finance.yahoo.com/quote/XOMAO/profile?p=XOMAO Both of the above two ticker symbols are for the same company (XOMA Corporation). It is not clear what their differences are. Could anybody show me what their differences are?
With the demise of Libor, and the arrival of the new risk free rates (RFRs), what are the changes that are occurring with regards to : Valuation of existing derivatives Creation of new derivatives In the former case, how do the current range of models (Black, HJM, BGM) need to be amended ? What product valuation mode...
In general, mortgage assets are negatively convex. However, I've seen cases of positive convexity and have never seen an adequate explanation for why this might be the case. I suspect it has something to do with where the portfolio sits on the S-Curve (maybe a highly burned out portfolio). My other hypothesis is a p...
I am aware why the price of the underlying security/commodity and its futures contract price would converge at expiration, i.e. if the underlying price was lower than the futures price, an arbitrageur could short the contract, buy the underlying at a lower price in the physical marketplace and deliver at the (higher) c...
I am trying to calculate the fair value via discounting the cashflows of the (synthetic underlying) for the euro bund futures (https://www.eurex.com/ex-en/markets/int/fix/government-bonds/Euro-Bund-Futures-137298). To save you some reading the underlying is a theoretical 10Y 6% per annum bond. It seems trivial to calcu...
This is going to be a embarrassingly basic question. But the answer seems to be hard to find. What does, say, selling, $d$ delta of calls mean? How is the "delta" defined? I am not asking about Greek as in $\frac{\partial V}{\partial S}$ where $V$ is the price of the option and $S$ that of the underlying stock.
My independent variable is the monthly returns of Stock A. My dependent variable is the monthly returns of Stock B. Returns are calculated using [(price at end of month) / (price at beginning of month)] - 1. If I run a simple linear regression, I get a regression coefficient of 2 for Stock A. Since my data are returns,...
If I have daily prices for $N$ stocks, how do I calculate the Sharpe ratio for an equal volatility weight portfolio? On each day, I have calculated log returns as: $$ r_{t}^{s} = \ln{price_{t}\over{price_{t-1}}} $$ I have then measured the standard deviation of each this series in a 60-day window, and normalised this s...
The definition of the internal rate of return is the interest rate that causes the net present value to equal zero. However, interest rates can be given in two forms: nominal and effective. So, is the internal rate of return a nominal or effective interest rate? Or both?
I found some unexpected result when trying to call AmortizingFixedRateBond wiht daily coupon payments, but starting in the last day of the month. settlementDays = 0 calendar = ql.Russia() nominal = 1000 startDate = ql.Date(31, 8, 2021) #ql.Date.todaysDate() duration = ql.Period('12m') frequency = ql.Monthly interest =...
I am trying to price plain vanilla interest rate swap (IRS) using QuantLib. What I am trying to do is to generate a path of simulated IRS price by simulating the interest rates using HW 1 Factor model. Here is what I have accomplished so far: import prettytable as pt import matplotlib.pyplot as plt import numpy as np ...
When valuing an Interest rate swap, counterparties will typically issue the contract at a Libor + credit premium, e.g. Libor +2%. When valuing a swap, we require a LIBOR forward curve and Discounting curve. Under the multi-curve methodology, we have an OIS discounting curve and the forward curve based on LIBOR rates. ...
Consider an equity option such as SPY and I'm long the skew, do I make money if puts raise in price and calls decrease or the opposite?
I'm watching a video where hedge fund manager Cem Karsan describes the basics of his strategy as a "skew swap". I understand that he's buying/selling index options at different maturities to draw a yield from the term structure of skew, but I can't find any info on what a "skew swap" actually is, i.e. what options make...
I would like to use the tests of Christoffersen (1998), Engle and Manganelli (2004) or Kupiec (1995) to evaluate how good are the VaRs that I have projected. Is there a library that implements these tests? Like the commands offered by the Risk Management Toolbox in MATALB (attached image).
looking to implement a realized kernel model to forecast realized variance of around ~140 equities and indices in Python given order book data. I have read "Realised Kernels in Practice: Trades and Quotes" and the associated papers by Nielsen et al and before reinventing the wheel by implementing from scratch I was hop...
I read somewhere (Ang, Brière, Signori: Inflation and Individual Equities, 2012) that in a given period if the inflation rate rises by 1% point (say from 1% to 2%), and the return of Asset A rises from 7% to 8%, then Asset A is “a perfect inflation hedge” during that period. I am struggling to understand why this behav...
I'm new to trading so pardon the entry-level question: Here's a screenshot of today's settlement for the September 2021 S&P futures contract on the Chicago Mercantile Exchange: The prior day's open interest is 2,584,125. If, in the futures market, every long has a corresponding short, how do we end up in a situation w...
If a market model is complete then every derivative has a unique arbitrage free price. However we are not starting with a model but with a arbitrage free Model class $\mathcal{M}$ (E.g. the Blackscholes model family). Let $\Phi(m)$ be the set of Martingale measures attached to a specfic model $m \in \mathcal{M}$. Comp...
Suppose a stock follows the stochastic differential equation $$dS=\frac{P-S}{\omega}dt+SdW_t,$$ such that $W_t$ is a wiener process, $\omega\in\mathbb{R}^+$, and $P_t,S_t\in\mathbb{R}$. If the value of an option is $V(t,S_t)$, what is the value of $dV(t,S_t)$ given by Itô's Lemma (i.e. similar to the stochastic derivat...
See the function here. It's my intent to measure the expected log return of the optimal trade with regards to long/short positions in a trading range. The trading range has an equilibrium where the maximal gains of the long position equate to the maximal gains of a short position which results in neither side gaining a...
What are the portfolio construction differences between equal-weighted and capitalization-weighted with regard to terms like reconstitution and rebalancing? Reconstitution seems very straightforward. In any portfolio structure, reconstitution occurs based on your criteria and securities are removed or added to your por...
I am asking whether the industry, or single banks, have made up their minds already on how to replace the 'missing' interbank risk compensation component in their variable rate credit products when transitioning from LIBOR to SOFR, or whether (and how) they are about to change the financing (or hedging) mix to more clo...
I am working on a financial data that entails forecasted revenue a company generates over a fiscal quarter and the actual revenue for that quarter. import pandas as pd df = pd.DataFrame({'Period': ["Q3'16", "Q1'17", "Q2'17","Q3'17"],'Predicted M1':[1000,1026,1023,1024],'Actual Earnings':[1010,1030,1020,1026]}) Every...
Just what the question says. I understand lots of equity derivatives have secondary exposure to stochastic rates, but I would like to understand if there is a payoff that has borrow rate as one of its primary risk factors.
I have some notes that state that the higher the value of $N$ in an $N^\text{th}$ to default basket credit default swap, the lower the credit risk exposure (to the party selling the protection) because it is less likely that there will be a payoff. Does this mean that the payoff of an $N^\text{th}$ to default basket cr...
If I lever up a JPY/USD futures with a 6% volatility/contract 2x to meet my 12% volatility target, how many contracts should I buy per $100,000 I have in liquidity? How do I size my position based on how much money I have?
Reading the literature I see that quite an effort is made to price derivatives in an incomplete setting. I see stuff like efficient hedging, indifference pricing, choosing $\mathbb{Q}$ by considering some metric to $\mathbb{P}$ etc. However I cannot think of a situation where on would use this. I imagine the derivative...
I need to show that the payoff: $([(S_{T2}-S_{T1})/S_{T1}]-k)^+$ a. Has 0 delta b. Has no sensitivity to quadratic variation of the underlying till $T_1$ Additionally, I would like to know for what payoff of the kind $f(S_{T1},S_{T2})$ do these results hold? Particularly, I would intuitively assume that a payoff of the...
For example, suppose we have an interest rate curve bootstrapped from multiple instruments, at the short end, we used eurodollar future (up to 2Y), at the longer end, we used interest rate swap (3Y to 30Y). Usually, if we want to know the delta of a trade for a specific tenor (e.g 2Y) of the curve, we can shock the 2Y ...
In the short rate models, sometimes it models the instantaneous short rate and sometimes it models the instantaneous forward rate. Does instantaneous short rate = F(0, t + tau) and instantaneous forward rate = F(0, t, t + tau)?
I am currently trying to adapt a model to a long short portfolio strategy. The model is stated here: A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem by Jiang, Xu, and Liang https://arxiv.org/abs/1706.10059 In Eq. (1-10), the portfolio process is formulated. The portfolio weight ve...
I am trying to calculate the Quarterly Marginal PD. I have calculated it as given in the below image but I am thinking about whether the Survival rate calculation is making sense or not. The probabilities of default in "column 1" per quarter are annualized quantities. My Question is When we have Quarterly PD, Is it cor...
I'm practicing for CFA level 1, and I faced this question. I don't understand the last part (802 − 481 = 321) because I understand that a company doesn't realize options of its own shares, if you are the owner of those options, you realize them at 6, get those 4812 dollars, buy 481 shares at price $10. So: Those share...
Can I run an OLS regression using varying holding periods for a stock? I want to find the relationship between returns of stock x and the 10 year treasury yield, but I want to find what happens if for the regression I use 1 month, 2 month, and 3 month holding period returns for stock x. If I run three OLS regressions (...
Assume we run an OLS regression with dependent variable of 3-month holding period returns of a stock, and independent variable of 10 year treasury yields. Assume regression coefficient is 2, so for every 1% point rise in 10 year yield, we expect a 2% rise the 3-month return of our stock. Since the coefficient explains ...
Let $\mathbb{P} \sim \mathbb{Q} \sim \mathbb{R}$ be equivalent probability measures on some measurable space $(\Omega, \mathcal{F})$, and let $\mathcal{G} \subset \mathcal{F}$ be a sub- $\sigma$-algebra. Show that $$ \left.\frac{d \mathbb{R}}{d \mathbb{P}}\right|_{\mathcal{G}}=\left.\left.\frac{d \mathbb{R}}{d \mathbb{...
really appreciate some guidance on how to get the following equality:
The definition of leverage is: $$L = \frac{\sum_i |H_i|}{C} $$ where $C$ is the amount of capital, $H_i$ is the size of holdings in asset $i$. This strikes me as a weird definition for several reasons: Cash holdings are not included in the summation If asset $1$ and $2$ are 99% correlated and $H_1+H_2 = 0$ then in the...
In a multiple linear regression model with independent variables x(t), x(t-1), x(t-2), etc. and dependent variable y, the “long run propensity” is defined to be the sum of beta coefficients in the entire model. I don't understand this definition, can someone explain the logic behind this please?
Wonder if anyone can help. Is there a product or mechanism to trade cleared stock options at the settlement price, in the same manner to Market on Close orders or Trade at Settle on commodity markets? I am particularly interested in standard SPX index options from a practical point of view, but am wondering if there i...
I am studying Joshi's book on C++ for derivatives pricing. I am at chapter 5 on implementing a statistics gatherers class to use in a (simple) MC routine for pricing vanilla options, where it is assumed that the underlying follows GBM. My question concerns one of the exercises where it is asked to compute the Value at ...
I know that a way of computing the price of a derivative paying $S^2$ at time $T$ is by making use of the following strategy: $V=\int_{0}^{\infty} s^2 \frac{\partial^2 C}{\partial K^2}(K=s)ds$ Where $\frac{\partial^2 C}{\partial K^2}(K=s)$ is simply the risk neutral distribution of $S$. Now, one should apply integratio...
i got the task to price a bunch of dual currency bonds (EUR/GBP/CHF/USD...) and i am a bit puzzled. As the notional of the bond is in EUR but the repayment is in USD, i assumed that for pricing purpose i could price the dual currency bond as a combination of a EUR-bond plus a cross currency swap. However, this does't s...
I am looking for a long time series of US Treasury bond returns (or index values). The problem with standard indices is that they go back to at most the 1980s, while I would like to also see the returns from the 70s. Publicly available sources like this one have long data but only in annual form, while I need at least ...
Can someone please help with the pricing of the following forward rate agreement using QuantLib Python? A 3x6 forward rate agreement, with a notional of $100,000, the FRA rate being 6%, The FRA settlement date is after 3 months (90 days) and the settlement is based on a 90-day USDLIBOR. My valuation date is 30 June 202...
Since the seminal paper by Fama and French(1993) that uses size, market, and value factors to explain extra market returns on the equity market, people have conducted tons of research on equity factor investing. Many factors such as growth, quality, ROE, etc., were discovered and used in actual trading. I want to test ...
I have been looking into the covariance between log spot returns and log IV returns over a variety of tenors and lookback windows. However I am not sure how these numbers relate back to the outright risk reversal level and if they are directly comparable. Is there an accepted approach for turning the realised covarianc...
Following the question that I have asked on this link and response obtained, I have managed to price a 3x6 FRA using QuantLib Python, using the following codes: import QuantLib as ql today = ql.Date(30, 6, 2020) ql.Settings.instance().evaluationDate = today calendar = ql.UnitedStates() startDate = calendar.advance(toda...
Let $X_t$ be a geometric Brownian motion: $dX_t = \mu(X_t,t)dt + \sigma(X_t,t)dW_t$ with $W_t$ a standard Brownian motion. Given the intervals $[t_{j-1}, t_{j}]$ for $j\in {1,...,U,...,N}$, let $M_j$ the maximum of $X_t$ over $[t_{j-1}, t_{j}]$ and $M_{i,j}$ the maximum of $X_t$ over $[t_{i}, t_{j}]$and $H$ a constant....
I am trying to derive this formula Θ = –0.5 × Γ × S^2 × σ^2 to see where it comes from. My thinking is that PnL = delta dS + Vdσ + 0.5Γ(dS)^2 + Θdt. Assume we delta hedged and vega hedged, first and second term drops off, so we have PnL = 0.5Γ(dS)^2 + Θdt. Now assuming no free lunch, PnL = 0. Hence, 0 = 0.5Γ(dS)^2 + Θd...
Yield curve steepening: long 2 contracts 2 year (2 contracts due to contract size), short 1 contract 10 year Vice versa for flattening. If the 2 year note has a expected volatility of 2% per contract (or 4% for 2 contracts) and the 10 year has a expected volatility of 6%, how can i calculate the expected volatility of ...
What is the difference between valuation of deliverable and non-deliverable European options? I am not asking settlement-wise, but daily valuation. Will Black-Scholes be used for both?
What is a good python backtesting library to use if I want to test buying and selling a list of different cryptocurrencies every day? Most libraries I find like backtesting.py and pyalgotrade are event-drive based on signals from a single asset. I would like to test an algorithm that buys a list of different assets eve...
I am reading Paul Wilmott on quantatative finance where he discuss the pricing of strongly path dependent options.The payoff at expiry T depends on the path taken by the asset in the sense that it depends on the path dependent quantity I which can be represented by the integral $$I(T)=\int_0^Tf(S,\tau)d\tau$$ Therefore...
The Question I'm currently implementing the a finite difference method for the Hull-White model, shown below: $$\mathrm{d}r(t)=\lambda[\theta(t) − r(t)]\mathrm{d}t + \sigma\mathrm{d}W(t)\tag{1}$$ This requires that I calculate $\theta(t)$ at each point in time, $t$. I assume I am given a discount curve, an example of w...
I am trying to understand the assumptions and weaknesses of a Dupire Local Volatility model. If dividends are assumed linear, is it a problem for model calibration? If yes, why? Why would large values of discrete dividends cause calibration problems? Is there a pedagogical resource to understand these limitations of Lo...
In Paul Wilmotts quantitative finance books he says that the the value of an American option satisfies the following $$ \frac{\partial V}{\partial t}+\frac{1}{2}\sigma^2S^2 \frac{\partial^2V}{\partial S^2}+rS\frac{\partial V}{\partial S}-rV \leq 0 \quad \quad (1) $$ and by the no arbitrage condition we have $$V(S,t) \g...
From the fundamental asset pricing theorem, we know that in the absence of arbitrage opportunities, the present value of an asset paying $\Psi(X)$ at maturity time $T$ is given by: \begin{equation} V_t = \beta(t)\mathbb{E}^{\mathbb{Q}}\Big[\frac{\Psi(X_T)}{\beta(T)}\Big |\mathcal{F}_t\Big] = \mathbb{E}^{\mathbb{Q}}\Big...
Let us define the dynamics of the discounted Zerobonds as $$ \tilde{P}(t,T) = \int \sigma(t,T) dW_t + \tilde{P}(0,T)$$ Lets assume $\sigma(t,T)$ is s.t. $\tilde{P}(t,T) $ is a martingale and positive (and nonzero) $\mathbb{P} \ a.s.$ . Lets define a numeraire as follows: $$ B(t) = \frac{1}{\tilde{P}(t,t)} $$ And final...