instruction
stringlengths
35
27.7k
What are folks using for their crypto data needs. I am looking for a provider of Crypto data - free of survivorship bias and should at least have the top 20 coins historically. As this research paper states, survivorship and delisting bias are a big deal in crypto. Survivorship and Delisting Bias in Cryptocurrency Mark...
Question: I did some experimentation today to see if volatility changes as a function of the sample frequency. Prior to starting this experiment, I believed that volatility was a function of sample frequency and that the scaling should be like $\sqrt T$. It might be that I have totally misunderstood something. What I f...
From Breeden-Litzenberger, we know that the second derivative of a European call option's price with respect to the strike price is equal to the risk-neutral probability density function of the underlying asset's price at the option's expiration. However, options_price(strike_price) is not a continuous function, so add...
Fama & MacBeth (1973) test a two-parameter model of market equilibrium by examining whether its implications hold empirically. They work with the following generalization of the model: $$ \tilde R_{i,t} = \tilde\gamma_{0,t} + \tilde\gamma_{1,t}\beta_i + \tilde\gamma_{2,t}\beta_i^2 + \tilde\gamma_{3,t}\sigma_i + \tilde\...
I have no problem forecasting and minimize ex ante information ratio for a market neutral portfolio, because the benchmark is just zero and you are just minimizing portfolio variance while maximizing return, using some optimization software and wT x cov x w to calculate variance. But how do I change the formulation whe...
I believe there are several drivers which bring a government to tap a bond: Reduced issuance in that particular bond line Liquidity of the bond Attractiveness of the bond Price above par Could you please delve deeper into the price above par driver and possibly explain why this is a driver, plus any other drivers you...
in the paper of Hayashi et al. in assumption D is defined the following convergence in probability $A(q)_t^n \overset{\mathbb{P}}\to \int_{0}^{t} a(q)_s ds$. what does it means the process $a(q)$ is $\mathcal{F}_t^0$-optional positive process?
I have a momentum factor which consists of going long in three rising ETFs and going short in three falling ETFs. I want to use this factor as part of my portfolio for Black-Litterman model, however I do not understand how I can come up with equilibrium weights for this kind of factors. What would be the right strategy...
We've been financial building ML models for years, and have multiple portfolios live - but we're new to the volatility space, none of us are options traders. How could we effectively use implied vol forecasts to trade with minimal friction, aside from the VIX futures? (we can predict it well for almost all assets/asse...
Brigo and Mercurio published the 2nd edition of their (classic? definitive?) book on interest rate models in 2006. Have there been any major theoretical developments since then? Has anyone published a book or paper that would bring me up-to-date? In particular, have the Roger's potential approach (link) or the Markov f...
Here is my understanding from what I’ve gathered, but I want to confirm if this is correct (and/or if there’s something I’m missing). If a stock becomes hard to borrow, one can create a synthetic short forward position by selling calls and buying puts at the same strike and expiry. This allows a trader to replicate the...
I have the settlement prices of 3-month SOFR IMM futures and I'm trying to compute the forward curve to replicate FactSet's results, but I have trouble understanding how they do the convexity adjustment. According to their white paper, At FactSet, we are using a simplified model-free approach to infer the convexity ad...
I am struggling to understand the intuition and use of half-life period of a mean reverting process. According to definition, half-life period shows how long it takes for a time series to return halfway to its mean after a deviation. Below I summarize my questions: Why half-life? Why we are interested to know how long...
I've done a lot of research and can't find any place that allows me to export this data. I know ProRealTime has it, but can't export the data. I've read some threads about people web scraping the data, but doesn't seem to be a place where I can web scrape any historical intraday pre/post market data. Many thanks
I'm looking to find a different measure than average shift move to explain the behavior of the IR VOL products say Swaption. I know it's a very open question not only touching upon IR VOL scope. Let me give you an example. Say I have a Swaption surface which can be described in the matrix form for two random days and a...
Problem Statement : Alice and Bob are in Roman times and have 4 gladiators each. The strengths of each of Alice's gladiators are 1−4, while Bob's gladiators have strengths 4,5,9, and 12. The tournament is going to consist of Alice and Bob picking gladiators to fight against one another one-at-a-time. Then, the two glad...
I am reading SOFR Futures and Options by Huggins and Schaller . In chapter 2 , they described a portfolio of 3m and 1m sofr contracts as a hedge from FOMC meeting . The accompanying spreadsheet calculates sensitivity to level and jump but the values are hardcoded. Can anyone help me with the method to calculate such se...
Suppose I am valuing a callable bond using stochastic interest rate paths (LMM generated for example) and I wish to express yield to maturity as a single value. Would it be appropriate to average the cash flows at each time point and determine the yield to maturity for those cash flows (less computationally expensive) ...
Today I came across a trade which was a "1m5y" swaption booked as of trade date Tuesday 28th Feb 2023. This swaption has an expiry date of Thursday 30th March 2023. How was this expiry date determined from the definition of a "1m5y"? If a non-end-of-month parameter is used (given 28th Feb 2023 is end of month) the expi...
I wonder if the Raw interpolation (known as linear on the log of discount factors) can handle negative interest rate due to the inverted yield curve? I understand using the linear on log of rates and linear on discount factors does not allow negative interest rate, but what about linear on the log of discount factors? ...
From my understanding: FwdPx= SpotPx - Accruals + Financing Assume that the yield curve is flat/or that the bond yield stays the same the next day, i.e. that the market is unchanged and that the only force the bond is subject to is the Pull to Par. Then if it is trading above 100 its price the next day will by slightly...
I am currently studying rate models and I understand that the One-Factor model has some incompleteness: The yield-curve can only be shifted. But I don’t understand what parameter controls this shift ( mean-rev, volatility, theta ..) And concercing the multiple factors model ( For example a 2-factors hull-white) how can...
In this paper by Jaeckel (2006), he derives the asymptotics for the option price $b$ as: \begin{align*} \lim_{\sigma \to \infty}b= e^{\theta x/2} - \frac{4}{\sigma}\cdot \phi(\sigma/2) \tag{2.7}\\ \lim_{\sigma \to 0} b = \iota +x \cdot \phi(\frac{x}{\sigma}) \cdot \left(\frac{\sigma}{x}\right)^3 \tag{2.8} \end{align*} ...
I want to ask a perhaps simple question: Why do we use delta on the x-axis instead of the strike price when discussing volatility smile or volatility surface? In the book I'm currently reading, it is written, 'Different deltas correspond to different strike prices,' but I don't understand why. Book: Derivatives: Theory...
Investors should be compensated for accepting systematic risk, as it cannot be diversified. Why do the investors need to be compensated for accepting systematic risk? Because no one can avoid it and nothing can be done to prevent it. I understand that if not given a suitable return, no investor would accept the syste...
I am doing some research about market microstructure and for this reason I need the historical data of stock symbols included in the S&P 1500 Composite Index. Namely, I need to know which stock symbols were part of the index in the past. Do you know where I can retrieve this? (Free) Data about the past 5 years would su...
For risk free zero coupon bonds we can derive forward rates from observed the prices of zero coupon bonds. For example if the 1y zero rate is 1% and the 2y zero rate is 2% we can derive that the 1yr forward is 3% (approximately). Furthermore, the t0 price of the 2y bond is 96%, and if we calculate the 1year forward of ...
When modeling the dynamics of a market, a common assumption is that the impact of a "small" (e.g. very low percentage of daily traded volume) order on current and future observations of the market ("observations" being things one could use to determine how much of one asset you could trade for another, e.g. order book...
I'm having trouble understanding the intuition of a simple beta hedge using a linear regression. Assuming an asset has a beta of 0.5 against the market. That implies for a percent move in the market, the asset moves a half of a percent. As an equation: Asset = 0.5* Market If one invested 1000 dollars in the market, I ...
I am interested in finding the price of a forward zero coupon bond B(t0,t1,t2) under the Hull-White model. To arrive at this result, it makes sense to proceed in this way: calculate P(t,T) = A(t,T)*exp{-B(t,T )r(t)}with the Hull-White model calibrate the parameters a,sigma of the model through the cap/floor I see `B(t...
I am reading Bergomi's book (Stochastic Volatility Modeling), and in section 8.7 The two-factor model (page 326), the following dynamics are given: \begin{align} dS_t &= \sqrt{\xi_t^t}\,S_t\,dW_t^S\\ d\xi_t^T &= 2\,\nu\,\xi_t^T\,\alpha_\theta\,\Big( (1-\theta)\,e^{-k_1(T-t)}\,dW_t^1 + \theta \,e^{-k_2(T...
I have a hypothetical investment strategy that returns $x$ amount after $n$ days for a $1/n$ portion of the portfolio. I want total cumulative portfolio return. Is this right? Basically, I calculate the return for each portion
Motivation: Half-life (HL) period shows how long it takes for a mean-reverting process to return halfway to its mean after a deviation. Most commonly, an Ornstein–Uhlenbeck (OU) process is applied to estimate HL period. However, financial data embeds volatility clustering, i.e., high/low volatility regimes cluster toge...
I am trying to construct a curve based on OIS quotes. Fixed rates in those OIS are quoted againgst the arithmetic average of the floating rate. Consequently, I am using the correspoding helper class - ArithmeticOISRateHelper. To my understanding, quantlib solver is unable to find a solution, while extracting a forward ...
I am trying to solve the Thiele differential equations $$ \frac{d}{dt}V^1(t)=r(t)V^1(t)-b^1(t)-\mu_{12}(t)(V^2(t)-V^1(t))-\mu_{10}(t)(V^1(t)) \\ \frac{d}{dt}V^2(t)=r(t)V^2(t)-\mu_{21}(t)(V^1(t)-V^2(t))-\mu_{20}(t)(V^2(t)) $$ using the R function ode. This is the Thiele differential equation for a health insurance with ...
In Gatheral's "The Volatility Surface : A Practitioner's Guide", Equation (1.10) page 13, the following relation linking squared local volatility and squared implied volatility is expressed : $$\begin{equation} \sigma^2(y, t) = \frac{\partial_T w}{1 - \frac{y}{w} \partial_y w + \frac{1}{4}(-\frac{1}{4} - \frac{1}{w} + ...
I'm plotting the Net Delta of calls and puts for a given ticker symbol and a user specified range of expiration dates. Net Delta is calculated for each option contract using the following formula: Net Delta = 100 * Delta * Open Interest The x-axis is strike price and the y-axis is net deltas. Here is an example using S...
I am wondering if someone knows relevant literature on the joint temporary price impact. The temporary price impact here refers to the difference between the best ask/bid price and transaction price at a specific time. For example, a large order may consume layers of liquidity within the limit order book. Here are more...
I am trying to create a local volatility surface using a cubic spline interpolated implied volatility surface. In other words, I have a function $\sigma(T,K)$, that is arbitrage-free $\forall T,K$ (even for strikes and maturities that aren't listed). This way, I can calculate $\frac{\partial^2 \sigma(T,K)}{\partial K^2...
I'm studying arithmetic Asian options and there is integral of the following form: $$X_T=\int_0^T e^{\sigma W_t+\left(r-\frac{\sigma^2}{2}\right)t}dt,$$ where $W_t$ is a Brownian motion/Wiener process. Is it possible to calculate momnets of this integral, i.e. $E[X_T^k]$? Clearly, $$E[X_T]=E\left[\int_0^T e^{\sigma W_t...
In the Open Gamma paper describing the ISDA CDS pricing model, it is mentioned that given the time notes of the credit curve $T^c=\{t_{1}^{c},...,t_{n_{c}}^{c}\}$ and that the survival probability for the time node $i$ is $Q_{i}=e^{-t_{i}^{c}\Lambda_{i}}$, then for a time point $t\in(t_{i}^{c},t_{i+1}^{c})$ the corresp...
I am using QuantLib to create a CallableFixedRateBond. I set up the HullWhite model as the pricing engine and compute effective duration and modified duration. Given the price of the bond is heavily discounted (thus unlikely to get called), my expectation is that EffDuration would be equal or perhaps slightly smaller t...
When we sell an option and we hedge it using Delta, we replicate the option payoff until maturity according to its Delta. If we replicate the option perfectly and with high frequency, we should be able to pay just the payoff at the end if it is exercised, otherwise we end with zero PnL at maturity. How traders and bank...
I have been attempting to develop an algorithmic trading agent for a single asset pair and upon researching, it seems as if, in theory, reinforcement learning would be a natural way to approach this problem. My idea was to have our observations be defined as follows: $$o_i = (t_i, v_i, w_i, b_i)$$ where $t_i$: time of...
I have spent some time going through the maths of both Mean-Variance Optimization and CAPM, and I'm trying to pin down the mathematical differences between them. For both, let $p$ be a portfolio consisting of risky assets with returns $\mathbf{r}=( r_1,r_2,\dots,r_m)$ and weights $\mathbf{w} = (w_1,w_2,\dots,w_m)$, alo...
I have read such codes as below in buyandsell strategy from backtesting import Backtest, Strategy class BuyAndSellSwitch(Strategy): def init(self): pass def next(self): if self.position.size == 0: self.buy(size=1) else: self.sell(size=1) bt = Backtest(data, BuyA...
Does anyone have information on eoddata.com? I have been trying to access data for several days without success. I usually receive a download every evening. I have sent multiple support messages with no rely. I keep getting error message that the site is not available. Thanks. John
I have a simple question on US stock market: what is the purpose of listing a stock to a specific exchange given that it can be traded on multiple exchanges? For example, apple stock (AAPL) is listed on NASDAQ, but according to https://chartexchange.com/symbol/nasdaq-aapl/exchange-volume/, it is also traded on NYSE Arc...
In the paper of jacod et al the authors used the pre-averaging function to deal with microstructure noise. They suggest the easiest function which is $$\bar{Z_i} = \frac{1}{kn} \left( \sum_{j=kn/2}^{kn-1} Z_{i+j}-\sum_{j=0}^{kn/2-1}Z_{i+j} \right) \tag{3.13}$$ What is not really clear, why it is used a "minus" inside t...
EDIT based on the answer provided, I have followed, but still I cant match the bbg data with my calculations, could some advise how to match the bloomberg Price given the data? import numpy as np import scipy.stats as ss def BlackScholes(payoff, S0, K, T, r, sigma, q): d1 = (np.log(S0 / K) + (r - q + sigma**2 / 2)...
Soybean future on Bloomberg's security description, I see Contract size = 5,000 bushels price = 1,200 usd/bushel contract value = $60,000 How is the contract value of $60,000 derived? Isn't the contract: value = contract size * price which in this case = 5,000 bushels * price of 1 bushel of 1,200 = $6,000,000 ?
I'm trying to come up with a method to calculate fair IVs for SPX options based on historical data. I can't find much information on this so here's how I've thought to do it: Determine a metric for approximating future volatility. This could be as simple as using the current VIX value or could be any desired method....
I was wondering whether anyone can improve on the following arbitrage finding scheme in the currencies market. The following is modified from the book of Capinaki and Zastawniak called Mathematics for Finance - An Introduction to Financial Engineering pages 263, Solution 1.3: " I think a brief description of the genera...
With the following process: $$dS_t = r S_t dt + σ(t) St dW_t \tag1$$ and $$ \sigma (t) = 0.1 \ \ \ if \ \ t < 0.5 \\ \sigma (t) = 0.21 \ \ \ otherwise$$ I know the general solution should be : $$S_t = S_0 e^{rt − \frac{1}{2} \int_0^t \sigma (s)^2 ds +\int_0^t \sigma (s) dW_s} \tag2 $$ and if $log(S_t) = Z_t$ $$Z_t =...
I am currently working on rates model. I would like to understand, mathematically, what does it mean to have an inverted yield curve? And I am asking myself for a certain model, how can I generate an inverted yield curve? Any content/document is welcome. Thank you
I am reading the book by Haug, 2007 on the pages 186-188 one can find the Turnbull and Wakeman approximation for arithmetic avarage rate option. The approximation adjusts the mean and variance so that they are consistent with the exact moments of the arithmetic average. The adjusted mean, $b_a$ and variance, $\sigma_a...
I am trying to use the CAPM. I gathered monthly data on German government bonds and DAX40 (it's an index that contains top 40 German firm). Then based on only one company like Volkswagen monthly stock return in the last 60 months I calculated the $\beta$ by regressing the return of the stock on the market. Should I con...
I am currently reading the paper Computation of Break-Even for LV and LSV Models. This paper defines the vol-vol breakeven \begin{align*}\tag{1} B_t(T,K,T',K') &\ :=\ d\langle \ln \sigma^{T,K}_., \ln \sigma^{T',K'}_. \rangle_t \end{align*} where $\sigma^{T,K}_t$ is the implied volatility for expiry $T$ and strike $...
Take a hypothetical model that takes a stock as input and outputs "up" or "down" indicating if the stock price will increase or decrease in a fixed time interval T. Assuming the model is correct >50% of the time, what are the strategies to trade given this information? No indication of how much the stock increases/decr...
I was buying TIPS in a personal account and there was a minimum size for each offer. The min face value was often 75k. This seems counterintuitive to me as smaller trade sizes would leave more edge for a market maker after accounting for impact. It doesn't seem like a min size would result in fewer odd lots as I could ...
Is there a stochastic model for describing how equities behave in markets with trading fees, and if so what model is most commonly used? I'm envisioning something similar to the Black Scholes model, except that the differential of the equity should include some term that captures these fees.
TL;DR: I have an incomplete set of swap rates and want to bootstrap the zero-rate curve, what can I do? I'm trying to construct a spot-rate/zero-rate curve from a swap curve (i.e. par-rate quotes) based on ESTR OIS swaps for tenors (OverNight; 1week; 2w; 1month; 2m; 3m, 6m; 1year; 2y; 3y; 4y; 5y; 6y; 7y; 8y; 9y; 10y; 1...
As widely shown in this forum and in the literature, the order book imbalance is empirically a good predictor of the market move. However, even though the calculation of the imbalance is very straight forward, I'd like to ask: how does one model the order book imbalance to try to guess the time (in seconds) at which th...
I am reading the book "Principles of Corporate Finance" 12th edition by Brealey, Myers and Allen. In the 21st chapter on Option pricing, they discussed the General binomial method for option pricing. The authors posed the question " How do we pick sensible values for the up and down changes in value?" and went on to gi...
I've some inquiries that may be naive related to ZDF. I have got a look at those two resources for zero discount factors: Oracle - Zero Discount Factors Wallstreetprep - Discount Factor Unfortunately, I'm still confused about ZDF. Here is what I get: The second approach (for calculating the ZDF) in wallstreetprep is ...
I've been trying to bootstrap the zero-curve from a swap curve composed of ESTR OIS swaps. Theory says when the par-curve is upward sloping, the zero-curve will be above the par-curve and vice-versa. Moreover, I would imagine when the par-curve is perfectly flat, so would the zero-curve. However, applying different met...
In the context of the Fama-French 3-factor model, we have six portfolios used for creating the SMB and HML factors: SL, SM, SH, BL, BM, BH. (The notation is: S~small, B~big, L~low, M~medium, H~high). If I use the six portfolios as test assets in the GRS test (with the three factors: market, SMB and HML), I get the foll...
There is abundant literature on pricing interest rate derivatives, but it is a struggle to find much on the science and methods behind practical Profit Attribution Analysis (PnL explain) on fixed income portfolios, or portfolios in any asset class in general. Is there a comprehensive book which covers this topic?
In the Fama-French 3-factor model, is there a point in looking at the relationship between the estimated alphas for the 25 test portfolios and the size-rank or value-rank of these portfolios? Also, might it be true that there will be no linear relationship between the alphas and the size-rank (or value-rank) by design?...
Im basically looking for a further/non mathematical explanation for following answer ATM call option delta with low volatility what is meant with a positive drift? does that mean we assume the stock will grow by r? could somebody please give an example how the option is in the money forward? or how my stock appreciates...
I am required to simulate the trajectory of the Euribor3M rate as it is crucial for determining the future cash flows of my derivative instrument. I've received guidance to employ the Hull-White model. How can I transition from the short rate to Euribor? Is it accomplished through the forward zero-coupon bond? I am fol...
Could someone help with any relevant literature about building an Execution Algo and things to consider and keep in mind for optimal passive order placements? There are basic algos like TWAP/VWAP/POV etc, but how does one gain edge on the micro structure level? does it also involve understanding the microstructure bett...
I have clients who take loans (Advances) weekly. The way that they repay the advance is after 3 weeks when their goods are sold, using the sales proceeds of the goods. But if the goods don't sell for the estimated amount these clients may have arrears, but still in the next week they can take a loan. These Advances are...
In addition to Wikipedia, YouTube and other internet sources, I'm reading Timothy Crack's "Basic Black-Scholes: Option pricing and trading". Most of these sources suggest that it is fairly obvious that an option has time-value. But I am not yet convinced -- could someone please clarify the following reasoning. To me it...
Our professor calculated the present value of a bond with $T=10$ years, $FV=10,000$€, $C=700$€ p.a. and an expected rate of return $r$. He wrote $$\begin{align}PV&=C\cdot\sum_{n=1}^{10}\frac{1}{(1+r)^n}+\frac{FV}{(1+r)^n}\\&=700\cdot\color{red}{\frac{1-\frac{1}{(1+r)^n}}{(1+r)^n}}+\frac{FV}{(1+r)^n}\end{align}$$ I don'...
In Chapter 9 of Shreve's book Stochastic Calculus for Finance II, the main theorem is the 9.2.1. Defining the discounting process $D(t)=\mathrm{e}^{-\int_0^t du r(u)}$ and $r(u)$ the, possibly stochastic, interest rate process; the theorem states that any positive price process $N$, under the risk neutral measure with ...
When coming to calculate Gamma exposure (or Greek exposure), it's common to assume that traders are buying puts and selling calls to hedge underlining positions. Brokers are doing the opposite: selling puts and buying calls. However, by looking at volume and open interests, this assumption may not be always true becaus...
Same underlying, same strike, same expiration. One is a covered call, the other is cash secured put. These are screenshots taken from a website. As you can see, they are similar, but the max win levels are different. The implied vols seem to be different. Is this simply due to the two options having slightly differen...
Sorry if this has been asked before. Thought this is a standard question but searching on web didn't give me too much useful links. Assuming a series of stock prices, how to detect and potentially remove big jumps in this series? We want to keep round humps but detect/remove sudden jumps. For one example, assuming the ...
This is a bit of a vocabulary / concept tackle (these two, tackling each other). My question is about this. How would a financial analyst define and extrapolate and make the reader (or, user) envision, what discrepancies and differences are in the financial terms "Old interest" and "New interest" (if, allowed let me sa...
I want to calibrate US treasury bonds to get a benchmark curve as an exercise. I know that choice of bonds may be discretionary. But can you point me to any good public data source where I can get UST data? should I only choose bonds at par? should I choose zero coupons (STRIPS) only or okay to have coupon-bearing bon...
Looking for stock splits and dividend history, every symbol for the last three years.
I'm going through the MAR - Calculation of RWA for market risk sections on tps://www.bis.org basel framework page, but not quite understand the reduced set of risk factors. Is it subset of modellable rfs, or non-modellable rf's or is it unrelated and chosen upfront and contains both modellable and non modellable rfs?
What would be a good reference to understand how the interest rate (r) or dividend yield (q), and I guess the differential between the two, affect the implied volatility of the options? If I look at a snapshot of a wide range of European Call (cash) prices on a US name, an approximate 2 month interest rate would be aro...
Suppose I have a volatility surface (matrix in time and strike) but it might have butterfly arbitrage in it. I want to remove nodes from the surface so that the Vol surface is butterfly arbitrage free. I understand that I can check the butterfly arbitrage condition as follows - for any maturity $T$ and for any given st...
If we compare the form of the original model: https://edisciplinas.usp.br/pluginfile.php/3180059/mod_resource/content/0/Nelson%2C%20Siegel%20%281987%29%20-%20Parsimonious%20Modeling%20of%20Yield%20Curves.pdf To the form of the model developed in this paper (which was 'inspired' by the original NS): https://www.research...
A market maker needs to quote a bid and ask whatever its vision on the stock is. But what happens in the case of panic-selling on a particular stock? The market maker is thus going to buy a lot of this stock. To offset its loss it's going to hedge its position. Yet if the stock never recovers, what does the market mak...
At the beginning of his well known book, Gatheral writes the following [...] Moreover, unlike alternative models that can fit the smile (such as local volatility models, for example), SV models assume realistic dynamics for the underlying. Although SV price processes are sometimes accused of being ad hoc, on the contr...
I was reading about compounded Hawkes process and came across diffusive limit theorems. Where can I find diffusive limit theorems for Poisson processes. I am new to this area, is there a nice introductory book where I can read about compound processes and their limits?
Can someone suggests readings regarding the dependence between sampling schemes and prices at which they are sampled in high frequencies context ? Is there a relationship between prices and times?
Let's say in one day time, underlying price S goes up by $2.4. Then the gamma PnL should be $\frac{1}{2}\gamma_0 (2.4)^2$. Let's assume that in every hour the underlying goes up by $0.1. Then how do we breakdown this gamma PnL by hour? Or how much gamma PnL are we making every hour?
This is for academic purposes. I am trying to find tick data with depth and type of order execution, i.e. MO, LO, cancellation etc. for equities and or indices like SPY that is FREE. It does not have to be a lot, only a day and need not require a large depth. I was using the free samples from Lobsterdata, but I realise...
Suppose we have a portfolio $V$, we are only allowed to invest in one stock $S$, its price movement follows the geometric brownian motion, i.e. $dS=S(\mu dt+\sigma dW)$. We are allowed to choose different gearing ratio $\lambda(V,S,t)$ which depends on portfolio value, stock price and time. Suppose risk free rate is 0...
I'm doing some labelling of time-series in preparation for ML. However I'm not sure what approach I should use if I want to weight a label by two parameters ? To keep it simple, let's say my label is buy/sell. Now, clearly if I only had one variable x representing trend or whatever, I could either do a naïve binary lab...
Im trying to develop a stastical arbitrage strategy that depends on a universe of assets and in a brief way, they replicate some factor(s), index(s), etf(s), etc, and then trade residuals. So, after having some interesting results, I was wondering how the universe selection affects the performance. My approach until no...
I'm a math master student. I'm trying to follow a course-note that unfortunately has chasms to fill for this specific derivation. Rigour unfortunately has been thrown to the gutter. Let $G$ denote a payoff function of some option, and suppose $G$ depends only on the final value of the underlying stock, so $G(S_T)$, whe...
I am practicing for trading interview, especially the quick calculation of mental math. But I am wondering is there any quick method to calculate the general multiplication? like the one -4.41 * 2.86. I know some methods for 5.01*6.99, as (5+0.01)(7-0.01). But how can I calculate a general multiplication of two simple ...
What is the logic behind using the conversion factor in determining the hedge ratio of deliverable bonds in 30Yr UST futures (WN contracts) throughout the trading life of the contract, but then having a 1:1 ratio in actual delivery of the bond to the long futures holder in physical delivery period and therefore leaving...
I downloaded data regarding the YUM stock traded on the New York Stock Exchange in the year 2014. Basically in this dataset, we have 4 columns: the first column is the day the second column is the time in milliseconds expressed in epoch time, the third column is the transaction price and the fourth column is the volum...
Let's say I want to sell shoes, which cost me 90€ in production, and I want to sell them with 20% profit. Do I calculate my selling price then with 90€ * 1,2 (profit is 20% of costs) or with 90€/0.8 (profit is 20% of selling price)? So do I calculate the profit from the costs of from my selling price?