instruction
stringlengths
35
27.7k
For a regulatory perspective, I need to decompose bonds futures into the underlying cheapest-to-deliver (CTD) government bonds on a given date. Suppose I have a 100 bond futures position on date $d$. How do I decompose this 100 bond futures position into the USD equivalent CTD government bond at $t$? I am aware of the ...
I am trying to value the Latin Americans swaps. But CLP-TNA valuation is far off from the actual valuation. Please suggest, what I am missing in below methodology to compute NPV. # construct discount curve and libor curve risk_free_rate = 0.01 libor_rate = 0.02 day_count = ql.Actual360() discount_curve = ql.YieldTermS...
I hope to get data going back as far as possible. Someone must have computed these things, but not sure if anyone has shared these data online? If not, if you know how I can get the data for the relevant underlyings so I can compute the bases myself, that will be helpful too.
I asked this question on Personal Finance and Money but since I don't know where to place it I placed it here also. On the Coursera course Portfolio and Risk Management, on Week 2, I am having trouble finding the link between the following 2 formulas from the following 2 slides: Formula 1 Formula 2 From vid...
Sustainable competitive advantage are company assets, attributes, or abilities that are difficult to duplicate or exceed; and provide a superior or favorable long-term position over competitors. In this document, the author said that Strong Balance Sheet / Cash is a type of "Sustainable competitive advantage" Strong Ba...
I am looking for caplet implied volatility data for Libor-EUR. Is there any online data base etc. available to get such data? Does Bloomberg offer this data? Any pointer will be highly appreciated. Many thanks,
I got the following interview question: Consider a digital option, it will be priced by using two approaches: 1)constant volatility; 2)local volatility. At the strike, both volatilities are equal. (See the image). The question is: How to compute the price difference between both approaches? It is a pencil and paper que...
I am returning to studying the markets after ten years spent in banking. I would like to ask for directions, what approaches to price prediction are currently used - I want to catch up quickly. Papers are often behind a paywall, so I would like to invest time/money in areas that are 'hot'. One of the last papers I reca...
I am currently trying to check the Feature Autocorrelation for a Trend Strategy. I am using XGBoost for that purpose. In addition I work with SHAP. In the first run I realized that without Standardization of the Mean Return and Volatility SHAP will give those two Features a importance that high, so that SHAP isn't able...
The claim was made in this link: https://www.investment-and-finance.net/derivatives/c/cds-dv01 But I don't understand why that is.
Part 1: I am trying to price an option in the FX world. It naturally pays in the domestic currency, but in this case the payout currency must be the foreign currency. For example, consider the payoff: $$\left(\frac{S_T - K}{S_T}\right)^{+} = \left(1 - \frac{K}{S_T}\right)^{+} = K \left(\frac{1}{K}-\frac{1}{S_T}\right)^...
https://www.nyse.com/listings_directory/stock I can find AAPL on the above page. But I can also see it on NASDAQ. https://www.nasdaq.com/market-activity/stocks/aapl https://finance.yahoo.com/quote/AAPL/ Yahoo says NasdaqGS. So I'd assume that it is only on NASDAQ. Then I am confused on why it is still on NYSE. How to j...
I am trying to understand how to calculate point value for each live cattle futures contract by looking at the contract's spec on CME website. I understand that 0.00025 * 40,000 = $10 which is tick value or in other words dollar amount of minimum fluctuation. However, I do not understand how can I find, how many ticks ...
I have a misunderstanding concerning the derivation of the SVJ model : Firsty,I understand how to reach the final differential equation from : \begin{gather} dS_t = (r - q - \lambda t (e^{m-\frac{\nu}{2}} - 1)) S_{t^-} dt + \sqrt{V_t} S_{t^-} dW^{Q,1}_t + S_{t^-} dJ_t \nonumber \\ dV_t = \kappa \left( \theta - V_t \ri...
In constructing a GARCH(1,1) model over a time length $\delta$, I am considering the following procedure. The purpose of this procedure is to give more training (calibrating) samples than non-overlapping consecutive samples. \begin{align} \nu(k\delta,(k+1)\delta) &= \omega+\alpha r((k-1)\delta,k\delta)^2+\beta \nu((k-1...
Sorry, I suspect this is rather trivial but just want to confirm that, given a portfolio constructed of n assets, each of the n eigenvectors (assuming no cutoff / variance threshold etc. has been applied) produced as the result of a PCA of those asset's covariance are each themselves called "eigen portfolios"? i.e. one...
Given, for example, two time series asset price and its associated relative strength index (RSI), what would be the quant way to evaluate convergence or divergence on a rolling-window basis? I'm guessing WindowRMSD (root mean square deviation) would not be appropriate and there are more suitable options out there? Also...
I have to model IRS in an IT system and I have a question related to this modeling. Can an IRS have a different payment calendar by leg ? Thanks and regards
I see ^ is in a symbol like this. In general, what does ^ mean in a security symbol? Thanks. https://www.nasdaq.com/market-activity/stocks/ago^b All the symbols with ^ are listed below. AAIC^B AAIC^C ABR^A ABR^B ABR^C ABR^D ACP^A ACR^C ACR^D AEL^A AEL^B AGM^C AGM^D AGM^E AGM^F AGM^G AGO^B AGO^E AGO^F AHH^A AHL^C AHL^D ...
I hav minute bar FX data and I am trying to fit a realized variance GARCH model using rugarch. This normally works by providing daily returns and daily realized volatility to the model. Realized Variance is normally calculated as a daily statistic so you get a value for each day. Considering I am using minute bar data,...
Most of the examples of using PCA of asset returns to construct an eigen portfolio seem to tend to focus on equities, which tend to all be positively correlated. As such I usually see normalised (such that they sum to 1) asset weights along the lines of: weights = eigenvector[0, :] / sum(eigenvector[0, :]) Where eigen...
Is it possible to calculate the flow of cash in each period given a certain fixed net present value? I would like to be able to apply a certain weighting that can be applied to the cash flows of each period e.g. 90% will be paid back in the last period, 1/(number of periods-1) in all other preceding periods. For exampl...
Contango is commonly defined as "The situation where the price of a commodity for future delivery is higher than the expected spot price". But how is this "expected" spot price determined? My understanding is that such a measure is highly subjective, as each investor would have their own opinion regarding how the price...
Consider the following square root diffusion price process: $$ dV_t = \kappa_V(\bar{V}-V_t)dt+\sigma_V\sqrt{V_t}dW_t $$ It is my understanding that $\kappa_V$ is the rate at which the process reverts back to its long-term mean $\bar{V}$. If this rate was bounded, would this mean the process deviates less "intensely" f...
In trying to replicate Orosi's (2015) 5-parameter implied volatility model, but I can't wrap my head around the parameter fitting procedure Orosi proposes. My main goal is to calibrate the model to my set of observed call prices, so that I can derive the Risk-neutral-density function. Consider that I have empirical obs...
I'd like to obtain the historical market capitalization for the S&P 500. I'm seeking monthly data back to 1945. I'd like to examine only non-financial stocks, so the sector would be needed as well. This post on Quantitative Finance, Historical data for total market capitalization, works for total market cap but only go...
https://www.nyse.com/quote/XNGS:ACT ACT is listed but does not have a current price. Does anybody know what are on listings_directory? https://www.nyse.com/listings_directory/stock How to find all the currently listed stocks?
I am pretty new to interest rate swap and this question might sound silly. Why does 3y2y (3yr forward and 2yr tenor) swap rate roughly equal to (5*5y swap - 3*3y swap) / (5-3)? Any explanation would be helpful!
I see the following code in the exchange column of the lookup page. https://finance.yahoo.com/lookup/ Example tickers are in the parentheses. ASE (ZOM) * BTS (CBOE) * NCM (ZYXI) NGM (ZYNE) NMS (ZY) NYQ (ZZZ) * The ones without * don't seem to be found in the following exchange code lists. https://propreports.atlassia...
The integral under consideration is as follows: $$ F=\int_{a}^{1} \exp\Big\{c\Phi^{-1}(x+b) + d\Big\}\; \mathrm dx, $$ where $0<a, b<1$, and $c>0, d\in\mathbb{R}$ are constants, and the notation $\Phi(\cdot)$ denotes the standard normal distribution function given by $$ \Phi(z) = \mathbb{P}(Z\leq z) = \frac{1}{\sqrt{2\...
(close-open)/(high-low) may contain useful information about stock prices. Is there a commonly accepted name for this quantity?
I've read multiple research papers but can't find a good answer as to why multi-period contributions don't add up to the returns of a portfolio. I understand that arithmetic sums miss the compounding effect, but what other factors lead to the individual contributions to not equal the portfolio return? Edit---- To make ...
By definition, $\mathcal{F}_{T-}=\mathcal{F}_0 \vee \sigma(A\cap \{ t<T\}, A \in \mathcal{F}_t, t \in [0,\infty[)$. Why is $X_{T-}$ is $\mathcal{F}_{T-}$ measurable?
IRS under a CSA Let's consider an example of Interest Rate Swap under a CSA. To calculate discount factors that can be used to discount cashflows in one currency, $C_{1}$, collateralized in another currency, $C_{2}$, all we need are the FX spot and forward rates from $C_{1}$ to $C_{2}$ and the discount factors in $C_{2...
I've been following studies such as Kempf & Osthoff (2007) and Statman & Glushkov (2009) in building a methodology measuring ESG portfolio performance centred around the Carhart 4-Factor Model. I've been using factors from the Kenneth French database and regressing in Microsoft Excel to get my coefficients and p-values...
Consider an arbitraty interest rate derivative $C$. Assume that in order to hedge it, you are allowed to construct portfolio $H$ of linear combination of simple instruments such as Interest Rate Swaps (IRS) and Forward Rate Agreement (FRA). By construction such portfolio is not self-financing. During some time interval...
It seems complex derivatives in particular exotic options are not available at any retail broker. Can a regular retail trader get access to these instruments? Maybe through prop firms or banks? Without having to put down $100MM+. Every contribution is welcomed. Thank you.
Bond convenience yield refers to nonpecuniary benefits of holding bonds, that is, some benefit other than direct cash flows. Recently there has been much empirical academic research on such yields. For example this paper (https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3797321) considers yield differences between g...
In the model defined below for discount function, are the Beta's relative stable from day to day? If so I might use Hessian dPdB to invert the Beta changes from benchmark price changes, and then to approximate all the other bond model prices in real time. Haven't tried yet, but my intuition is Beta's won't be stable so...
Here are two facts about finance: 1. If stock returns are not independent, for example tomorrow's return equals today's return, then the variance over two days will be less than the variance of 1day*2. A test of market efficiency is that the variance over time does not decrease but is stable, meaning the returns are i...
I'm trying to find an efficient way to select $k$ from $n$ risky assets that are the least correlated with each other. I know that I can perform a brute-force search of all $k$-sized combinations of the $n$ assets but this doesn't scale as $n$ grows so I'm wondering if there's an optimization for this problem. For exa...
I'm new to stochastic calculus on jump processes and encountered a difficulty. I would appreciate some clarification from the community on the following question. Let $g_t$ be a $\mathcal{F_t}$-adapted process where $\mathcal{F_t}$ is the natural filtration generated by a Poisson process $N_t$. Define stochastic integr...
I've designed a trading strategy and would like to understand whether the return profile for it differs for the trades implemented before and after the Covid pandemic. Specifically I would like to compare the return on investment and the number of trades opened in the two regimes. Also, the regime pre-covid is two/thre...
I am looking for advice on how to smartly get from unstructured financial data to a clean summary of balance sheets. I think of this not as a coding problem but of a question how to approach the task - and whether anyone has some information that might help. I use the following SEC Data base to the 10-K and all 10-Q re...
I have read in several places that the duration of a floating rate bond is simply the time until next coupon payment, because the upcoming coupon payments are not known. I have 2 questions here: Why can't we work with expected values (which we can find using forward rates) to get the cash flows, and discount them to g...
I have a set of real estate data; historic sales price, square meters, location (latitude, longitude), neighbourhood, city, sold date and bunch of other features. I have used a boosting model to estimate the price of an individual house. I would like to estimate the price of a house 1 month ahead; but this requires ex...
I believe that the VaR is defined as the infimum of the generalized inverse of the CDF of the loss function (something like that, please correct accordingly): $$\text{VaR}(\alpha)=\inf\{x: F_L(x)\geq \alpha\}=F_L^{\leftarrow}(\alpha)$$ I understand that whenever there is a sudden jump in the CDF and a plateau, the valu...
In estimating a GARCH(1,1) model, $$\sigma_{t+1}^2 = \omega+\alpha \epsilon_t^2+\beta\sigma_t^2$$ Usually the parameter tuple $(\omega,\alpha,\beta)$ is estimated by the quasi-maximal likelihood$. Can I also use linear regression or ordinary least square method to estimate the parameter tuple?
I just want to know if there is an analytical solution about FX American forward. I recently get a solution that computes price for each τ-maturity forward contract and then take a maximum price. So, I have two questions: Is this analytical solution correct? If it's correct, why can't I do the same for American opt...
I have been reading about Portfolio Theory, and though the algebra of it seems quite intuitive, I am having a hard time understanding it's geometry. For the sake of simplicity, I will only talk about two-asset portfolios. When I came across the term Efficient Frontier for the first time, I wondered why it is shaped tha...
I struggle with the interpretation of a process I derive from Ito's Lemma. Let's say I have function f(S,t) which is twice differentiable wrt S. I thus can apply Ito's Lemma to get $df(S,t)$. So far so good. If we start from $dS_t = \mu(S,t) dt + \sigma(S,t) dW_t$ then the volatility term of $df(S,t)$ is just $df(S,t) ...
In estimating a GARCH(1,1) model, $$\sigma_{t+1}^2 = \omega+\alpha \epsilon_t^2+\beta\sigma_t^2$$ Usually the parameter tuple $(\omega,\alpha,\beta)$ is estimated by the quasi-maximal likelihood. However, it seems hard to find the optimal parameter estimation stably. Are there any references for explicitly dealing with...
What aspects decide the correlation between US corporate bonds and US treasury ? I was told that some corporate bonds are more sensitive to treasury than others. Sectors or maturity?
If someone tells me there is a IRS and a CDS both with 10M notional and 5y maturity, is there a reliable quick calculation that I could easily do mentally to approximately calculate their sensitivities (DV01 and CS01)? Does it make a difference if the 2 swaps are at-the-money or deep in/out of the money? Intuitively I ...
I cannot figure out the difference between the two data series found here: https://fred.stlouisfed.org/series/T5YIE/ https://fred.stlouisfed.org/series/T5YIFR/ The 5Y breakeven inflation, to my knowledge, is simply the difference between the 5Y nominal Treasury yield and the 5Y TIPS yield, so it makes sense this repres...
I want to predict relative outperformance between a stock and an associated benchmark index using statistical time-series models (e.g. ARIMA) and some exogenous variables (day of the week, corporate actions etc.) on a weekly basis. Two different statisitcal designs come to my mind: Estimate and predict the returns fo...
My understanding is that MSCI/Barra's model has a very large market share in funds and banks, but I cannot find out how large is the exact market share. Is there any data on this, or can someone familiar with this give an estimate? By market share, I mean the (ideally AUM-weighted) fraction of institutions that use thi...
I am running an asset pricing study. The data is from 1990 to 2020. When the data is adjusted for dividends and splits, stock prices of several firms become negative. How does one handle negative prices and returns and the results downstream? Sample Example If you run this query - you shall be able to download data fo...
Is there any viable way for me to know the dynamics of my LOB position? Lets suppose the LOB is order based LOB, and i send a order to this level, can i know if the qty in front of me cancelled vs whether the qty was from behind my order. Lets suppose no trade has happened and this total qty at this level decreases. Th...
def getTEvents(gRaw, h): tEvents, sPos, sNeg = [], 0, 0 diff = np.log(gRaw).diff().dropna() for i in tqdm(diff.index[1:]): try: pos, neg = float(sPos+diff.loc[i]), float(sNeg+diff.loc[i]) except Exception as e: print (e) print (sPos+diff.loc[i], type(sPos+...
This code is a snippet from Lopez De Prado Advances in Financial Machine Learning page 44 def getDailyVol(close,span0=100): # daily vol reindexed to close df0=close.index.searchsorted(close.index-pd.Timedelta(days=1)) df0=df0[df0>0] df0=(pd.Series(close.index[df0-1], index=close....
Let $\{N_t|0<t\leqslant T \}$ and $\{M_t|0<t\leqslant T \}$ be two Poisson processes with intensities $\lambda_n, \lambda_m>0$, respectively. Based on the implicit results of Corollaries 1 and 2 of this article and Theorem 1 of this article, I think we should be able to write $$dN_t dM_t = 0.$$ Can anyone please help ...
I have been spending dozens of hours trying to understand what copula is and how it works, but still I am not able to get my head straight. I am reading the wiki page https://en.wikipedia.org/wiki/Copula_(probability_theory)#Mathematical_definition Question #1: how do I get C(u1,u2...ud) ? Question #2: After I get C, ...
Suppose we have a portfolio of say two vanilla options (e.g. on two index futures). One option A with underlying X and a second option B with underlying Y. I'm trying to calculate the delta-gamma value-at-risk approximation but I'm a bit confused with the gamma matrix part and especially the non-diagonal elements a.k.a...
Let's take a collateralized USD IRS where there is optionality in collateral currency. My understanding is that it is standard practice to compute forward XXX/USD OIS basis curves for all currencies taken into consideration. Then, as explained by Antoine Conze in Cheapest-to-deliver (CTD) discount curve, the CTD discou...
Imagine we have price-volume data set and fundamental data set which gives us all the info we need (e.g,. OHLC, earnings, dividends etc.) for stocks listed in a market for long time period. I.e., you have all the essential data. How can we calculate a factor model from scratch? We need to generate factor returns, facto...
I'm trying to understand the role of the initial IPO investors of a SPAC. From the Beginner's Guide of r/SPACs: When the IPO occurs, a SPAC generally offers Units – generally at \$10 per Unit. These Units are comprised of one share of common stock (Share) and a Warrant (or portion of a warrant) to purchase common stoc...
Let $N_t \sim \text{Poisson}(\lambda t)$ and $M_t \sim \text{Poisson}(\theta \lambda t)$. We know that if $N$ and $M$ were independent, $dNdM = 0$ using polarization identity. We also know that $(dN)^2 = dN$; but now that these two processes are correlated, how can we calculate $dNdM$ ? I though about polarization iden...
You decide to sell a European call option that is currently 10% OTM (for example the strike = 100 and the current price = 90). You have to delta hedge to keep the delta of your position at 0. What is the best and worst case scenario for you as the seller of the call? I would think that the best case scenario is if the ...
I have been looking into options strategies that minimize risk via delta neutrality. One such strategy seems to be the gamma-neutral delta-neutral call ratio spread, in which the gamma is neutralized by buying calls with a lower strike and selling more calls with a higher strike, and the delta is neutralized by shortin...
Exchanges are famous for having to deal with a huge amount of messages. For example, some years (decades?) ago Nasdaq has migrated their reliable UDP protocol from 32-bit, which could support sequence numbers up to 4,294,967,295 to 64-bit, which can now support sequence numbers up to 18,446,744,073,709,551,615. Some ty...
I would like to implement the method "Hierarchical PCA", as described in the following paper and compare it to a "standard" PCA. I like to do this in R AVELLANEDA, Marco. Hierarchical pca and applications to portfolio management. Revista mexicana de economía y finanzas, 2020, 15. Jg., Nr. 1, S. 1-16. My "standard" PCA ...
I asked a question here: Structuring and Customization Thanks to all the contributors. However, I now have a follow-up question. I would like to buy barrier options and I was informed from that post that the only way a retail trader can do that is through structured notes(e.g from rcb, exchanges e.t.c) However, is it p...
Bonds are not always issued at par, but they often are. From a standard finance theory perspective, this cannot be justified. For investors, the division between coupon and principal returns is arbitrary: one should be able to adjust/structure them arbitrarily. For issuers, it would also be more convenient if they were...
I understand statistical significance in the general sense: we take a sample from a population and compute some parameter from the sample to infer what is the propulsion parameter to some degree of confidence, usually 95%. So if I want to find the p-value for a slope between two financial datasets, say interest rates e...
For an AR(p) process $$\begin{align} y_t &= \mu + \phi_1 y_{t-1} + \phi_2 y_{t-2} + \cdots + \phi_p y_{t-p} + \epsilon_t \\[4ex] &y_t (1 - \phi_1 L - \phi_2 L^2 - \cdots - \phi_p L^p) =\mu + \epsilon_t \end{align}$$ with $Ly_t=y_{t-1}$ The roots of the expression in the parenthesis, i.e. $$1 - \phi_1 z - \phi_2 z^2 - \...
Stuck on this payoff question. What is the PnL on 5s10s30s on a swap fly 10k 01, where the fly moves 8 to 26bp? Any ideas would be much appreciated.
The impact of cross currency basis on FX forward pricing has become more noticeable since 2008, diverging significantly from the interest rate differential, what are the fundamentals behind this mechanism?
The holder of a convertible bond is effectively long an American call option on the underlying shares. given the delta and gamma, and underlying stock price change, what is the best way to estimate the CB price change? example: delta 80% gamma 0.4 underlying stock price: 100 underlying stock price shock: -25% current C...
What does 5y10y200 WC mean? Further, what does 2y10y WS mean? I know the first digit (5 or 2) means that the swaption starts in 5 or 2 years time, and the second digit shows how long the exchange lasts for (10 years), but I'm not sure what the 'WC' or 'WS' means. Is it something to do with weights?
I am a master of finance student and although I understand the basics and the theory of portfolio construction I am still struggling when it comes to the practical side of things, i.e. building a real-world portfolio, with real-world assets, real-world data, etc. and the challenges that come with it. I was wondering i...
For EM countries without a liquid xccy curve, how I can imply it from local government bonds or swaps?
I'm currently working on my master thesis, where I have data on option trading volume and flow (number of shares bought minus sold; i.e., net position), divided among three kinds of market participants (Agent, Market Maker and Prop). The data is for European equities. An Implied volatility (IV) surface has time to matu...
How do we analyse the future and option market on the base of the Fama-French model? Basically i want to know can we analyse derivative market on base of FAMA French or CAPM model ? e.g for stock we can analyse the stock trend by using Fama french model(by calculating beta and alpha).
I would like to run backtests on swedish companies. How I can retrieve historical balance sheet data?
I want to derive a Black-Scholes type partial differential equation to price options on an asset that follows a mean-reverting process (Schwartz model). My attempt follows the methodology of deriving the Black-Scholes PDE but using a mean-reverting process to describe the asset instead of a geometric Brownian motion: L...
Doing some BS problem solving and came across this beauty: $$S \cdot \text{exp}\Big(-D(T-t)\Big) \text{exp}\bigg(-\frac{d_{1}^{2}}{2}\bigg) = E \cdot \text{exp}\Big(-r(T-t)\Big) \text{exp}\bigg(-\frac{d_{2}^{2}}{2}\bigg)$$ $d_{2} = d_{1} - \sigma \sqrt{T-t}$ so it does not explain the difference.
In John Hull's "Options Futures and Other Derivatives" I see that bond prices in Hull White 1 Factor model are specified as the following: $P(t,T) = A(t,T)e^{-B(t,T)r(t)}$ where $B(t,T) = \frac{1 - e^{-a(T-t)}}{a}$ $lnA(t,T) = ln\frac{P(0,T)}{P(0,t)} + B(t,T)F(0,t) - \frac{1}{4a^3}\sigma^2(e^{-aT} - e^{-at})^2(a^{2at} ...
In a multi-period market model, let's say we have $d+1$ assets $(S^0,S)=(S^0,S^1,\dots,S^d) $, where $S^0$ is the riskless asset, invested in a money market account. In continuous-time finance I usually see this asset defined as $S_t^0=e^{rt}$ and in discrete-time finance i often see it defined as $S_t^0=(1+r)^t$. Is t...
Reading a paper about VaR and don't understand what $a'$ is. The link to the paper is here: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.878.8823&rep=rep1&type=pdf. The relevant passage is: We consider n financial assets whose prices at time $t$ are denoted by $p_{i,t}$ ,is $1, . . . ,n$. The value at $t$...
My understanding is that firms typically issue callable bonds to benefit from possible refinancing in a lower interest rate environment. What, then, is the point of issuing a bond, say, today (06/30/2021) with it maturing 06/30/2031 and its first call date being 01/31/2031? The issuer surely can't expect to benefit fro...
I’ve been playing around with the FRED datasets: Wilshire 5000 Total Market Full Cap, and nominal US GDP. I found that the Wilshire 5000/GDP index (https://fred.stlouisfed.org/graph/?g=qLC) is the quotient of two adjusted datasets: Wilshire 5000 Total Market Full Cap (Q4 2007 = 100), and nominal US GDP (Q4 2007 = 100)....
I am trying to work out how to properly size an option strategy to a given target volatility. Assuming I have \$100 capital and I would like to have a strategy's long-run daily volatility to be \$1 (e.g. buy 1-month 25-delta strangle or risk-reversal). If all the greeks are available, what's the proper procedure to siz...
Do you know a simple way or proxy, formula to determine the price of a down and out call with strike 100, barrier 100, spot 110 in a BS world with no rate and a 10% vol ? Thanks for your help
Is it acceptable to run a regression with several independent variable datasets whose base years are different? I.e., predicting some variable y using Q4 2007 = 100 vs. Q1 1980 = 100, not in a multiple regression but using each indexed dataset as the independent variable of y one at a time? Or do you want to always hav...
in time series analysis or finance people use log return for inference but returns can take negative value. but log cant take negative values. so why we use it when log is not defined on most of values
It is my understanding that for any given stock, the sample mean of historical returns is not a good proxy for the stock's expected return. In fact, the return on a stock needs to be estimated via some sort of factor model, be it the CAPM, FF3, FF5, etc. Basically, we would run a time-series regression of the stock's ...
Assume there is a stock, its price at time $t$ is $S(t)$. Its price is changing according to a geometric brownian motion, that is $dS=S(\mu dt+\sigma dW)$. You start with $\\\$1$ and you are allowed to choose a fraction $f$ amout of your net worth to put into the stock at any given time. After a period of time $T$, if ...
I am using the QuantLib developers example to try and price a TY option. The Delta is pretty close but the price and gamma are way off (almost by a factor of 2). Am I using the model wrong or is the model wrong? Here is the code import QuantLib as ql import math calendar = ql.UnitedStates() bussiness_convention = ql.M...
When calculating the PV of an interest rate derivative (IRD) that is linked to a rate index $-$ e.g. an interest rate swap $-$ we usually require the actual, or projected, index fixings in order to value all outstanding float cashflows, i.e. we need the actual or projected index fixing value $F_{t_{i}}$ with fixing dat...