All Questions

0
votes
0answers
1 view

In-sample and out-sample backtest performance, how to do this?

I have a strategy in development that I am backtesting to optimize for parameters, a total of N combinations. Trying my best not to overfit. I run the first backtest for the in-sample period and I ...
0
votes
0answers
5 views

Using AlphaVantage For Japan/Shanghai/Hong Kong/Shenzhen stock exchange data?

Can I use AlphaVantage to pull data from Asian stock markets? I've been able to do it for others such as the London stock exchange, India stock exchange, Australian stock exchange etc. but haven't got ...
8
votes
0answers
234 views

Jim Gatheral's ansatz

In the Ansatz section of Jim Gatheral's book Volatility Surface (page 32), he assumes $$\mathbb E[x_s|x_T]=x_T\frac{\hat w_s}{\hat w_T}$$ where $\hat w_t:=\int_0^t \hat v_s ds$ is the expected total ...
1
vote
2answers
58 views

Reference on Futures basis trading strategy

I have heard that it is possible to trade on the futures basis. In my understanding, the futures basis is essentially the difference between the futures price and the underlying asset (also referred ...
0
votes
0answers
10 views

How to forecast monthly volatility with daily gjrGarch estimates

I'm currently writing a paper and need to regress the 22 days realized volatility of the following month on its GARCH estimate and the 126days realized volatility up to t=1 The paper im referring to ...
1
vote
1answer
97 views

In-sample volatility measurement

I would like to know what is the most reasonable way to measure volatility in a sample of past observations. Aside from standard deviation, are more complex models like GARCH used for (historical) ...
0
votes
2answers
81 views

How to create a volatile market, by combining less volatile markets?

This might be against the law of gravity, but I'll give a try 🙂 Is there a way to combine two financial products $p_1$ and $p_2$, into a single product $p_c$ that is more volatile than its ...
1
vote
1answer
55 views

exponential weighting on volatility

I am trying to apply a volatility strategy. I am reading a paper where the authors defined the volatility as: "Exponential Weighted Volatility of returns with a 1-year window and 3-month half-life" ...
2
votes
0answers
19 views

American Perpetual Put Option

I want to compute the expected payoff of a (classical) perpetual American put option in the Black-Scholes-Merton (BSM) framework with an optimal strategy of exercising the option at time $\tau=\inf\{t:...
0
votes
0answers
18 views

Black's Approximation - Discrete dividend for Put Options

I am currently trying to price and option chain for dividend paying stocks (american style exercise). I am able to calculate the Net Present Value (NPV) of dividends until maturity and then apply ...
1
vote
0answers
14 views

Difference between modelValue from HestonModelHelper and NPV() from VanillaOption

I am trying to calibrate an Heston model and price vanilla option using Quantlib 1.15 and Python 2.7. I use the following code ...
1
vote
1answer
1k views

Finding ETF Symbols for alpha vantange

I'd like to use the api of https://www.alphavantage.co/ which is pretty well documented, in terms of avaliable functions (but not parameters). However, in order to get an API response, one needs to ...
0
votes
0answers
29 views

How is Kalman Filter used to estimate Term structure Models

I am implementing "The Term Structure of Variance Swap Rates and Optimal Variance Swap Investments" . This paper is using kalman filter to estimate the state and the mean variance and a parameters on ...
2
votes
3answers
146 views

Getting sets of random correlated variables

For the training of a machine learning model I need to add additional features (macro variables), and these features are correlated. I need to run the model N times, and for each time I have to add ...
0
votes
0answers
33 views

Symbol “.” in the derive of Quanto Adjustment

I am reading "Analysis, Geometry and Modeling in Finance". In section 2.10.2 which derives the quanto adjustment, it states that (in page 46) by definition the process $S_t^{d/f}S_t^f$ is the foreign ...
0
votes
0answers
28 views

Choquet integral risk measure

I have one question that cannot fully understand why. What is the definition of the Choquet integral risk measure?
0
votes
1answer
48 views

Why do we need to borrow money in the call-put parity? [on hold]

As I understand it, the call put parity is given by $$c = p + S - \frac{X}{(1 + r)^T}$$ I understand the rationale behind simultaneously buying the call, put and underlying asset for $S$, but why ...
1
vote
1answer
32 views

Max allowable return in Markowitz model

The Markowitz model solves the following problem: The portfolio with the smallest variance among attainable portfolios with expected return µV. Here we have to choose µV to get the optimal portfolio ...
0
votes
2answers
80 views

From Libor Curve rates to “forward” zero-coupons

I am provided a 6M euribor curve, constructed from FRA's and swaps of tenor 6M on the euro, as well an EONIA curve, constructed from zero-coupons EONIA swaps. Both curves are provided as functions $d\...
1
vote
1answer
37 views

How is hypothesis testing work in population sampiling? [on hold]

I am learning the basics of quant trading from quantconnect's tutorial Confidence Interval and Hypothesis Testing. I understood the first part of the article but I dont understand "Hypothesis Testing"...
0
votes
2answers
72 views

Geometric Sharpe ratio

I'm computing different metrics for mutual fund performance. I want to use classic Sharpe ratio, but I also got to know there is geometric Sharpe ratio. Unfortunately I didn't find enough info about ...
0
votes
0answers
25 views

Strange results in Fama-Macbeth regression estimates

I am reading the paper Chordia, Tarun and Subrahmanyam, Avanidhar and Anshuman, V. Ravi, Trading Activity and Expected Stock Returns (Undated). Available at SSRN: https://ssrn.com/abstract=204488 or ...
0
votes
0answers
46 views

Difference between characteristic function and Fourier transform

I'm struggling to understand the difference between this two functions. I have this condition: $P_j:=\mathbb{Q}(S_T>K):=\frac{1}{2}+\frac{1}{\pi}\int_{0}^{+\infty}Re[\frac{e^{iuK}f_j(u,x,v)}{iu}]\...
2
votes
2answers
48 views

Interest Rate Assumption (Ornstein - Uhlenbeck Process)

Why can we assume that interest rate is stationary (identically distributed), Gaussian (has multivariate normal distribution), Markovian (the future is determined only by the present), and continous ...
2
votes
1answer
78 views

What is upper left vol?

First time question, so please let me know if you have feedback for how I am asking. I am reading a market research piece and it makes reference to the performance of "vol, particularly the upper ...
1
vote
1answer
73 views

Leverage constraints

I am trying to complete my project on Mean-Variance Leverage Optimization, and I have found lots of helpful advice on this forum. I wanted to ask you if you have some idea on how to implement a ...
2
votes
0answers
27 views

Simulating from a multivariate clayton copula

I am recently into copulas for finance, I've read several examples of how to generate dependent random variables with most kind of copulas. The problem for me is that all the books describe the case ...
0
votes
0answers
19 views

One-day Binary Event Implied Moves

What is the convention for pricing the expected 1-day move of a binary event based off of the implied volatility of the nearest series which contains that event? How do you distinguish between the ...
0
votes
0answers
34 views

Discounted self-financing portfolio still a self-financing portfolio?

Assume a self-financing portfolio $V_{t}=\theta_{t}^{0}S_{t}^{0}+\theta_{t}S_{t}$ with $S_{t}^{0}$ the value of the non-risky asset at time $t$ and $\theta_{t}^{0}$ the amount of shares of the non-...
2
votes
1answer
137 views

ISDA CDS model Upfront Fee

Can the ISDA CDS model be used for "legacy" CDS? I understand that it lets you convert from traded spread to upfront and back on the day CDS was traded but what about CDS that was traded 2 years ago ...
1
vote
0answers
26 views

Has there been studies done on changes in model performance post-crisis?

My question is, has there been done any studies on whether the efficiency and accuracy of pricing and risk-management of derivatives using different models and algorithms has changed after the ...
0
votes
0answers
41 views

CDS Quote Conversion - Quoted vs Par

Just to be on the same page, let me start with some nomenclature: Par Spread = Coupon for which the CDS has NPV=0, assuming a piece-wise constant hazard curve (considered in conjunction with all ...
2
votes
1answer
24 views

Multi-factor vs Single-factor interest rate model for XVA / CCR

When calculating XVA or Counterparty Credit Risk (CCR), you can choose to simulate your interest rate with a Multi-factor interest rate model or a Single-factor interest rate model. What are the pros ...
0
votes
0answers
17 views

TurnbullWakemanAsianApproxOption function in R not very clear to me - tau

I would like to price an Asian Call Option with 0 carry using the formula by Turnbull and Wakeman in the book of Haug. I found a package in R, fOptions, that has ...
0
votes
0answers
24 views

why we seldom see application of copula-garch model in macroeconomic

I find a lot of reference about copula-garch in finance market,but it seems that articles about copula-garch model in macroeconomic are rare.Is there any instrinc problem when it comes to ...
0
votes
0answers
15 views

Rescaled range analysis results in Hurst exponent close to 1 for Brownian motion

I am trying to use the the RS analysis method to estimate the Hurst exponent of a time series. Bellow i am posting my python implementation of the RS analysis. ...
1
vote
1answer
67 views

Pricing structured products (Mortgage Backed Securities) [on hold]

What would someone have to do to be able to price a structured product like Mortgage/Asset Backed Securities?
8
votes
3answers
6k views

What mathematical theory is required for high frequency trading?

I am an applied math postdoc and I have been presented with the option of leaving academia to work in high frequency trading. I wanted to get a feel for the field and the theory underlying it so I ...
0
votes
0answers
41 views

What is the basis for the ansatz here? [duplicate]

I'm reposting this question: Jim Gatheral's ansatz I have the same question, but the answer given in the comment is no longer applicable since the link does not work.
2
votes
1answer
9k views

Duration of a floating rate note

I have the following C# code for calculating the modified duration of fixed coupon bonds: ...
0
votes
0answers
33 views

Option Prices on Thomson Reuters Eikon Database

I would like to get hist. option prices from Eikon. I am not looking for the entire option chain and I was wondering if Eikon offers average data/prices. Average European call and put option prices ...
0
votes
0answers
38 views

Zero rate computation in Quantlib [on hold]

I am trying following code, zerorates which is received is different than I expect. Can someone suggest where am I going wrong? ...
0
votes
0answers
35 views

Why doesn't tenor of Euribor index change spot rate in Quantlib?

I'm trying to create a yield curve in QuantLib based on swap rates. The swap rates I'm using have a 6 months fixed frequency and a 3 month float frequency based on LIBOR. What I don't understand is ...
0
votes
1answer
49 views

How to add annualized quarterly returns? [on hold]

I have four quarterly returns that have all been annualized. How do I calculate the annualized return for the year from these values? Or do I need to back into them to get the holding period returns
0
votes
0answers
50 views

Yield Curve Flattening Trade

Relatively simple question, but came upon it in class and have not been able to come up with an answer: The two-year bond yield is equal to 4% while the 10-year one is equal to 10%. You want to put ...
0
votes
0answers
50 views

Practical Skew Model For Equity Options?

I'm looking for a simple model I can use to calibrate equity implied volatility surface. There are several models published in the literature, and most of them seem far too sophisticated for my ...
1
vote
0answers
55 views

transactions costs and leland modified volatility

When there are transactions costs, we are in a situation of incomplete market. What does the modified volatility of Leland (Option Pricing and Replication with Transactions Costs, 1985) bring us? can ...
1
vote
1answer
72 views

Fixed Income Portfolio Optimization

I'm trying to solve for a maximum sharpe ratio portfolio in the fixed income space. To do so, i use CVXPY in python. I use this Paper as reference. This is my "setup": ...
2
votes
1answer
546 views

Are there any software libraries for backtesting FX algorithms against tick data?

I've read question, however it doesn't appear as if any of those libraries work for FX data. A Google search for python forex backtesting turns up this project, ...
26
votes
4answers
4k views

Is there any theoretical basis for pattern-recognition strategies?

Mean-reversion and trend-following strategies have some kind of a theory behind them that explains why they might work, if implemented well. Pattern-recognition, on the other hand, seems like nothing ...

15 30 50 per page