# Questions tagged [quants]

For questions *about* being a quant, akin to questions on programmers.SE vs. SO. Includes soft questions, career-related questions, questions about best practices, etc.

98 questions
Filter by
Sorted by
Tagged with
41 views

I want to calculate correlation with spread (which is often in dollar changes) and then a return but I want to make sure I get the most accurate result possible. What do y'all recommend?
60 views

### How to backtest a strategy with irregular in-out signal?

Hi I'm currently backtesting an event-driven strategies. Unlike factor strategy which has a regular rebalancing interval, event-driven strategy is conducted whenever there is an event. Since we do not ...
• 47
45 views

### Quantlib: Swaption volatility Data fo calibration

I am working with Quantlib and I use swaptions volatilities data to Calibrate the short rate model. I was wondering what if we don't have these data? can I model swaps and swaptions using QuantLib and ...
101 views

### Why does changing the step size in my Binomial Tree changes the final stock prices so much?

I am trying to price a convertible bond by using a binomial tree. For this, I wrote a binomial tree for the stock price. I noticed that changing the step size (timesteps), changes the final value of ...
1 vote
66 views

### Questions on the calculation of time series momentum

I read Moskowitz, Ooi, Pedersen's Time series momentum (2012). The ex-ante volatility estimate (equation (1) in the paper) is I am not sure about the period of the return reflected in the volatilty ...
40 views

### How to train mental math for trading? [duplicate]

I have a mental math test coming up for a quantitative trading firm. Anyone knows good websites to practice?
• 180
144 views

I know a big part of Quant trading is following the market daily and then discussing any changes/risks the next day. Just wondering how a typical quant "follows" the market? i.e what market ...
68 views

### Bet sizing to actual orders

At chapter 10.2 in Advances in Financial Machine Learning it says: Suppose that one strategy produced a sequence of bet sizes $[m_{1,1}, m_{1,2}, m_{1,3}] = [.5, 1, 0]$, as the market price followed ...
50 views

### Market Sentiment Concept Question

I came across an interesting concept question and was curious what other people thought: Let's say some commodity has a certain return distribution. Now, if one knows that over the next five days, ...
89 views

I'm a software developer want to know a little about quant basics. My undserstanding of PFE is that a PFE of a trade at a future time point is commonly defined by taking the average of the highest (or ...
• 213
1 vote
142 views

### How do I estimate the factor sensitivity in a Vasicek Single Factor Model?

I understand the formula of an asset return for an obligor i is given by the following: $$A_i = \sqrt{w_i}*Z + \sqrt{1-w_i}*\epsilon_i$$ My question is - How do I calculate $w_i$? I have the PD, LGD ...
1 vote
131 views

### Operating Leverage Interpretation

Operating Leverage is the ratio of Contribution margin and operating income(proxy of profit). So, Operating Leverage = [Sales-Variable Cost]/[Profit] = Quantity*(Price-AVC)/Profit Many literature ...
758 views

### Where can I find detailed information of famous quant companies such as Renaissance Technologies?

I am doing a report about famous quant companies such as Renaissance Technologies. Where can I find information such as ranking of these companies and their fund's rate of return.
104 views

### How to implement a factor model from scratch?

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 ...
622 views

### Multi-Period Contribution

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 ...
• 115
2k views

### Mark Joshi's book - quant interview questions

I am currently doing the question on pricing the option with payoff: $$\max (S(S-K),0).$$ On the relevant question section, it's asked why would a bank be reluctant to sell such option? I can't really ...
• 189
1 vote
42 views

### What is "level" and "term" in Derman figures?

Im doing my final thesis about implied volatility. In the last section I am talking (not too much deep) about volatility surface. Im using the figure below to show the differences between the real ...
• 11
1 vote
144 views

### DV01 on IRS giving error in Quantlib for ZAR curve "1st iteration: failed at 14th alive instrument"

I am at my wits end to calcualte the DV01 of a swap but keep getting the error "RuntimeError: 1st iteration: failed at 14th alive instrument, pillar May 28th, 2024, maturity May 28th, 2024, ...
1 vote
623 views

### Making a beeline to statistical arbitrage

This question is somewhat related to my previous question here but has not been addressed in any other thread. The answer in that thread hit the nail right on the head with that one line "...
82 views

### Expected value of P&L based on option prices

How can we compute the expected value of P&L assuming the option price is given? Do we need to have more information to calculate P&L?
• 101
1 vote
114 views

### Correlated Wiener Process

I am in trouble with a task: I have a portfolio of 5 assets, and I Have the correlation among them, with a 5x5 matrix. Since each asset follows the BS formula: , I need to perform a montecarlo ...
282 views

Hi so I'm trying to figure out how to adjust for the coupon value in the Z-Spread of a given bond. For example we can take UKRAIN 9.75 11/28. The coupon is 9.75 which is quite a bit higher than the ...
52 views

### Career Advice Model Documentation Role (What is it exactly? and transition to wider quant role in future, can't find info online) [duplicate]

first timer here,I received an 'inmail' on linkedin from a recruiter regarding a role in model documentation team as part of the quantitative modeling and analytics department of a 'global bank'. The ...
192 views

### Random Walk Theory vs. Quant Trading

I am quite new to random walk theory so please excuse my rather simply put question but I am wondering how can quant trading desks and other algorithmic trading firms exist if there is the random walk ...
• 21
104 views

### How do I calculate inflation adjusted CAGR?

I'm running backtests with monthly data going back to the 1920's and I'd like to compare different strategies using inflation adjusted CAGR. But I don't know how to calculate it. Would any of these ...
• 101
95 views

### What happens if my risk factor caught by statistical risk model using PCA turns out to be totally different from other PM's risk factor? [closed]

In order to explain systematic risk we use risk factors and I've learned that since they try to explain 'systematic' risk, risk factors are relatively well-known. However, what happens if the risk ...
• 47
1 vote
57 views

### How many principal components to use for statistical risk model?

If I use every principal component to explain total variance of my portfolio, does it still make sense in portfolio optimization? Because since alpha factors try to find out and explain unexplained ...
• 47
273 views

### Factor alignment problem in portfolio optimization

I'm taking a course 'AI for trading' in udacity, and there is a part I really want to make sure. The lecture keeps teaching me that there are alpha factors (driver of return) and risk factors (driver ...
• 47
135 views

### Someone help me understand why for portfolio variance or Parametric Value at Risk we have to compute the covariance matrix?

I understand that portfolio variance is computed through $w'Cw$, where w is the vector of weights, $C$ being the covariance matrix. However, what I don't get is this: why can't this portfolio variance ...
42 views

### Comprehending Corr heatmap from multiple trials of investment strategy (Paper)

Can someone please explain the heatmap of Corr from backtests in this research paper ? A Data Science Solution to the Multiple-Testing Crisis in Financial Research - Lopez De Prado (2019) - (Exhibit #...
• 23
933 views

### Quantlib: How do I price a ZC bond using the Hull White model?

I am trying to use QuantLib to model short rate and looks like QL has some material here http://gouthamanbalaraman.com/blog/hull-white-simulation-quantlib-python.html I have been able to simulate ...
• 169
23 views

### What are different types of response variable we can consider while developing quant model

I was trying to understand the response variables used in the quantitative trading/investing model development. This question may not look good but I searched on google and could not find results. ...
• 141
1 vote
91 views

### Entry points to finance for Applied Mathematics (Numerical Analysis/High Performance Scientific Computing) PhD Student [duplicate]

I'm looking to go into quantitative finance after my phd in around 2 years. With a background in pdes/numerics/heterogenous and distributed computing, I think my skill set is applicable in this area, ...
414 views

### NLP related finance projects [closed]

fist of all I do apologize if my question is not fit for this forum, but after much research I didn't find a better place to ask this question. I am a PhD student in mathematics. I do know some ML and ...
• 105
32 views

### Tradeoffs of using Loess regression to fit random walks

I am curious if anyone has had much experience attempting to predict random walks using Loess regression or a variant of local statistical methods.
• 101
1k views

### Pre-requisite math books, to the pre-requisite math needed to become a front desk quant

This question is about the pre-requisites to the pre-requisite math needed to become a front desk quant. I have done research online and I found that there are a lot of recommended books as a pre-...
642 views

### Open source projects to gain demonstrable experience in implementing modeling in C++

I have a mathematics background with a PhD in mathematics (not related to stochastic processors or financial mathematics) and have been in derivatives valuation for around 6 years. When applying for ...
• 381
1 vote
257 views

### Current discount rate of Hull White One-Factor Monte Carlo Simulation

I have a question about the Hull-White One-Factor Monte Carlo Simulation. As we know under the Hull-White One-Factor Model, the short rate follows a random process. So basically, every simulation path ...
• 11
98 views

### What the ... are all of you studying/working for asking such questions? [closed]

Sry, I'm new here. But I am just astonished by all those sick questions and answers you ask/provide... Are most of you studying mathematics or are your finance programs that good, that you can ask/...
683 views

### Advice on learning C++ and its integration with Python/R/MATLAB for quantitative finance

For some background information, I am a PhD student in economics. Although I did not study in finance previously, I took a course on stochastic calculus and a course on asset pricing in incomplete ...
• 2,366
644 views

• 355
39 views

### Custom normalisation from 0 to 20

I want to normalise from 0 to 20 For example right now I do normalisation with dynamic outlier exclusion , using median. So it works fine for some values like below ...
1k views

### Quantitative Finance Interview: Brainteaser Question/Birthday Problem

I'm reading an interview book called A Practical Guide to Quantitative Finance Interview by Xinfeng Zhou and I cannot make sense of the solution provided by the book, so I really appreciate your ...
• 587
67 views

### Security Analysis By Benjamin Graham Example Doubt [closed]

So I was reading (trying to read) Security Analysis by Graham and I came across this example ("Example 1" in the image attached below) Being the noob at finance and quant that I am, I was unable to ...
167 views

### Labeling and excluding specific market conditions

I'm going through "Advances in Financial ML" book and got stuck with something which is not covered there (correct me if I'm wrong). Let's assume I labeled data to 0, 1, 2 according to triple barrier ...
• 125
961 views

### Flexible horizon in Triple Barrier Method

I'm going through "Advances in Financial ML" book and I really like the ideas behind Triple Barrier Method and using a flexible horizontal threshold based on volatility. What bothers me is that an ...
• 125
278 views

### First principles in Finance

Every so often I hear people referring to the term "first principles". It seems to me that this term does not necessarily have a universally accepted connotation in Finance. Here is the general ...
• 1,708
43 views

### Adjusting company financials for acquisitions/divestitures

is there a market standard that people refer to for accounting for changes to financial period comparisons (e.g. year-over-year revenue metrics) when the company makes acquisitions or divestitures? ...
• 121
1k views

### What on earth is an Alpha Model in the quantative investment process?

I am confused with the useage of the concept "Alpha Model" in quantative investment. According to Qian, Hua & Sorensen (2007), the first thing in the toolbox of quantative investment process is "...
• 213