instruction
stringlengths
35
27.7k
I am reading the Neuberger [1999] Log Contract paper and really confused on the log contract. So if the payoff is $\ln(S_T)$, then we can easily solve the price of such derivative: $$f_t^s = e^{-r(T-t)}[\ln(S_t)+(r-\frac{1}{2}\sigma^2)(T-t)]$$ So my question is that when we have log contract whose underlying is $F_t = ...
Is there a link between those two quantities ? I think about this because, the skew of returns impacts the price of calls and puts, and therefore may be linked to the implied volatility
Say SPX falls so much that there is panic and implied volatility(iv) increases so greatly that OTM call prices are increased during the fall due to high iv In my observation in historical data this doesn’t happens, call prices stops falling and stays constant as dip continues Can anyone explain why this doesn’t happens...
Assume $X_t$ and $Y_t$ represent the prices of the same financial instrument traded in two different markets (in particular they are cointegrated). For some reason the long run equilibrium between $X$ and $Y$ is not zero but some constant dollar ammount, i.e. $X_\infty - Y_\infty = c$. This $c$ I can estimate by lookin...
If all of the other inputs into black scholes (divs/rates/time to maturity/strick/current price/etc) are all the same between two pairs of calls/put contracts on the same security, shouldn't the implied volatility be the same? For example I see SPY and AAPL has having similar IV for ATM put and calls. However, it seems...
I'm preparing for quant interviews, and I had this question for myself. I'm not actually trading corn options. My goal here is just to better understand how to deal with these kinds of options. According to this, corn's "peak season lasts from May through September." Suppose corn is only picked May through September. I...
If two models are producing ZVOAS for the same MBS, I'm trying to understand, all things the same, which one is projecting a higher prepayment rate. For example, would Model 1 be projecting a higher prepayment rate as it is resulting in a higher ZVOAS than Model 2? If so: mathematically, is this because a larger amoun...
It is the story of interest at the moment. Rate hike expectations from central banks around the globe. Various sale side research parties publish often market implied rates hike. The magnitude and the probability. I know the basic model via futures where you condition on different events, e.g. a hike or no hike and sim...
I am trying to value inflation swaps using necessary functions from quantlib and successfully completed the valuation. Underneath helper function is working well for most of the swaps. But few swaps giving me below error. RuntimeError: more than one instrument with pillar May 17th, 2021. helpers = [] for idx, row in ra...
Summary: Can you recommend any book which is: Intro/first course in PDEs Covers solution methods useful for Black-Scholes model? Background I have just started learning about PDEs (after studying the ODEs) with the aim to understand in depth the Black-Scholes PDE solution (an then move to more complex models). As a s...
Hi I know how to get the hedge ratio it is 0.9 but what is the companies exposure is it just 1 million? Once I know exposure I can calculate the rest of part (a). For part (b) I can someone explain this statement to me I know the answer is false just from previous questions on other papers but I don't know why it is f...
Consider a contingent claim whose value at maturity T is given by $\min(S_{T_0}, S_T)$ where $T_0$ is some intermediate time before maturity, $T_0 < T$, and $S_T$ and $S_{T_0}$ are the asset price at $T$ and $T_0$, respectively. Assuming the usual Geometric Brownian process for the price of the underlying asset that pa...
I would appreciate any consideration given to the question I have with respect to a document published by the UK Dept. of Transport. https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/639211/research-into-valuing-health-impacts-in-transport-appraisal.pdf Here, on page 20 (Ta...
is there any open source / commercial Java/C#/any language that has algorithm to detect base formation ?, see the base formation before Buy Point below.
The return between two price points can be calculated as Price(present)/Price(previous) -1 Or, it can be expressed as exp(log(Price(present)/Price(previous)) -1 So, I am calculating the return for each new price like the fig shown below. However, My confusion is with calculating return for each price point for multipl...
Let's say I am looking to price AAPL 30 day volatility on a relative level. My first thought would be to take SPY vols and multiply it by AAPL's beta. But this leaves out the volatility caused by the sector, industry and other factors. One of the issues is many of the factors are correlated so using simple linear regre...
Let's say I would like to determine the incremental discounting rate (e.g. as in IFRS-16) for a company $X$ with a rating score of $Y$ and belonging to a sector $Z$. Usually, any data provider such as Bloomberg and Reuters only displays the yields or CDS spreads for some of the sectors and only for liquid ratings: That...
I'm struggling with learning change of numeraire, and stochastic differential equations. I'm reading the beginning of Brigo and Mercurio's Interest Rate Models- Theory and Practice, and I'm on the Change of Numeraire Toolkit section. They present a formula for how the drift term of the SDE for a process $X_t$ changes w...
More explicitly, if $W(t)$ is Brownian motion, what would be $$f(t) := \int_0^t u dW(u)$$ and $$g(t) := \int_0^t W(u) du$$?
I have a very practical question regarding the terminology of swap / rates trading. What is the exact definition of statements like receive 10s30s. I know that it is the spread between 30y and 10y yields. But question is what is the standard to which the word receive is bound? In a 10s30 receiving trade do we receive 1...
I'm interested in the estimation of parameter of copula for discrete random variables. The problem is described as follow: I have 30 discrete random variables $X_1,.., X_{30}$, each random variable is Poisson distributed, and I assume that they correlates by a copula. Now i want to estimate the parameter of that copula...
Below is the sample code to compute the inflation swaps. I have referred the Quantlib cookbook to get the flavor of Inflation swaps. But I feel that the term structure and final NPV is not accurate and also missing something. If anyone can look into the steps and provide the final NPV value of any hypothetical swap cou...
I have YoY percent change in CPI and the nominal 10 year Treasury yield. I want to run some correlation analysis between them but worry they are not stationary. I ran a DF test and found that, assuming no drift or trend, both series are non stationary (but close to stationary). Is it a huge problem is I start running c...
Suppose that I have a model for implied volatility surface and want to figure out required recalibration frequency based on historical quotes. Since I have a large range of strikes and tenors over a long period of time I need to somehow automate this process, i.e. I need a computable metric rather than "ahh it seems pr...
Suppose we have the following series: $R_1$, $R_2$, ...., $R_N,$ which are returns of a stock for $t=1,2,...,N$. If we want to estimate a sample volatility, then we can use $$\sigma^2=\sqrt{\frac{1}{N-1}\sum(R_i-\mu_R)^2}$$, where $\mu_R$ is the average of the series. However, if we have a daily data and we want to est...
I am currently working with some options OHLC data (30 minute bars) from IBKR for a range of strike prices, maturities and for both calls/puts. For each bar, I am trying to back out the IV (crudely using the 3m treasury as a proxy for the risk-free rate and pyvollib/scipy's optimize.brentq method for the actual IV calc...
If CAPM holds, should alpha be zero for all assets?
I have a European call option with time maturity $T=3$ years,$K=50$, and given that $S(t)$ refers to the derivative is being described by the geometric Brownian motion with $S_{0}=100$ and $r = 0.04$.The volatility of the title is stochastic and deviates between two stages $\sigma_-=0.25$ and $\sigma_+ =0.75.$Those two...
I am reading Prof. Marcos Lopez de Prado's book Advances in Financial Machine Learning, and have a question on feature engineering. On page 88, he says: In practice, I suggest you experiment with the following transformation of your features: First, compute a cumulative sum of the time series. This guarantees that some...
The most simple ARCH is given by: $$\sigma^2_t=E{\epsilon_t^2|I_{t-1}}=\alpha_0+\alpha_1\epsilon^2_{t-1}$$ Why in this model we do not have residual as well? Example: $$\sigma^2_t=E{\epsilon_t^2|I_{t-1}}=\alpha_0+\alpha_1\epsilon^2_{t-1}+u_t$$
I'm working on a program that find summary data given all trades during a day. However, for some reason, if I sum all the volume during market hour (9:30 -> 16:00, New York SE time), the total volume is noticeably less than the official values I can find (in this page for example: https://www.nasdaq.com/market-activity...
I have trouble to understand what implies "conditional heteroskedasticity" term in (G)ARCH models. The residual $\epsilon$ is stationary, hence homoskedastic (unconditional variance is constant). Then, if we assume that residual has (G)ARCH structure, do we assume that it becomes heteroskedastic when it is conditioned ...
I am trying to understand geometric Brownian motion as it relates to the present discounted value of future dividend payments. I am supposing that a company has a revenue stream $f(t)$. This is just $profits-expenditures$ at time $t$. The revenue stream is upwards sloping, one reason being that the company usually inve...
In some of the numerical works on Black-Scholes generalized models, the boundary conditions on the truncated domain taken from the asymptotic behaviors of European call options, which is given by $$\lim_{x \to -\infty} u(\tau,x)=0,~\text{and}~\lim_{x \to \infty}u(\tau,x)-K(e^{x-\int_0^\tau D(s)ds}-e^{-\int_0^\tau r(s)d...
I am looking to get stock data for various stock symbols over a period of time. I am primarily only concerned with the adjusted close price but of course any additional stock data could be useful. Would someone recommend some programming APIs or any other method to obtain this information. From the searching online tha...
I am working on a Quiz that asks why the 6 month forward volatiliy could be greater than the 6 month current volatility. I would first like to clarify if I understand the Question correctly. When we talk about the 6 month current volatiliy, which timeline do we look at? Is the current 6 month volatility the volatility ...
Does the random walk theory assume a simple symmetric random walk? In other words: does the random walk theory assume that the price rises as often as it falls? I've been looking for an answer for a while but I'm still not sure. Maybe this question is very simple, but I think that it will then be easier for other peopl...
We are asked to consider a derivative with payoff $C_t = S_{T}^{1/3}$ at maturity $T > 0$ and to use risk neutral pricing to derve the no-arbitrage price process $C_{t}$. Some context: Let $W$ be a standard Browian motion. We are in a financial market consisting of a risky asset $S$ and a money-market account $B$ with:...
I'm reading Shreve's Stochastic Calculus for Finance. On page 382, he begins talking about exchange rates: Finally, there is an exchange rate $Q(t)$, which gives units of domestic currency per unit of foreign currency. We assume this satisfies $$\mathrm{d}Q(t) = \gamma(t)Q(t)\mathrm{d}t + \sigma_2(t)Q(t)\Big[\rho(t)\m...
I have to use the risk neutral version of the First Fundamental Theorem of Asset Pricing to derive a partial differential equation (PDE) that the price/value process, $V_t = F(t,S_t)$, of a self-financing Markovian portfolio has to satisfy. Some context: Let $W$ be a standard Browian motion. We are in a financial marke...
I read in an explanation that the tangency portfolio has all securities with weights proportional to their market value because supply equal’s demand. But I can't understand why supply equals demand explains why the “best” portfolio is the combination of all stocks, with weights proportional to their market value. If a...
Here is a difficult "real-life" skew / surface options problem that actually occurred. Please help me judge its validity or falsity. In 2018 a Chinese communications stock was falling, and its proxy on the local exchange realized almost 50% (over 60 working days). Its long-term mean vol was about 30%. It's proxy's opti...
I'm stuck at a problem and I'm not sure on how to proceed. My question is how would one go about and integrate the following $$\sigma\int_{t}^{T}\mathrm{e}^{a\cdot u}\cdot (W_{u}-W_{t})du.$$ I've been stuck with this problem for quite some time. Thanks in advanced!
I was wondering what the most common, or most popular, ways - in both academia, and industry - there were to model the fat tails of volatility in asset prices changes. I am presuming a basic Brownian motion random walk, is not what is used, because it will not replicate fat tails. Is that correct? Or am I wrong, and in...
A Wiener process has infinitely many states of the world at any time step. Does that not mean that there are infinitely many EMM's for any model that uses the Wiener process? But then if there is only one EMM for this model, how is it possible that the Esscher transform can be exactly the right transform, out of all po...
I'd like to show that in diffusion models IV is bounded iff instantaneous vol is bounded if there is to be no arbitrage. So, assume a model under the pricing measure of the form $$ dS_u = \sigma_u S_u dW_u, $$ where the notation $\sigma_u$ means any local stochastic volatility. I am going to assume first that $\forall{...
I would like to to estimate the future returns of some public indeces. I have several of them so it is a multivariate problem. The series are quarterly and the estimation should be of at least 15-20 samples ahead. I have tried so far with a VAR-VARMA model, but although i see great performance in-sample it is very bad ...
I am looking for a dataset that gets all events and regimes in the stock market (i.e. an event like 9/11 and a regime like Bush's presidency) and the start and end date of each item's effect on the market. I was doing some searching and found I could probably do something like that with Factiva, however for reasons I c...
Using CRSP data, I tried to compute the historical returns (including dividends) of stocks according to Total Return = (adjprc + (divamt / cumfacpr / facpr)) / prev_adjprc – 1, where divamt is the dividend amount in period, cumfacpr is the cumulative factor to adjust prices over a date range, facpr is the factor to adj...
I'm currently trying to price some different kinds of contracts. I'm stuck on this following exercise, which I can't seems to find a good solution for. The following is assumed: We are in a standard BS environment with $dS(t) = \mu S(t) dt + \sigma S(t) dW(t)$ with $\mu, \sigma > 0$. Interest rate is $0$. The $Q$ dyna...
I am trying to calculate the yield and trading margin on an AUD FRN in a robust manner. I am hoping someone can help with a few details. I am forecasting cash flows and solving for the discount rate that discount's these cash flows to the current price which will give me the yield. How can I estimate the future value ...
I am reading Value-at-Risk Second Edition – by Glyn A. Holton https://www.value-at-risk.net/futures-nearbys-and-distortions/ From 6.6.1 "The standard means of obtaining continual time series from futures prices is to use nearby series or simply nearbys." In 6.6.2 (see link above) there is a guide for creating a return-...
The price a digital call and put in the Black-Scholes model is given by $$c^d = \Phi (d_-), \qquad p^d = \Phi (-d_-), \qquad \text{with} \qquad d_- = \dfrac{\log S_t / K}{\sigma \sqrt{T}} - \dfrac{1}{2}\sigma \sqrt{T}.$$ I am assuming $r = 0$, since interest rates are unrelated to the question. It is easy to see that, ...
I am currently using a vectorized backtester where I have a strategy_returns series which is just a version of the bar-to-bar log_returns series where all returns that aren't between an entry/exit pair are 0. Below is an example illustrating what I mean: log_returns Series: [-0.01, 0.02, 0.01, 0.03, 0.01, -0.01, 0.02, ...
I am looking for a quick way to reconstruct the order book at the time of each new limit order creation. The data I have is order creation and completion: OrderID time_created time_completed price a 1 2 10 b 1 6 11 c 3 8 9 d 4 5 8 e 9 10 7 (Volume can be ignored here.) I would like to quickly find o...
Has anyone read the paper "Spread of risk across financial markets:better to invest in the peripheries" by F. Pozzi, T. Di Matteo & T. Aste? If so, how do you interpret equation (1) in the dependency measure subsection of the Methods section? It looks like it produces an average correlation figure: \begin{equation} \ba...
I am trying to import indexes from QuantLib for my further analysis and term structures. But below code is not working and giving me 'ModuleNotFoundError'. Please suggest if this the correct way of importing. I have seen in some examples of similar way of importing. from QuantLib.indexes.inflation.europe import EUHICP ...
I am trying to study a time series. I have 10-year daily close prices for some stocks, so my time series is very simple: each day I have a close price for my company. The question is: how can I want to study volatility, so here's what I did: calculate the log returns compute volatility From to this point on, I'm lost...
I've been looking into Asian Options pricing. Part of the process is about looking for the expected value of the average of a time series undergoing e.g. geometric brownian motion. I came across this paper: Pricing and hedging of arithmetic Asian options via the Edgeworth series expansion approach. In the appendix, the...
I think it is important quants understand what traders are talking about. With that, what does it mean: "vol is well bid" "fade the trade" ?
I am trying to price USD interest rate caps on 1M rates (e.g., LIBOR, SOFR, etc.). The caps are designed to limit the exposure on non-callable USD Pay Float / Receive fixed positions in interest rate swaps. The swaps legal documentation states that the minimum float rate will alway be zero. If the USD float index (e.g...
I have been working in a predictive ML model that uses financial time-series as predictor variables. In one of the academic papers I used as reference, and to do feature engineering for building the predictors they recommended doing a log diff transformation of the price. In Python: import pandas as pd import numpy as ...
I would like some confirmation on whether what I came up for buying/selling currency on kraken.com is valid. Right now I get {"error":["EGeneral:Internal error"]} message from kraken.com, when I run my query. But I have not yet placed any money in my account. I prefer to be more confident in my query before I place dep...
I have two interest rate time series but want to think of this as sound signals for thought purposes. Imagine you have two time series of audio signals. You run a time lagged cross correlation analysis and find there is a significant correlation between them at lag = 0 and lag = -1. The correlation at lag = 0 is 90%, a...
We have constructed a return factor for a Fama-French-Carhart type factor model which adds a "BMG" factor for climate risk exposure (see open-climate-investing) This BMG factor is orthogonalized based on regression of returns of 2 ETF's against interest rate variables. Periodically the regression coefficients should b...
Let's say I have two random variables $X$ and $Y$ which each represents the daily returns of two given stocks. I can easy calculate their (total) correlation by finding their covariance matrix $\Sigma[X, Y]$. However, I would like to graph their correlation throughout time; not just a single point. Thus, I would like t...
I'm reading the Intelligent Investor and I came across a passage where Graham calculates the 'times earnings' of the DJIA. But is it wrong, or am I misreading it? Since the market value of these issues is well above their book value—say, 900 market vs. 560 book in mid-1971—the earnings on current market price work out...
The optimization problem is shown below $$ \min_{\boldsymbol{w}}\boldsymbol{w}^T\boldsymbol{Sw}\\ s.t. |\boldsymbol{w}^T\boldsymbol{a}_i|>1, i=1,2,\cdots, n $$ , where $\boldsymbol{w}, \boldsymbol{a}_i$ are vectors and $\boldsymbol{S}$ is a positive-definite matrix. The objective function is convex, but the feasible re...
I am trying to reproduce the analysis discussed in https://arxiv.org/pdf/cond-mat/9905305.pdf where they use high-frequency data (1minute thick) of S&P500 from 1984 to 1996. In particular, I want to reproduce their Fig. 2(a) showing the autocorrelation of returns, and to see the exponential decay I really need the enti...
New on the terminal, was wondering if I could get some help. I am looking to find a time series for what the active benchmark was for a given tenor on the Canadian yield curve. I know that GTCAD5Y Govt does the trick for the present day, but I have not been able to find a way to tie this into a BDH or python query. In ...
When looking for papers on-line I often find things designed specifically to deal with micro-structure noise. I spent some time trying to understand / implement / test them for results that vary widely. I would be interested to know at below which timestep this micro-structure noise really starts to kick-in. Or convers...
I wanted to calculate the daily return for a long-short position. Say one has 1 unit of stock A (long) and alpha units of stock B short. How can one now calculate correctly the daily percentage return? The literature puts different formulas forward, but they reach different values. Two of them are $\log(P^{A}_t / P^{A...
Want to select a metric or metrics to compare returns of different investment strategies, for quantitative backtesting, strategy selection, and forward measurement. Been reading different approaches but not finding anything that seems to be simple, practical, time-normalized, and provide statistical projections so coul...
Does anyone have any additional information regarding the new Corporate Tax Futures added to MGEX this year? There isn't many resources out there, any insights would be greatly appreciated!
Notations are consistent with this answer. Selling and delta hedging the option $V^i$ using the implied volatility $\sigma_i$ while the actual volatility of the underlying asset is $\sigma_r$. Then the portfolio pnl has $$d\Pi=dV^i-\Delta^i dS-r(V^i-\Delta^i S)dt\tag{*}$$ the underlying has $$\frac{dS}{S}=\mu dt+\sigma...
From previous research about data curation with research papers, it seems to me that most algorithmic trading systems (at least in regards to day trading) solely use historical price data- but I'd be interested to see if there were other sources that could help gain an edge. When it comes to day trading, do we just nee...
I am trying to reproduce the analysis discussed in https://arxiv.org/pdf/cond-mat/9905305.pdf where they use high-frequency data (1-minute frequency) of S&P500 from 1984 to 1996. In particular, they found the log returns for this period follow an exponential decay behaviour for the first 20 minutes with a characterist...
I am trying to calculate the Total Credit Risk capital % for my learning purpose as given below. Assuming adding 1 single loan with different pds. i have noticed one point in the table and have two queries. Point 1: As PD increasing, the highly risky bands gets lower credit risk capital %. Question1: Is there any ratio...
I was working through Clark's Commodity option pricing: A practitioner's guide published 2014, and when I get to the Futures case study section 2.3.3, the answers I get differs from his (I tried to find the errata for the book but it doesn't seem to exist). Summary of problems Some of his P/L calculations are incorrec...
Is anybody aware of any benchmarks for general anomaly detection of intraday or (other time intervals) for stock prices? I suspect that it is difficult to get agreement on what constitutes an anomaly for this kind of data and it will remain an unsupervised problem and involve injection of synthetic anomalies into marke...
Assume we have two assets, a random asset $A_t$ and deterministic risk-free bond $B_t = e^{rt}$. Let $P$ be a model of the real-world probabilities of $S$ and $Q$ the unique associated risk-neutral measure associated to the numeraire $B$ under the no arbitrage assumption. If $P$ is determined via $A$ solving the SDE $d...
I understand that stocks' returns are not normally distributed. However, is there any method that we can rescale the stocks' returns so they look more like normal distributions? I managed to find a paper talking about this: L. C. G. Rogers: Sense, nonsense and the S&P500, Decisions in Economics and Finance (2018) 41:44...
I am trying to analyse a time series. I want to get only quantitative results (so, I'm excluding things like "looking at this plot we can note..." or "as you can see in the chart ..."). In my job, I analyse stationarity and persistence. First, I run ADF test and get "stationary" or "non-stationary" as results. Then, I ...
There have been numerous headlines the past two years where we learn that quant funds are engaging in algorithmic basis trades (aka relative value trades) between Spot Treasuries and Treasury Futures, and that this is a rather large market ~$1 Trillion. The returns on this arbitrage are of the order of a few bps. Howev...
I'm reading The Intelligent Investor by Benjamin Graham, and I came across the text below. What I don't understand is: if the issues sold at 60 through 1970 but closed at 77 that year, wouldn't that mean they are selling at a premium? Why does the author say the issues are sold at a discount? In 1970 it was possible t...
In the Intelligent Investor, Graham seems to be very much against buying preferred stock as an individual investor. Graham: The typical preferred shareholder is dependent for his safety on the ability and desire of the company to pay dividends on its common stock. Once the common dividends are omitted, or even in dang...
It is well known that hedging with implied volatility involves a PnL: $0.5*(σ^{2}_r−σ^{2}_i)S^{2}*Γ_{i}dt$ In the Wilmott paper (http://web.math.ku.dk/~rolf/Wilmott_WhichFreeLunch.pdf), they imply that the collective PnL from such a strategy is the integral of above expression across time. However, this seems to assume...
I suppose this is essentially a literature recommendation. I am looking for a list of exotic/nonlinear/complex features that can be included with bonds/loans/fixed income products. A (somewhat superficial) survey comes up with: callable bonds puttable capped/floored/collared floating coupons option to switch between f...
I have scanned rigorously on the internet but the information regarding the SURE methodology seems surprisingly very little (at least with regard to its application in finance). I would have imagined if Fama French used this technique then, surely there might information on it out there. However, it's the exact opposit...
Suppose we have a stochastic cashflow $X_t$ from a portfolio of contracts with clients. We can simulate from $X_t$ and can calculate $E[X_t], \forall t \in [1,n]$ where $n$ represents the longest maturity of all contracts in the portfolio. The cashflow variability arises from the unexpected behavior of clients since cl...
This might be a really simple question but I'm quite confused. I've been given a limit order book (I don't think it's necessary to upload it for my question but I can if you want me to) and I've been asked to calculate the expected average transaction cost and the real average transaction cost of a market sell order an...
when using the monthly Fama/French 3 Factors .csv file on the French data libary web site, it is possible to see that the left column includes the monthly excess return of the market (Mkt-RF) and the very right column includes the monthly risk free rate (RF). The latter one is based on the one month T-Bill. However I a...
I just want to reassure myself that I understand why Monte-Carlo is the appropriate tool in computing the fair value prices for different options. Let's say we have a Tenor discretization $T_{0}=0<T_{1}< T_{2}$ and some numeraire $N(T_{2};t)=P(T_{2};t)$, i.e. the domestic zero coupon bond that matures at $T_{2}$. Say w...
How do I find the risk neutral valuation of $P(T_{1})$ und the measure $\mathbb Q^{P(T_{2})}$, where $P(T_{1})$ and $P(T_{2})$ refer to the $T_{1}$ and $T_{2}$ zero coupon bond with $0 < T_{1} < T_{2}$, and $L(T_{1},T_{2},t)$ be the associated forward rate. The forward rate is assumed to be follow lognormal law under $...
So I have compiled the hourly log returns for an asset, and grouped it in columns with each column being one hour's returns. How can I test whether there are seasonal patterns in the returns according to the hour? A GARCH model? Anova? T-test?
In Shreve's Stochastic Calculus for Finance Volume II, section 6.5, page 273, Shreve talks about pricing a zero-coupon bond. A zero-coupon bond is a contract promising to pay a certain "face" amound, which we take to be $1$, at a fixed maturity date $T$. Prior to that, the bond makes no payments. The risk-neutral pric...
I'm trying to download hourly trading volume data via the Bloomberg Excel API. For context, this is the formula I'm using, which pulls hourly trading data for Apple between Dec. 10, 2021 and Dec. 17, 2021: =BDH("AAPL US EQUITY", "VOLUME", "12/10/2021 00:00", "12/17/2021 00:00", "BarSize", "60", "BarType", "T") This fo...
In recent history, whenever there is a markets crash, we see a sudden market reversal. Some of the sharp reversals when the market changed direction suddenly are: May 2009 Last week of December 2018 Mid-March 2020 Is there a reliable market indicator that captures this sudden change in market sentiment? There must be...
I am trying to understand how deposits in bank are modelled, and one such modelling approach is replicating portfolio approach as provided in http://www.diva-portal.org/smash/get/diva2:1208749/FULLTEXT01.pdf Below is the excerpt on how to construct a replicating portfolio However I failed to understand how exactly Au...
I'm wondering if there is a way to work out the formula for the price of the zero-coupon bond using the Vasicek's model (P measure). I have tried to find reference on it but could not, I don't know if it is possible. I know that under the Q measure, the zero-coupon bond price would be $P(t,T)= A(t,T)e^{r(t)B(t,T)}$ whe...