| {: , : , : , : , : 146, : [, , ], : {: The Elements of Statistical Learning\, : , : unit\, : basis decomposition\}, : , : , : , : , : } |
| {: , : , : , : , : 64, : [, , , ], : {: correlated\, : , : , : }, : , : , : , : , : } |
| {: , : , : , : success\it works because the testing shows it works\, : 59, : [, , ], : {: , : The Drunk and Her Dog\A Drunk and Her Dog: An Illustration of Cointegration and Error Correction\drunkard's walk\". The Dickey-Fuller test is used to check for a unit root . It can be used as part of the general Engle-Granger two-step method (although it isn't the only option). In this case, while the two assets themselves are not stationary, you are able to test if the residuals between a...CBy \ you mean information theory. Information theory is useful for portfolio optimization and for optimally allocating capital between trading strategies (a problem which is not well addressed by other theoretical frameworks.) See: --- J. L. Kelly, Jr., \ Bell System Technical Journal, Vol. 35, July 1956, pp. 917-26 --- E. T. Jaynes, Probability Theory: The Logic of Science http://amzn.to/dtcySD --- http://en.wikipedia.org/wiki/Gambling_and_information_theory http://en.wikipedia.org/wiki/Kelly_criterion In the simple case, you would use \. More complicated information theory based strategies for allocating capital between trading strategies take into account correlations between the performance of trading strategies...DI've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.answerDdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/545/how-useful-is-the-genetic-algorithm-for-financial-market-forecasting |
| idfinance_8247domainfinancequestion_titleWhy Drifts are not in the Black Scholes Formulaquestion_bodyThis question has puzzled me for a while. We all know geometric brownian motions have drifts $\\mu$: $dS / S = \\mu dt + \\sigma dW$ and different stocks have different drifts of $\\mu$. Why would the drifts go away in Black Scholes? Intuitively, everything else being equal, if a stock has higher drift, shouldn't it have higher probability of finishing in-the-money (and higher probability of having higher payoff), and the call option should be worth more? Is there an intuitive and easy-to-understand answer? thanks.", "question_score": 55, "question_tags": ["options", "option-pricing", "black-scholes", "risk-neutral-measure"], "choices": {"A": "In general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)", "B": "Here couple pointers that may make it clearer: Drift can be replaced by the risk-free rate through a mathematical construct called risk-neutral probability pricing. Why can we get away with that without introducing errors? The reason lies in the ability to setup a hedge portfolio, thus the market will not compensate us for the drift above and beyond the risk free rate under risk-neutral probability pricing. As long as such hedge exists and couple other conditions are met (please look up Girsanov's Theorem) we can introduce a risk-neutral measure so that when applying it to the differential equation and through...CA general model (with continuous paths) can be written $$ \\frac{dS_t}{S_t} = r_t dt + \\sigma_t dW_t^S $$ where the short rate $r_t$ and spot volatility $\\sigma_t$ are stochastic processes. In the Black-Scholes model both $r$ and $\\sigma$ are deterministic functions of time (even constant in the original model). This produces a flat smile for any expiry $T$. And we have the closed form formula for option prices $$ C(t,S;T,K) = BS(S,T-t,K;\\Sigma(T,K)) $$ where $BS$ is the BS formula and $\\Sigma(T,K) = \\sqrt{\\frac{1}{T-t}\\int_t^T \\sigma(s)^2 ds}$. This is not consistent with the smile observed on the market. In order to match...DI can only talk about quantitative trading. As a rule of thumb, the lower frequency you work in, the more econometrics is important, whereas for a higher frequency, the more econometrics becomes useless . (I would still recommend a top econometrician for HFT since they have what it takes to succeed, it's just the models aren't out-of-the-box applicable.) But if I was interviewing someone who was educated in econometrics for a quantitative research position, I would hope for (given the relevance to financial time-series): I have tried to put in a legend, ^ is something you should learn later and...answerBdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/8247/why-drifts-are-not-in-the-black-scholes-formula |
| idfinance_1501domainfinancequestion_titleWhich approach dominates? Mathematical modeling or data mining?question_bodyAccording to my current understanding, there is a clear difference between data mining and mathematical modeling . Data mining methods treat systems (e.g., financial markets) as a \. The focus is on the observed variables (e.g., stock prices). The methods do not try to explain the observed phenomena by proposing underlying mechanisms that cause the phenomena (i.e., what happens in the black box). Instead, the methods try to find some features, patterns, or regularities in the data in order to predict future behavior. Mathematical modeling , in contrast, tries to propose a model for what happens inside the black box. Which approach dominates in quantitative finance? Do people try to use more and more fancy data mining techniques or do people try to construct better and better mathematical models?question_scorequestion_tagsmodelingmarketdata-miningchoicesAThe minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...BOne starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...CI would offer the distinctions are i) pure statistical approach, ii) equilibrium based approach, and iii) empirical approach. The statistical approach includes data mining. Its techniques originate in statistics and machine learning. In its extreme there is no a priori theoretical structure imposed on asset returns. Factor structure might be identified thru Principal Components, for example. The goal here is to maximize predictive accuracy at the expense of intuition and explanatory power. This approach increasingly dominates at very short frequencies in modeling market microstructure, market making algorithms, volatility modeling, etc. However, even in high-frequency trading one can impose a factor...DConsider the standard error , and in particular the distance between the upper and lower limits: \\begin{equation} \\Delta = (\\bar{x} + SE \\cdot \\alpha) - (\\bar{x} - SE \\cdot \\alpha) = 2 \\cdot SE \\cdot \\alpha \\end{equation} Using the formula for standard error, we can solve for sample size: \\begin{equation} n = \\left(\\frac{2 \\cdot s \\cdot \\alpha}{\\Delta}\\right)^{2} \\end{equation} where $s$ is the measured standard deviation, which you already have from your IR calculation. High-frequency Example I was testing a market-making model recently that was expected to return a couple basis points for each trade and I wanted to be confident...answerCdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/1501/which-approach-dominates-mathematical-modeling-or-data-mining |
| idfinance_1565domainfinancequestion_titleHow do I graphically represent the evolution of a covariance matrix over time?question_bodyI am working with a set of covariance matrices evaluated at various points in time over some history. Each covariance matrix is $N\\times N$ for $N$ financial time-series over $T$ periods. I would like to explore some of the properties of this matrix's evolution over time, particularly whether correlation as a whole is increasing or decreasing, and whether certain series become more or less correlated with the whole. I am looking for suggestions as to the kinds of analysis to perform on this data-set, and particularly graphical/pictorial analysis. Ideally, I would like to avoid having to look in depth into each series as $N$ is rather large. Update The following graphs were generated based on the accepted answer from @Quant-Guy. PC = principal component = eigenvector. The analysis was done on correlations rather than covariances in order to account for vastly different variances of the $N$ series.", "question_score": 51, "question_tags": ["time-series", "correlation", "covariance"], "choices": {"A": "Representing time series (esp. tick data) using elaborate data structures may be not the best idea. You may want to try to use two arrays of the same length to store your time series. The first array stores values (e.g. price) and the second array stores time. Note that the second series is monotonically increasing (or at least non-decreasing), i.e. it's sorted. This property enables you to search it using the binary search algorithm. Once you get an index of a time of interest in the second array you also have the index of the relevant entry in the first...BIt is hard to find a stable non-trivial dependence structure in financial data. Usually when such is found it is hard to rationalize. One of my favorite (although I am sure there are others) is the so called \. This is an old finding by Santa-Clara and Valkanov (2003) They find that \, : , : }, : , : , : , : , : } |
| {: , : , : , : works\, : 51, : [, , , , ], : {: , : , : , : }, : , : , : , : , : } |
| {: , : , : , : , : 50, : [, ], : {: , : unit\, : , : basis decomposition\}, : , : , : , : , : } |
| {: , : , : , : , : 50, : [, , , ], : {: probability that the counter-party is informed.\, : there is no free lunch in financial markets\Metaphors, Models & Theories\, : The Elements of Statistical Learning\, : }, : , : , : , : , : } |
| {: , : , : , : fix\, : 49, : [, , , , ], : {: , : , : , : }, : , : , : , : , : } |
| {: , : , : , : exotic\, : 47, : [, , , ], : {: Modeling financial data with stable distributions\Handbook of Heavy Tailed Distributions in Finance\Alpha-Stable Paradigm in Financial Markets\risk of fluctuations\, : The Drunk and Her Dog\A Drunk and Her Dog: An Illustration of Cointegration and Error Correction\drunkard's walk\". The Dickey-Fuller test is used to check for a unit root . It can be used as part of the general Engle-Granger two-step method (although it isn't the only option). In this case, while the two assets themselves are not stationary, you are able to test if the residuals between a...CFrom what I remember, there is no real relation between Markov and Martingale, and my intuition was confirmed by this post . Basically, it says that you can say neither of the following: If A is Markov, then A is a martingale. If A is a martingale, then A is Markov. further down the post, you can find two counter examples: $dX_t = a dt + \\sigma dW_t$ is Markov but not a martingale and $dX_t = (\\int_0^t X_s ds) dW_t$ is a Martingale but is not Markov. As for the assumption of these properties being true, I think it...DThere are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/115/l%c3%a9vy-alpha-stable-distribution-and-modelling-of-stock-prices |
| idfinance_9313domainfinancequestion_titleMachine Learning vs Regression and/or Why still use the latter?question_bodyI come from a different field (Machine learning/AI/data science), but aim to ask a philosophical question with the utmost respect: Why do quantitative financial analysts (analysts/traders/etc.) prefer (or at least seem) traditional statistical methods (traditional = frequentist/regression/normal correlation methods/ts analysis) over newer AI/machine learning methods? I've read a million models, but it seems biased? Background: I recently joined a 1B AUM (I know it's not a ton) asset management firm. I was asked to build a new model for a sector rotation strategy (basically predicting which SP 500 sector would do the best over 6 months-- chose to use forward rolling 6 month returns) they employ and my first inclination was to combine ARIMA (traditional) with random forest (feature selection) and a categorical (based on normal distribution standard deviation) gradient boosted classifier for ETFs in each sector. Not to be rude, but I beat the ValuLine timeliness for each sector. I used the above mentioned returns as my indicator and pretty much threw everthing at the wall for predictors initially (basically just combing FRED), then used randomForest to select features. I ended up combining EMA and percent change to create a pretty solid model that, like I said, beat ValuLine. I've read a lot of literature, and I haven't seen anyone do anything like this. Any help in terms of pointing me in the right direction for literature? Or any answers to the overarching idea of why isn't there more machine learning in equity markets (forgetting social/news analysis)? EDIT: For clarification, I'm really interested in long-term predictions (I think Shiller was right) based on macro predictors. Thanks PS- I've been lurking for a while. Thanks for all the awesome questions, answers, and discussions.", "question_score": 46, "question_tags": ["equities", "regression", "machine-learning"], "choices": {"A": "In order to answer your question (for you) you would need something to compare to . You would need numbers to know if it is slower/faster, how much, and if it will impact your system overall. Also knowing your performance goals could narrow down the options. My advice is to take a look at your overall architecture of the sytem you have or intend to build. To just look at QuickFIX is rather meaningless without the whole chain involved in processing information and reacting to it . As an example, say QuickFIX is 100 times faster than some part (in...", "B": "In general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)", "C": "Because of: The (extreme) dominance of noise over signal The prevalence of non-repeating patterns (many of which we know are not going to repeat) A pathetic sample size for cross-validation Regime changes due to exogenous events. These are typically in the cross-val window which makes it even worse. (GFC, financial integration, trade law changes, interest rate adjustments by central banks, some idiot in a bank was hiding trades and loses 5 billions dollars, etc). It is well known that non-linear relationships are generally just artefacts of the in sample dataset There is also the following: Much price changes are driven...", "D": "There are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived..."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/9313/machine-learning-vs-regression-and-or-why-still-use-the-latter"} |
| {"id": "finance_2870", "domain": "finance", "question_title": "Why does the minimum variance portfolio provide good returns?", "question_body": "I've been a researching minimum variance portfolios (from this link ) and find that by building MVPs adding constraints on portfolio weights and a few other tweaks to the methods outlined I get generally positive returns over a six-month to one year time scale. I am looking to build some portfolios that are low risk, but have good long term (yearly) expected returns. MVP (as in minimum variance NOT mean variance) seems promising from backtests but I don't have a good intuition for why this works. I understand the optimization procedure is primarily looking to optimize for reducing variance, and I see that this works in the backtest (very low standard deviation of returns). What I don't have an intuitive feel for is why optimizing variance alone (with no regards to optimizing returns, i.e. no mean in the optimization as in traditional mean-variance optimization) gives generally positive returns. Any explanations?question_scorequestion_tagsportfolio-managementoptimizationmodern-portfolio-theorycovariancechoicesAShort of having a 'reasonable' predictive model for expected returns and the covariance matrix, there are a couple lines of attack. Shrinkage estimators (via Bayesian inference or Stein-class of estimators) Robust portfolio optimization Michaud's Resampled Efficient Frontier Imposing norm constraints on portfolio weights Naively, shrinkage methods 'shrink' (of course,no?) your estimates (arrived at using historical data), toward some global mean or some target. Within the mean-variance framework, you can use the shrinkage estimators, for both, the expected returns vector, as well as the covariance matrix. Jorion introduced application of a 'Bayes-Stein estimator' to portfolio analysis. Bradley & Efron have a...", "B": "There are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...", "C": "The minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...", "D": "In general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)"}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/2870/why-does-the-minimum-variance-portfolio-provide-good-returns"} |
| {"id": "finance_17125", "domain": "finance", "question_title": "How to build a factor model?", "question_body": "Factor models such as Fama-French or the other ones that are partially summarized here work on the cross-section of asset returns. How are the factors built, how are sensitivities/coefficients estimated? In this context Fama-MacBeth regressions are usually mentioned. How does this method work intuitively? Could anyone give a step-by-step manual? EDIT: Links to papers and manuals have been posted in the two answers - this is great. But can someone provide more intuition in the answer? Say we have a universe of stocks (say MSCI Europe) and we group them by value and size. How can we proceed? How do we construct the factors and how do we construct the sensitivities? Could someone please give a more direct explanation, without a link? thanks!", "question_score": 44, "question_tags": ["regression", "factor-models", "fama-french"], "choices": {"A": "The standard story (also told by @vonjd) is of \"The Drunk and Her Dog\". This is based on \"A Drunk and Her Dog: An Illustration of Cointegration and Error Correction\" (1994). The story is itself based on the standard illustration for a random walk known as the \"drunkard's walk\, : , : , : }, : , : , : , : , : } |
| {: , : , : , : , : 42, : [, , , ], : {: , : , : , : }, : , : , : , : , : } |
| {: , : , : , : , : 42, : [, , , , ], : {: , : The Elements of Statistical Learning\, : there is no free lunch in financial markets\Metaphors, Models & Theories\, : }, : , : , : , : , : } |
| {: , : , : , : , : 41, : [], : {: , : , : , : }, : , : , : , : , : } |
| {: , : , : , : , : 41, : [, , , , ], : {: , : Trading Strategies to Exploit Blog and News Sentiment\The Predictive Power of Financial Blogs\An analysis of verbs in financial news articles and their impact on stock price\, : , : }, : , : , : , : , : } |
| {: , : , : , : , : 39, : [, ], : {: , : , : , : The Drunk and Her Dog\A Drunk and Her Dog: An Illustration of Cointegration and Error Correction\drunkard's walk\". The Dickey-Fuller test is used to check for a unit root . It can be used as part of the general Engle-Granger two-step method (although it isn't the only option). In this case, while the two assets themselves are not stationary, you are able to test if the residuals between a...answerCdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/1489/how-should-i-calculate-the-implied-volatility-of-an-american-option-in-a-real-ti |
| idfinance_7568domainfinancequestion_titleMapping symbols between tickers, Reuters RICs and Bloomberg tickersquestion_bodyIs there any known solution (preferably open source) to map between ticker symbols, Reuters and Bloomberg symbols. For example: Ticker: AAPL Reuters: AAPL.O (may be prefixed with RSF.ANY. dependent upon infrastructure) Bloomberg: AAPL US Equity Edit: by mapping I mean translating from one symbol naming convention to another. For example let's say we have RSF.ANY.AAPL.O and want to get Bloomber equivalent, which is \"AAPL US Equity\". Edit2: Fixed Bloomber mapping, it should be \"AAPL US Equity\" not \"AAPL:US\"", "question_score": 39, "question_tags": ["market-data", "tick-data", "bloomberg", "reuters"], "choices": {"A": "Here are some pointers. First of all: What you list as a Reuters RIC, RSF.ANY.AAPL.OQ , is not really a RIC, only the AAPL.OQ is. The initial part is some stuff which is essentially site specific and tells me that you are working on a site that has a legacy RTIC infrastructure (some Reuters/TIBCO technology which is quite old these days and for all practical purposes has been deprecated in favour of other distribution mechanisms, most notably the ADS). Ok, the AAPL.OQ is the RIC, and only that. The initial part, the RSF.ANY denotes the feed and that is because...", "B": "I have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very...CThis isn't really an answer, but it's too long to add as a comment. I've always had a real problem with the correlation/covariance of price . To me, it means nothing. I realize that it gets used (abused) in many contexts, but I just don't get anything out of it (over time, price has to generally go up, go down, or go sideways, so aren't all prices \"correlated\"?). On the flip side, correlation/covariance of returns makes sense. You're dealing with random series, not integrated random series. For example, below is the code required to generate two price series that have...DFrom my experience, EODData is pretty much that you get what you pay for. Its not a very sophisticated product. They email you the files you subscribe to, and thats that. I have had an issue before of where the emails didn't go through anymore and I never heard anything from them. On Quality, I can't make a claim on its accuracy. It seems good. I find issue with three things about the data: There is no way to signal an exchange change It doesn't give you an easy way to grab the symbol info [Names, etc] If there is..."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/7568/mapping-symbols-between-tickers-reuters-rics-and-bloomberg-tickers"} |
| {"id": "finance_946", "domain": "finance", "question_title": "What type of investor is willing to be short gamma?", "question_body": "As far as I understand, most investors are willing to buy options (puts and calls) in order to limit their exposure to the market in case it moves against them. This is due to the fact that they are long gamma. Being short gamma would mean that the exposure to the underlying becomes more long as the underlying price drops and more short as the underlying price rises. Thus exposure gets higher with a P&L downturn and lower with a P&L upturn. Hence I wonder who is willing to be short gamma? Is it a bet on a low volatility? Also, for a market maker in the option market, writing (selling) an option means being short gamma, so if there is no counterparty willing to be short gamma, how are they going to hedge their gamma?", "question_score": 38, "question_tags": ["options", "hedging", "portfolio-management", "greeks", "investing"], "choices": {"A": "Here couple pointers that may make it clearer: Drift can be replaced by the risk-free rate through a mathematical construct called risk-neutral probability pricing. Why can we get away with that without introducing errors? The reason lies in the ability to setup a hedge portfolio, thus the market will not compensate us for the drift above and beyond the risk free rate under risk-neutral probability pricing. As long as such hedge exists and couple other conditions are met (please look up Girsanov's Theorem) we can introduce a risk-neutral measure so that when applying it to the differential equation and through...BGreat question! I think the most useful starting point is Stock Return Characteristics, Skew Laws, and the Differential Pricing of Individual Equity Options by Bakshi, Kapadia and Madan (2003) . Their paper proposes a definition of model-free implied skewness (they originally called it risk-neutral skewness, but MFIS is more accurate), which they prove will have a P&L directly proportional to the realized skewness of the underlier. Subsequent papers (there are literally dozens) have thoroughly explored the properties of MFIS. In particular, Does Risk-Neutral Skewness Predict the Cross-Section of Equity Option Portfolio Returns? by Bali and Murray (2011) estimates the empirical...CThe standard story (also told by @vonjd) is of \. This is based on \ (1994). The story is itself based on the standard illustration for a random walk known as the \. The Dickey-Fuller test is used to check for a unit root . It can be used as part of the general Engle-Granger two-step method (although it isn't the only option). In this case, while the two assets themselves are not stationary, you are able to test if the residuals between a...", "D": "Being short gamma simply means that you are short options regardless of whether they are puts or calls. The most common type of investor that is willing to be short gamma is someone who sells options, also known as a premium collector. These investors commonly use strategies such as short puts, covered calls, iron condors, vertical credit spreads, and a few others. These strategies are typically referred to as income generation strategies. They offer the investor a return known in advance, in exchange for the risk of being short options. Frequently these types of income trades have have a probability..."}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/946/what-type-of-investor-is-willing-to-be-short-gamma"} |
| {"id": "finance_140", "domain": "finance", "question_title": "What are the popular methodologies to minimize data snooping?", "question_body": "Are there common procedures prior or posterior backtesting to ensure that a quantitative trading strategy has real predictive power and is not just one of the thing that has worked in the past by pure luck? Surely if we search long enough for working strategies we will end up finding one. Even in a walk forward approach that doesn't tell us anything about the strategy in itself. Some people talk about white's reality check but there are no consensus in that matter.", "question_score": 37, "question_tags": ["backtesting", "strategy"], "choices": {"A": "The minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...", "B": "1. Determine Factors Economically, the use of factor models can be either motivated using the ICAPM or the APT . Although there are some theoretical differences between the model, for empirical and practical work these differences are irrelevant. In the end, both models stipulate that returns and expected returns are linear functions of the factors: $$ r_{i,t} = \\alpha_i + \\sum_j \\beta_{i,j} F_{j,t} + \\epsilon_{i,t} \\quad (1)$$ $$ \\mathbb{E}[ r_{i,t}] = \\lambda_o + \\sum_j \\beta_{i,j} \\lambda_j \\quad\\quad\\quad(2)$$ where $F_{j,t}$ is the factor surprise of factor $j$ at time $t$ and $\\lambda_j $ is the factor risk premium of factor $j$....", "C": "Strictly speaking, data snooping is not the same as in-sample vs out-of-sample model selection and testing, but has to deal with sequential or multiple tests of hypothesis based on the same data set. To quote Halbert White: Data snooping occurs when a given set of data is used more than once for purposes of inference or model selection. When such data reuse occurs, there is always the possibility that any satisfactory results obtained may simply be due to chance rather than to any merit inherent in the methody yielding the results. Let me provide an example. Suppose that you have...", "D": "The volatiltiy surface is just a representation of European option prices as a function of strike and maturity in a different \"unit\" - namely implied volatility (while the term implied volatility has to be made precise by the model used to convert prices (quotes) into implied volatilities - for example: we may consider log-normal vols and normal vols). Volatility is often preferred over prices, e.g., when considering interpolations of European option prices (although this may introduce difficulties like arbitrage violations, see, e.g., http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1964634 ). A local volatility model can generate a perfect fit to the implied volatility surface via Dupire's...answerCdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/140/what-are-the-popular-methodologies-to-minimize-data-snooping |
| idfinance_530domainfinancequestion_titleDigital Signal Processing in Tradingquestion_bodyThere is a concept of trading or observing the market with signal processing originally created by John Ehler . He wrote three books about it. Cybernetic Analysis for Stocks and Futures Rocket Science for Traders MESA and Trading Market Cycles There are number of indicators and mathematical models that are widely accepted and used by some trading software (even MetaStock), like MAMA, Hilbert Transform, Fisher Transform (as substitutes of FFT), Homodyne Discriminator, Hilbert Sine Wave, Instant Trendline etc. invented by John Ehler. But that is it. I have never heard of anybody other than John Ehler studying in this area. Do you think that it is worth learning digital signal processing? After all, each transaction is a signal and bar charts are somewhat filtered form of these signals. Does it make sense?question_scorequestion_tagstradingdigital-signal-processingchoicesAHere couple pointers that may make it clearer: Drift can be replaced by the risk-free rate through a mathematical construct called risk-neutral probability pricing. Why can we get away with that without introducing errors? The reason lies in the ability to setup a hedge portfolio, thus the market will not compensate us for the drift above and beyond the risk free rate under risk-neutral probability pricing. As long as such hedge exists and couple other conditions are met (please look up Girsanov's Theorem) we can introduce a risk-neutral measure so that when applying it to the differential equation and through...", "B": "The risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \"there is no free lunch in financial markets\". This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\, 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;...CI can think of an application in options pricing. I came across the following paper a long time ago but think it explains FT very eloquently as applied to pricing options under BS: http://maxmatsuda.com/Papers/2004/Matsuda%20Intro%20FT%20Pricing.pdf The fun starts on page 112 but it relies on the 1998 paper by Madan and Carr. What I like about the paper is that it gives a thorough introduction to FT and only when the groundwork is set it applies it to option pricing. Not a bad approach vs many other papers which make a lot of assumption and assume the reader can jump right...DWavelets are just one form of \. Wavelets in particular decompose in both frequency and time and thus are more useful than fourier or other purely-frequency based decompositions. There are other time-freq decompositions (for instance the HHT) which should be explored as well. Decomposition of a price series is useful in understanding the primary movement within a series. In general with a decomposition, the original signal is the sum its basis components (potentially with some scaling multiplier). The components range from the lowest frequency (a straight-line through the sample) to the highest frequency, a curve that oscillates with a...answerDdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/530/digital-signal-processing-in-trading |
| idfinance_2079domainfinancequestion_titleSkew arbitrage: How can you realize the skewness of the underlying?question_bodyIt's not clear to me how to realize skewness. In other words, how do you implement skew arbitrage? There seems to be no well-known recipe like in volatility arbitrage . Volatility arbitrage (or vol arb) is a type of statistical arbitrage implemented by trading a delta neutral portfolio of an option and its underlier. The objective is to take advantage of differences between the implied volatility and a forecast of future realized volatility of the option's underlier. My hypothetical skew arbitrage definition: Skew arbitrage is a type of statistical arbitrage implemented by trading a delta and volatility neutral portfolio. The objective is to take advantage of differences between the implied skew and a forecast of future realized skew of the option's underlier. Is it possible to make such a skew-arb portfolio in practice? If I have great confidence in my skew forecast but not in my volatility forecast, I am tempted to engage in this type arbitrage. But again, this is just a hypothetical version of skew arbitrage. If you know a correct and more practical version, you are welcome to correct me! The same question but in a different voice: In practice, a skew bet is implemented through vertical spread, i.e. buying and selling options of different strikes. How do options traders hedge / realize the edge of the spread they trade that is indifferent to the underlying volatility?", "question_score": 37, "question_tags": ["options", "volatility", "trading", "hedging", "option-strategies"], "choices": {"A": "I have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very...BGreat question! I think the most useful starting point is Stock Return Characteristics, Skew Laws, and the Differential Pricing of Individual Equity Options by Bakshi, Kapadia and Madan (2003) . Their paper proposes a definition of model-free implied skewness (they originally called it risk-neutral skewness, but MFIS is more accurate), which they prove will have a P&L directly proportional to the realized skewness of the underlier. Subsequent papers (there are literally dozens) have thoroughly explored the properties of MFIS. In particular, Does Risk-Neutral Skewness Predict the Cross-Section of Equity Option Portfolio Returns? by Bali and Murray (2011) estimates the empirical...CFor an option with price $C$ , the P $\\&$ L, with respect to changes of the underlying asset price $S$ and volatility $\\sigma$ , is given by \\begin{align*} P\\&L = \\delta \\Delta S + \\frac{1}{2}\\gamma (\\Delta S)^2 + \\nu \\Delta \\sigma, \\end{align*} where $\\delta$ , $\\gamma$ , and $\\nu$ are respectively the delta, gamma, and vega hedge ratios. Then it is clear the vega P $\\&$ L has exposure to the change of the implied volatility $\\sigma$ . Note that, for the gamma P $\\&$ L, \\begin{align*} \\frac{1}{2}\\gamma (\\Delta S)^2 = \\frac{1}{2}\\gamma S^2 \\frac{1}{\\Delta t}\\left(\\frac{\\Delta S}{S}\\right)^2\\Delta t, \\end{align*} where...DBeing short gamma simply means that you are short options regardless of whether they are puts or calls. The most common type of investor that is willing to be short gamma is someone who sells options, also known as a premium collector. These investors commonly use strategies such as short puts, covered calls, iron condors, vertical credit spreads, and a few others. These strategies are typically referred to as income generation strategies. They offer the investor a return known in advance, in exchange for the risk of being short options. Frequently these types of income trades have have a probability...answerBdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/2079/skew-arbitrage-how-can-you-realize-the-skewness-of-the-underlying |
| idfinance_10359domainfinancequestion_titleIs there an intuitive explanation for the Feynman-Kac-Theorem?question_bodyThe Feynman-Kac theorem states that for an Ito-process of the form $$dX_t = \\mu(t, X_t)dt + \\sigma(t, X_t)dW_t$$ there is a measurable function $g$ such that $$g_t(t,x) + g_x(t, x) \\mu(t,x) + \\frac{1}{2} g_{xx}(t,x)\\sigma(t,x)^2 = 0$$ with an appropriate boundary condition $h$: $g(T,x) = h(x)$. We also know that $g(t,x)$ is of the form $$g(t,x)=\\mathbb{E}\\left[h(X_T) \\big| X_t=x\\right].$$ This means that I can price an option with payoff function $h(x)$ at $T$ by solving the differential equation without regard to the stochastic process. Is there an intuitive explanation how it is possible to model the stochastic behaviour of the Ito-process by a differential equation, even though the differential equation does not have a stochastic component?question_scorequestion_tagsbrownian-motiondifferential-equationschoicesAThere are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...BMartingales + Markovian Here is the motivation. Conditional expectations are martingales by the tower property of conditional expectations (an easy exercise to show). Suppose $r=0$, by the risk neutral pricing theorem $E^\\star\\left[h(X_T)\\bigg|\\mathscr{F}_t,\\,X_t=x\\right]$ is the price of any derivative security with $X$ as the underlying asset and payoff function $h$ assuming for the moment that the underlying security and the derivative itself pay no intermediate cashflows. In a Markovian setting, it must be the case that the price of the derivative is a measurable function of the current asset price and the time to maturity only, say a function $g(t, x)$....CI can only talk about quantitative trading. As a rule of thumb, the lower frequency you work in, the more econometrics is important, whereas for a higher frequency, the more econometrics becomes useless . (I would still recommend a top econometrician for HFT since they have what it takes to succeed, it's just the models aren't out-of-the-box applicable.) But if I was interviewing someone who was educated in econometrics for a quantitative research position, I would hope for (given the relevance to financial time-series): I have tried to put in a legend, ^ is something you should learn later and...DThe standard story (also told by @vonjd) is of \. This is based on \ (1994). The story is itself based on the standard illustration for a random walk known as the \. The Dickey-Fuller test is used to check for a unit root . It can be used as part of the general Engle-Granger two-step method (although it isn't the only option). In this case, while the two assets themselves are not stationary, you are able to test if the residuals between a..."}, "answer": "B", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/10359/is-there-an-intuitive-explanation-for-the-feynman-kac-theorem"} |
| {"id": "finance_1937", "domain": "finance", "question_title": "How to identify technical analysis chart patterns algorithmically?", "question_body": "I'm working on a small application that will provide some charts and graphs to be used for technical analysis. I'm new to TA but I'm wondering if there is a way to algorithmically identify the formation of certain patterns. In most of the TA literature I've read the authors explain how to identify these patterns visually. Is there a way to algorithmically determine these patterns so that I could, for example, examine the prices in code and identify a possible Head and Shoulders pattern?", "question_score": 36, "question_tags": ["algorithm", "technicals", "indicator"], "choices": {"A": "I've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.", "B": "I would offer the distinctions are i) pure statistical approach, ii) equilibrium based approach, and iii) empirical approach. The statistical approach includes data mining. Its techniques originate in statistics and machine learning. In its extreme there is no a priori theoretical structure imposed on asset returns. Factor structure might be identified thru Principal Components, for example. The goal here is to maximize predictive accuracy at the expense of intuition and explanatory power. This approach increasingly dominates at very short frequencies in modeling market microstructure, market making algorithms, volatility modeling, etc. However, even in high-frequency trading one can impose a factor...", "C": "As mentioned elsewhere on this site, Lo, Mamaysky, and Wang (2000) do exactly what you're talking about, namely algorithmic detection of head and shoulders patterns. Their definition: Head-and-shoulders (HS) and inverted head-and-shoulders (IHS) patterns are characterized by a sequence of five consecutive local extrema $E_1,...,E_5$ such that $$ HS \\equiv \\begin{cases} E_1 \\text{ is a maximum} \\\\ E_3 > E_1, E_3 > E_5 \\\\ E_1\\text{ and }E_5\\text{ are within 1.5 percent of their average} \\\\ E_2\\text{ and }E_4\\text{ are within 1.5 percent of their average,} \\end{cases} $$ $$ IHS \\equiv \\begin{cases} E_1\\text{ is a minimum} \\\\ E_3DI have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very..."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1937/how-to-identify-technical-analysis-chart-patterns-algorithmically"} |
| {"id": "finance_4589", "domain": "finance", "question_title": "How to simulate stock prices with a Geometric Brownian Motion?", "question_body": "I want to simulate stock price paths with different stochastic processes. I started with the famous geometric brownian motion. I simulated the values with the following formula: $$R_i=\\frac{S_{i+1}-S_i}{S_i}=\\mu \\Delta t + \\sigma \\varphi \\sqrt{\\Delta t}$$ with: $\\mu= $ sample mean $\\sigma= $ sample volatility $\\Delta t = $ 1 (1 day) $\\varphi=$ normally distributed random number I used a short way of simulating: Simulate normally distributed random numbers with sample mean and sample standard deviation. Multiplicate this with the stock price, this gives the price increment. Calculate Sum of price increment and stock price and this gives the simulated stock price value. (This methodology can be found here ) So I thought I understood this, but now I found the following formula , which is also the geometric brownian motion: $$ S_t = S_0 \\exp\\left[\\left(\\mu - \\frac{\\sigma^2}{2}\\right) t + \\sigma W_t \\right] $$ I do not understand the difference? What does the second formula says in comparison to the first? Should I have taken the second one? How should I simulate with the second formula?", "question_score": 36, "question_tags": ["equities", "simulations", "stochastic-processes", "brownian-motion"], "choices": {"A": "I know that I have seen things like this in the past. Wasn't there something recently that used Twitter? Here are a few recent papers as examples, although I will be brutally honest that I don't know if they speak to your decent quality requirement: \"Trading Strategies to Exploit Blog and News Sentiment\" (Zhang, Skiena 2010) \"The Predictive Power of Financial Blogs\" (Frisbee 2010) \"An analysis of verbs in financial news articles and their impact on stock price\" (Schumaker 2010)", "B": "I recently read \"Modeling financial data with stable distributions\" (Nolan 2005) which gives a survey of this area and might be of interest (I believe it was contained in \"Handbook of Heavy Tailed Distributions in Finance\" ). Another more recent reference is \"Alpha-Stable Paradigm in Financial Markets\" (2008). I'm not aware of anything covering \ and this is still certainly not at the center of the field (i.e. most theory still includes some version of Gaussian or mixture of Gaussians). Would also be interested in other references.CThe way you do it in the first place is a discretization of the Geometric Brownian Motion (GBM) process. This method is most useful when you want to compute the path between $S_0$ and $S_t$, i.e. you want to know all the intermediary points $S_i$ for $0 \\leq i \\leq t$. The second equation is a closed form solution for the GBM given $S_0$. A simple mathematical proof showed that, if you know the initial point $S_0$ (which is $a$ in your equation), then the value of the process at time $t$ is given by your equation (which contains $W_t$,...DI've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.answerCdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/4589/how-to-simulate-stock-prices-with-a-geometric-brownian-motion |
| idfinance_139domainfinancequestion_titleTrading a synthetic replication of the VIX indexquestion_bodyOne cannot directly buy and sell the VIX index. Theoretically, however, one could approximate the index by purchasing an at-the-money straddle on the SP500, then delta-hedging the straddle. Does anyone have experience with such a \ replication of the index? It might be very useful for betting on volatility or for spreads against the VIX futures (a sort of basis trade), but I can see potential problems if the replication is too inaccurate. (To anticipate your comments: I'm aware of the many VIX-related ETFs; but, no, I would not consider using them. I'm also aware that the VIX calculation uses other strikes beyond the ATM options; this proposed synthetic is admittedly an approximation.)question_scorequestion_tagsvixdelta-neutralchoicesAA synthetic model for the VIX would be quite useful. I just mention this since it has been covered elsewhere in the past, although I don't think that it's a real solution to your problem (for a number of reasons). Several blogs posted on the \ (WVF) in the past: marketsci , trading the odds , mindmoneymarkets . The WVF is intended to be a synthetic VIX calculation, derived by Larry Williams (see the original article here ), and is represented by the following formula: $wvf = \\frac{Highest(Close, 22) - Low}{Highest(Close, 22)} * 100$ In R, this can...BI've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.CIn general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)DI haven't read Natenberg but it of course depends on your side in the trade: Are you a market maker or a risk taker? So do you live on the spread (first) or are trying to make money based on e.g. forecasts on direction (second). This is the great divide in QuantFinance! Only in the first case will all your option trades be delta neutral. There is a nice short paper which elaborates on both concepts (it calls the first one Q and the second P ): Meucci: 'P' Versus 'Q': Differences and Commonalities between the Two Areas of Quantitative..."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/139/trading-a-synthetic-replication-of-the-vix-index"} |
| {"id": "finance_2360", "domain": "finance", "question_title": "What exactly is meant by "microstructure noise"?", "question_body": "I see that term tossed around a lot, in articles relating to HFT, and ultra high frequency data. It says at higher frequencies, smaller intervals, microstructure noise is very dominant. What is this microstructure noise that they refer to?", "question_score": 35, "question_tags": ["volatility", "statistics", "high-frequency", "market-microstructure", "high-frequency-estimators"], "choices": {"A": "The volatiltiy surface is just a representation of European option prices as a function of strike and maturity in a different \"unit\" - namely implied volatility (while the term implied volatility has to be made precise by the model used to convert prices (quotes) into implied volatilities - for example: we may consider log-normal vols and normal vols). Volatility is often preferred over prices, e.g., when considering interpolations of European option prices (although this may introduce difficulties like arbitrage violations, see, e.g., http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1964634 ). A local volatility model can generate a perfect fit to the implied volatility surface via Dupire's...BVolatility is mean reverting if the underlying security doesn't drop to zero. If the security has some underlying \"value\" then its price is co-integrated with that \"value\". The volatility is the uncertainty of that price as it tracks the security's \. Edit 12/03/2011 ================================================= @pteetor, I may have missed something, but the question was \. I realize that the standard answer is that the VIX (I'm assuming he's asking about the VIX) is related to the historical volatility of the S&P. A simple version of that relationship provides a reasonable R^2 (see Fig. 1). It relates...CThe term has a different meaning to different people. to econometricians, microstructure noise is a disturbance that makes high frequency estimates of some parameters (e.g. realized volatility) very unstable. Generally this strand of the literature professes agnosticism as to the its origin; to market microstructure researchers, microstructure noise is a deviation from fundamental value that is induced by the characteristics of the market under consideration, e.g. bid-ask bounce, the discreteness of price change, latency, and asymmetric information of traders. The last example is frequently cited but I don't think it is accurate. Asymmetric information does not have to be a...", "D": "The risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \"there is no free lunch in financial markets\". This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\, 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;...answerCdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/2360/what-exactly-is-meant-by-microstructure-noise |
| idfinance_6988domainfinancequestion_titleHow do we use option price models (like Black-Scholes Model) to make money in practice?question_bodyIn quantitative finance, we know we have a lot of option price models such as geometric Brownian motion model (Black-Scholes models), stochastic volatility model (Heston), jump diffusion models and so on, my question is how can we use these models to make money in practice? My comments: Because we can read option price from the market, by these models (Black-Scholes), we can get the implied volatility, then we may use this implied volatility to compute other exotic option price, then we can make money by selling/buying this exotic option as a market maker, is this the only way to make money? For stocks, we know that if we have a better model to predict future stock prices, then we can make money, but for option, it seems that we didn't use these models to predict the future option prices? so how can we make money with these models?", "question_score": 35, "question_tags": ["option-pricing", "black-scholes", "models"], "choices": {"A": "In order to answer your question (for you) you would need something to compare to . You would need numbers to know if it is slower/faster, how much, and if it will impact your system overall. Also knowing your performance goals could narrow down the options. My advice is to take a look at your overall architecture of the sytem you have or intend to build. To just look at QuickFIX is rather meaningless without the whole chain involved in processing information and reacting to it . As an example, say QuickFIX is 100 times faster than some part (in...", "B": "Wavelets are just one form of \"basis decomposition\". Wavelets in particular decompose in both frequency and time and thus are more useful than fourier or other purely-frequency based decompositions. There are other time-freq decompositions (for instance the HHT) which should be explored as well. Decomposition of a price series is useful in understanding the primary movement within a series. In general with a decomposition, the original signal is the sum its basis components (potentially with some scaling multiplier). The components range from the lowest frequency (a straight-line through the sample) to the highest frequency, a curve that oscillates with a...", "C": "In general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)", "D": "I can only talk about quantitative trading. As a rule of thumb, the lower frequency you work in, the more econometrics is important, whereas for a higher frequency, the more econometrics becomes useless . (I would still recommend a top econometrician for HFT since they have what it takes to succeed, it's just the models aren't out-of-the-box applicable.) But if I was interviewing someone who was educated in econometrics for a quantitative research position, I would hope for (given the relevance to financial time-series): I have tried to put in a legend, ^ is something you should learn later and..."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/6988/how-do-we-use-option-price-models-like-black-scholes-model-to-make-money-in-pr"} |
| {"id": "finance_55239", "domain": "finance", "question_title": "Explaining the Risk Neutral Measure", "question_body": "What is the Risk Neutral Measure? I don't believe this has been answered on the internet well and with all the parts connecting. So: What is the risk neutral measure/pricing? Why do we need it? How we calculate the risk neutral measure or probabilities in practice? What connection has risk neutral pricing to the drift of a SDE? Does this help with 3)?question_scorequestion_tagsoption-pricingstochastic-processesrisk-neutral-measurepricingmartingalechoicesAIntro: Great answer given by Kevin. I would like to contribute an additional perspective. My experience with and my understanding of the Risk Neutral measure is entirely based on \ and \ arguments. The way I would like to explain this view is via the following three-step construction : (i) First, I want to build the intuition with a one-period discrete model: only a single stock and a risk-free account, no derivatives . The aim is to show that even without trying to price derivatives, one can create a mathematical object called a \, just...BBecause of: The (extreme) dominance of noise over signal The prevalence of non-repeating patterns (many of which we know are not going to repeat) A pathetic sample size for cross-validation Regime changes due to exogenous events. These are typically in the cross-val window which makes it even worse. (GFC, financial integration, trade law changes, interest rate adjustments by central banks, some idiot in a bank was hiding trades and loses 5 billions dollars, etc). It is well known that non-linear relationships are generally just artefacts of the in sample dataset There is also the following: Much price changes are driven...CI've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.DConsider the standard error , and in particular the distance between the upper and lower limits: \\begin{equation} \\Delta = (\\bar{x} + SE \\cdot \\alpha) - (\\bar{x} - SE \\cdot \\alpha) = 2 \\cdot SE \\cdot \\alpha \\end{equation} Using the formula for standard error, we can solve for sample size: \\begin{equation} n = \\left(\\frac{2 \\cdot s \\cdot \\alpha}{\\Delta}\\right)^{2} \\end{equation} where $s$ is the measured standard deviation, which you already have from your IR calculation. High-frequency Example I was testing a market-making model recently that was expected to return a couple basis points for each trade and I wanted to be confident...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/55239/explaining-the-risk-neutral-measure |
| idfinance_14567domainfinancequestion_titleWhat is the Swap Curve?question_bodyWhat is the so-called Swap Curve, and how does it relate to the Zero Curve (or spot yield curve)? Does it only refer to a curve of swap rates versus maturities found in the market? Or is it a swap equivalent of a spot-yield curve constructed from bootstrapping a bond yield curve? The context of this question is set against a backdrop of a plethora of terminology (that seems to be used interchangeably). I am looking into how the so-called Zero Curve (or spot yield curve) is constructed in order to discount various IR derivatives (including swaps) when pricing them.question_scorequestion_tagsyield-curveswapsinterest-rate-swapchoicesAIt's an interesting question. I particularly agree with the $\\mathbb{Q}-\\mathbb{P}$ dichotomy mentioned by many. I would add to the other answers that, come to think of it, the Black-Scholes postulated Geometric Brownian Motion could be interpreted as an AR(1) process on the logarithm of the stock price as you discretise the SDE from which it is a solution, which is exactly what you do when running Monte-Carlo simulations (same thing for the Ornstein-Uhlenbeck process as explained here and noted by @Richard). Actually, when taking the continuous-time limit, many more econometric models can be shown to correspond to stochastic processes frequently...", "B": "Because of: The (extreme) dominance of noise over signal The prevalence of non-repeating patterns (many of which we know are not going to repeat) A pathetic sample size for cross-validation Regime changes due to exogenous events. These are typically in the cross-val window which makes it even worse. (GFC, financial integration, trade law changes, interest rate adjustments by central banks, some idiot in a bank was hiding trades and loses 5 billions dollars, etc). It is well known that non-linear relationships are generally just artefacts of the in sample dataset There is also the following: Much price changes are driven...", "C": "Garabedian, Typically, the \"swap curve\" refers to an x-y chart of par swap rates plotted against their time to maturity. This is typically called the \"par swap curve.\" Your second question, \"how it relates to the zero curve,\" is very complex in the post-crisis world. I think it's helpful to start the discussion with a government bond yield curve to clarify some concepts and terminologies. Consider the US Treasury market, using the outstanding Treasury notes and bonds (nearly 300 of them...), we can either use bootstrapping or more sophisticated spline models to construct a \ Since this yield curve...DI can only talk about quantitative trading. As a rule of thumb, the lower frequency you work in, the more econometrics is important, whereas for a higher frequency, the more econometrics becomes useless . (I would still recommend a top econometrician for HFT since they have what it takes to succeed, it's just the models aren't out-of-the-box applicable.) But if I was interviewing someone who was educated in econometrics for a quantitative research position, I would hope for (given the relevance to financial time-series): I have tried to put in a legend, ^ is something you should learn later and...answerCdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/14567/what-is-the-swap-curve |
| idfinance_148domainfinancequestion_titleWhat is the role of stochastic calculus in day-to-day trading?question_bodyI work with practical, day-to-day trading: just making money. One of my small clients recently hired a smart, new MFE. We discussed potential trading strategies for a long time. Finally, he expressed surprise that I never mentioned (much less used) stochastic calculus, which he spent many long hours studying in his MFE program. I use the products of stochastic calculus (e.g., the Black-Scholes equation) but not the calculus itself. Now I am wondering, does stochastic calculus play a role in day-to-day trading strategies? Am I under-utilizing a potentially valuable tool? If this client was a Wall Street investment bank that was making markets in complicated derivatives, I'm sure their research department would use stochastic calculus for modeling. But they're not, so I'm not sure how we would use stochastic calculus. ( Full disclosure: I have Masters degrees but not a PhD. I'm an applied mathematician, not a theoretician.)question_scorequestion_tagsdifferential-equationsstochastic-calculuschoicesAMartingales + Markovian Here is the motivation. Conditional expectations are martingales by the tower property of conditional expectations (an easy exercise to show). Suppose $r=0$, by the risk neutral pricing theorem $E^\\star\\left[h(X_T)\\bigg|\\mathscr{F}_t,\\,X_t=x\\right]$ is the price of any derivative security with $X$ as the underlying asset and payoff function $h$ assuming for the moment that the underlying security and the derivative itself pay no intermediate cashflows. In a Markovian setting, it must be the case that the price of the derivative is a measurable function of the current asset price and the time to maturity only, say a function $g(t, x)$....BThis isn't really an answer, but it's too long to add as a comment. I've always had a real problem with the correlation/covariance of price . To me, it means nothing. I realize that it gets used (abused) in many contexts, but I just don't get anything out of it (over time, price has to generally go up, go down, or go sideways, so aren't all prices \"correlated\"?). On the flip side, correlation/covariance of returns makes sense. You're dealing with random series, not integrated random series. For example, below is the code required to generate two price series that have...CHere couple pointers that may make it clearer: Drift can be replaced by the risk-free rate through a mathematical construct called risk-neutral probability pricing. Why can we get away with that without introducing errors? The reason lies in the ability to setup a hedge portfolio, thus the market will not compensate us for the drift above and beyond the risk free rate under risk-neutral probability pricing. As long as such hedge exists and couple other conditions are met (please look up Girsanov's Theorem) we can introduce a risk-neutral measure so that when applying it to the differential equation and through...", "D": "This is pure speculation: MFE's are really tailored toward valuation models (how can we develop a model to price x swap, etc.). You don't entirely have to worry about those details in order to trade them: you're just quoted a price based on these models. But if you go in-house at a bank and are working as a product quant (structured products, etc.), then you really need to worry about these things. Alternatively, it could be relevant to a trading strategy if you think that the current model is mispricing things and there's an arbitrage opportunity. This is why banks..."}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/148/what-is-the-role-of-stochastic-calculus-in-day-to-day-trading"} |
| {"id": "finance_613", "domain": "finance", "question_title": "What is the best data structure/implementation for representing a time series?", "question_body": "I was wondering what is best practice for representing elements in a time series, especially with large amounts of data. The focus/context is in a back testing engine and comparing multiple series. It seems there are two options: 1) Using an integer index, or 2) Using a date-based index At the moment I am using dates, but this impacts on performance & memory usage in that I am using a hash table rather than an array, and it requires some overhead in iteration (either forward or backwards) as I have to determine the next/previous valid date before I can access it. However, it does let me aggregate data on the fly (e.g. building the ohlc for the previous week when looking at daily bars) and most importantly for me allows me to compare different series with certainty I am looking at the same date/time. If I am looking at an equity issue relative to a broader index, and say the broader index is missing a few bars for whatever reason, using an integer indexed array would mean I'm looking at future data for the broad index vs present data for the given security. I don't see how you could handle these situations unless you're using date/times. Using integer indexes would be a lot easier code wise, so I was just wondering what others are doing or if there is best practice with this.question_scorequestion_tagsdatatime-seriesmarket-datachoicesARepresenting time series (esp. tick data) using elaborate data structures may be not the best idea. You may want to try to use two arrays of the same length to store your time series. The first array stores values (e.g. price) and the second array stores time. Note that the second series is monotonically increasing (or at least non-decreasing), i.e. it's sorted. This property enables you to search it using the binary search algorithm. Once you get an index of a time of interest in the second array you also have the index of the relevant entry in the first...", "B": "The risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \"there is no free lunch in financial markets\". This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\, 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;...C1. Determine Factors Economically, the use of factor models can be either motivated using the ICAPM or the APT . Although there are some theoretical differences between the model, for empirical and practical work these differences are irrelevant. In the end, both models stipulate that returns and expected returns are linear functions of the factors: $$ r_{i,t} = \\alpha_i + \\sum_j \\beta_{i,j} F_{j,t} + \\epsilon_{i,t} \\quad (1)$$ $$ \\mathbb{E}[ r_{i,t}] = \\lambda_o + \\sum_j \\beta_{i,j} \\lambda_j \\quad\\quad\\quad(2)$$ where $F_{j,t}$ is the factor surprise of factor $j$ at time $t$ and $\\lambda_j $ is the factor risk premium of factor $j$....DOne starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/613/what-is-the-best-data-structure-implementation-for-representing-a-time-series |
| idfinance_942domainfinancequestion_titleAny known bugs with Yahoo Finance adjusted close data ?question_bodyYahoo Finance allows you to download tables of their daily historical stock price data. The data includes an adjusted closing price that I thought I might use to calculate daily log returns as a first step to other kinds of analyses. To calculate the adj. close you need to know all the splits and dividends, and ex-div and ex-split dates. If someone gets this wrong it should create some anomalous returns on the false vs. true ex dates. Has anyone seen any major problems in the adj. closing price data on Yahoo Finance?question_scorequestion_tagsdataequitiesadjustmentsyahoochoicesAYahoo rounds the adjusted price to 2 decimals even though dividend amounts often have 3 decimal places. Since they apply the adjustment formula to adjusted prices, if you go far enough back in time, the value they give for Adjusted Price will be different than it would be if there were no rounding. edit: For example, for C (Citigroup), on January 2, 1990, Yahoo gives a close value of 29.37 and an Adjusted value of 1.50. Using the dividend data that Yahoo supplies, if they didn't round to cents on every adjustment, the adjusted value would be 1.677.", "B": "Consider the standard error , and in particular the distance between the upper and lower limits: \\begin{equation} \\Delta = (\\bar{x} + SE \\cdot \\alpha) - (\\bar{x} - SE \\cdot \\alpha) = 2 \\cdot SE \\cdot \\alpha \\end{equation} Using the formula for standard error, we can solve for sample size: \\begin{equation} n = \\left(\\frac{2 \\cdot s \\cdot \\alpha}{\\Delta}\\right)^{2} \\end{equation} where $s$ is the measured standard deviation, which you already have from your IR calculation. High-frequency Example I was testing a market-making model recently that was expected to return a couple basis points for each trade and I wanted to be confident...", "C": "The minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...", "D": "From my experience, EODData is pretty much that you get what you pay for. Its not a very sophisticated product. They email you the files you subscribe to, and thats that. I have had an issue before of where the emails didn't go through anymore and I never heard anything from them. On Quality, I can't make a claim on its accuracy. It seems good. I find issue with three things about the data: There is no way to signal an exchange change It doesn't give you an easy way to grab the symbol info [Names, etc] If there is...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/942/any-known-bugs-with-yahoo-finance-adjusted-close-data |
| idfinance_219domainfinancequestion_titleWhat is the intuition behind cointegration?question_bodyWhat is the intuition behind cointegration? What does the Dickey-Fuller test do to test for it? Ideally, a non-technical explanation would be appreciated. Say you need to explain it to an investor and justify why your pairs trading strategy should make him rich!question_scorequestion_tagstime-seriesstatisticscointegrationintuitionchoicesAThis isn't really an answer, but it's too long to add as a comment. I've always had a real problem with the correlation/covariance of price . To me, it means nothing. I realize that it gets used (abused) in many contexts, but I just don't get anything out of it (over time, price has to generally go up, go down, or go sideways, so aren't all prices \"correlated\"?). On the flip side, correlation/covariance of returns makes sense. You're dealing with random series, not integrated random series. For example, below is the code required to generate two price series that have...BThe standard story (also told by @vonjd) is of \. This is based on \ (1994). The story is itself based on the standard illustration for a random walk known as the \. The Dickey-Fuller test is used to check for a unit root . It can be used as part of the general Engle-Granger two-step method (although it isn't the only option). In this case, while the two assets themselves are not stationary, you are able to test if the residuals between a...", "C": "It's an interesting question. I particularly agree with the $\\mathbb{Q}-\\mathbb{P}$ dichotomy mentioned by many. I would add to the other answers that, come to think of it, the Black-Scholes postulated Geometric Brownian Motion could be interpreted as an AR(1) process on the logarithm of the stock price as you discretise the SDE from which it is a solution, which is exactly what you do when running Monte-Carlo simulations (same thing for the Ornstein-Uhlenbeck process as explained here and noted by @Richard). Actually, when taking the continuous-time limit, many more econometric models can be shown to correspond to stochastic processes frequently...DThe minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...answerBdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/219/what-is-the-intuition-behind-cointegration |
| idfinance_2707domainfinancequestion_titleHow do you mix quantitative asset allocation with qualitative views?question_bodyUsually in asset allocation you have a quantitative approach (which can be from example mean-variance), but you (or you and your firm) also have a more qualitative approach given market-conditions, economic outlooks, or tactical indicators. Hence, you will eventually come up with 2 allocations, the ones strictly dictated by the numbers $w^*$ which is the result of your quantitative algorithm and the one you have in mind from your personal expectations $\\bar{w}$. What are common the ways $f$ to mix them together such that $w=f(w^*,\\bar{w})$ is your \ allocation?question_scorequestion_tagsasset-allocationchoicesAThere are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...BI have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very...", "C": "I think you're overlooking a third explanation: Nobody that found a successful technique to generate alpha has published it. I can think of the following causes: If you're an academic, why share your brilliant idea? These techniques require a lot of data and financial data can be expensive, researches that work at firms that have access to this data don't share their findings with the public. Academics did find a lot of signals already the old fashioned way. Despite this, fancy techniques such as AAD and Reinforcement Learning are discussed publicly. These methods don't generate any alpha however.", "D": "I've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/2707/how-do-you-mix-quantitative-asset-allocation-with-qualitative-views"} |
| {"id": "finance_5981", "domain": "finance", "question_title": "What are the advantages/disadvantages of these approaches to deal with volatility surface?", "question_body": "I would like to know if someone could provide a summarized view of the advantages and disadvantages of the approaches on the volatility surface issues, such as: Local vol Stochastic Vol (Heston/SVI) Parametrization (Carr and Wu approach)", "question_score": 32, "question_tags": ["volatility"], "choices": {"A": "The volatiltiy surface is just a representation of European option prices as a function of strike and maturity in a different \"unit\" - namely implied volatility (while the term implied volatility has to be made precise by the model used to convert prices (quotes) into implied volatilities - for example: we may consider log-normal vols and normal vols). Volatility is often preferred over prices, e.g., when considering interpolations of European option prices (although this may introduce difficulties like arbitrage violations, see, e.g., http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1964634 ). A local volatility model can generate a perfect fit to the implied volatility surface via Dupire's...BIn general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)CYour questions about contango in VIX futures have close analogies in options too. The Black & Scholes model suggests that all time frames and all strikes should have the same implied volatility, but they don't. I think one of the reasons is that the B&S model assumes that stock returns are distributed in a normal (gaussian) distribution, but the actual returns don't match a gaussian distribution all that well. For example the actual occurrence of big crashes / gains is much more likely than a normal distribution would predict. Since crashes do occur people are willing to pay what the...DThere are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/5981/what-are-the-advantages-disadvantages-of-these-approaches-to-deal-with-volatilit |
| idfinance_44domainfinancequestion_titleWhat methods do you use to improve expected return estimates when constructing a portfolio in a mean-variance framework?question_bodyOne of the main problems when trying to apply mean-variance portfolio optimization in practice is its high input sensitivity. As can be seen in ( Chopra , 1993) using historical values to estimate returns expected in the future is a no-go, as the whole process tends to become error maximization rather than portfolio optimization . The primary emphasis should be on obtaining superior estimates of means , followed by good estimates of variances. In that case, what techniques do you use to improve those estimates ? Numerous methods can be found in the literature, but I'm interested in what's more widely adopted from a practical standpoint . Are there some popular approaches being used in the industry other than Black-Litterman model? Reference: Chopra, V. K. & Ziemba, W. T. The Effect of Errors in Means, Variances, and Covariances on Optimal Portfolio Choice . Journal of Portfolio Management , 19: 6-11, 1993.question_scorequestion_tagsmodern-portfolio-theorymean-varianceexpected-returnestimationchoicesAWavelets are just one form of \. Wavelets in particular decompose in both frequency and time and thus are more useful than fourier or other purely-frequency based decompositions. There are other time-freq decompositions (for instance the HHT) which should be explored as well. Decomposition of a price series is useful in understanding the primary movement within a series. In general with a decomposition, the original signal is the sum its basis components (potentially with some scaling multiplier). The components range from the lowest frequency (a straight-line through the sample) to the highest frequency, a curve that oscillates with a...BIn general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)CHey, it's early days yet. After all it is still called MODERN portfolio theory. I think there are two main issues and they are both really cultural: 1) specifying alphas 2) wild results Alphas I agree with Gappy that alphas are the key thing you need to have effectiveness (unless you are doing minimum variance). Having a vector of expected returns is quite a natural thing for quant managers. But it is something foreign to fundamental managers. They have to map their views into a number for each asseet in the universe. That is not necessarily an easy task, and...", "D": "Short of having a 'reasonable' predictive model for expected returns and the covariance matrix, there are a couple lines of attack. Shrinkage estimators (via Bayesian inference or Stein-class of estimators) Robust portfolio optimization Michaud's Resampled Efficient Frontier Imposing norm constraints on portfolio weights Naively, shrinkage methods 'shrink' (of course,no?) your estimates (arrived at using historical data), toward some global mean or some target. Within the mean-variance framework, you can use the shrinkage estimators, for both, the expected returns vector, as well as the covariance matrix. Jorion introduced application of a 'Bayes-Stein estimator' to portfolio analysis. Bradley & Efron have a...answerDdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/44/what-methods-do-you-use-to-improve-expected-return-estimates-when-constructing-a |
| idfinance_332domainfinancequestion_titleAny research on how natural language processing can be used to forecast stocks?question_bodyIs there any published research of decent quality linking news or unstructured information to asset returns? I know that Thomson Reuters offers its Machine Readable news (MRN), so somebody must use it. But I can't find much in the public domain.", "question_score": 31, "question_tags": ["equities", "forecasting", "research", "prediction", "nlp"], "choices": {"A": "Here couple pointers that may make it clearer: Drift can be replaced by the risk-free rate through a mathematical construct called risk-neutral probability pricing. Why can we get away with that without introducing errors? The reason lies in the ability to setup a hedge portfolio, thus the market will not compensate us for the drift above and beyond the risk free rate under risk-neutral probability pricing. As long as such hedge exists and couple other conditions are met (please look up Girsanov's Theorem) we can introduce a risk-neutral measure so that when applying it to the differential equation and through...BA general model (with continuous paths) can be written $$ \\frac{dS_t}{S_t} = r_t dt + \\sigma_t dW_t^S $$ where the short rate $r_t$ and spot volatility $\\sigma_t$ are stochastic processes. In the Black-Scholes model both $r$ and $\\sigma$ are deterministic functions of time (even constant in the original model). This produces a flat smile for any expiry $T$. And we have the closed form formula for option prices $$ C(t,S;T,K) = BS(S,T-t,K;\\Sigma(T,K)) $$ where $BS$ is the BS formula and $\\Sigma(T,K) = \\sqrt{\\frac{1}{T-t}\\int_t^T \\sigma(s)^2 ds}$. This is not consistent with the smile observed on the market. In order to match...CGarabedian, Typically, the \ refers to an x-y chart of par swap rates plotted against their time to maturity. This is typically called the \ Your second question, \ is very complex in the post-crisis world. I think it's helpful to start the discussion with a government bond yield curve to clarify some concepts and terminologies. Consider the US Treasury market, using the outstanding Treasury notes and bonds (nearly 300 of them...), we can either use bootstrapping or more sophisticated spline models to construct a \"fitted curve.\" Since this yield curve...", "D": "I know that I have seen things like this in the past. Wasn't there something recently that used Twitter? Here are a few recent papers as examples, although I will be brutally honest that I don't know if they speak to your decent quality requirement: \"Trading Strategies to Exploit Blog and News Sentiment\" (Zhang, Skiena 2010) \"The Predictive Power of Financial Blogs\" (Frisbee 2010) \"An analysis of verbs in financial news articles and their impact on stock price\" (Schumaker 2010)"}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/332/any-research-on-how-natural-language-processing-can-be-used-to-forecast-stocks"} |
| {"id": "finance_9911", "domain": "finance", "question_title": "Book on market microstructure", "question_body": "Can I get some recommendations for a book on market microstructure? I'm not looking for some author's questionable methods for trading, I'm just looking for a book that provides me with facts about how order books, closing auctions, order execution, etc. really works. I'm also NOT looking for the type of depth that a HFT would be interested in. I know that whole books can be written about the various plumbing of a particular exchange. I'm simply looking for a general overview of how exchanges work.question_scorequestion_tagsmarket-microstructurebookschoicesAConsider the standard error , and in particular the distance between the upper and lower limits: \\begin{equation} \\Delta = (\\bar{x} + SE \\cdot \\alpha) - (\\bar{x} - SE \\cdot \\alpha) = 2 \\cdot SE \\cdot \\alpha \\end{equation} Using the formula for standard error, we can solve for sample size: \\begin{equation} n = \\left(\\frac{2 \\cdot s \\cdot \\alpha}{\\Delta}\\right)^{2} \\end{equation} where $s$ is the measured standard deviation, which you already have from your IR calculation. High-frequency Example I was testing a market-making model recently that was expected to return a couple basis points for each trade and I wanted to be confident...BThe volatiltiy surface is just a representation of European option prices as a function of strike and maturity in a different \ - namely implied volatility (while the term implied volatility has to be made precise by the model used to convert prices (quotes) into implied volatilities - for example: we may consider log-normal vols and normal vols). Volatility is often preferred over prices, e.g., when considering interpolations of European option prices (although this may introduce difficulties like arbitrage violations, see, e.g., http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1964634 ). A local volatility model can generate a perfect fit to the implied volatility surface via Dupire's...", "C": "I've not yet read it, but Lehalle's recent book is bound to be a goldmine of good micro-structure bits and pieces. Market Microstructure in Practice EDIT: I'm reading the book now, so far it's quite good.", "D": "One starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we..."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/9911/book-on-market-microstructure"} |
| {"id": "finance_955", "domain": "finance", "question_title": "Separating the wheat from the chaff: What quant methods separate skillful managers from lucky ones?", "question_body": "Fund managers are acting in a highly stochastic environment. What methods do you know to systematically separate skillful fund managers from those that were just lucky? Every idea, reference, paper is welcome! Thank you!", "question_score": 30, "question_tags": ["performance-evaluation"], "choices": {"A": "Larry Harris has a chapter on performance evaluation in Trading and Exchanges . He states that over a long period of time, a skilled asset manager will consistently have excess returns whereas a lucky one will be expected to have random and unpredictable returns. Thus, we start with the portfolio's market-adjusted return standard deviation: \\begin{equation} \\sigma_{adj} = \\sqrt{\\sigma^2_{port} + \\sigma^2_{mk} - 2\\rho\\sigma_{port}\\sigma_{mk}} \\end{equation} where $\\rho$ is the correlation between the market and portfolio returns. For a sample size $n$ (generally number of years), the average excess returns, and the adjusted standard deviation from above, we have a t-statistic : \\begin{equation}...BI think you're overlooking a third explanation: Nobody that found a successful technique to generate alpha has published it. I can think of the following causes: If you're an academic, why share your brilliant idea? These techniques require a lot of data and financial data can be expensive, researches that work at firms that have access to this data don't share their findings with the public. Academics did find a lot of signals already the old fashioned way. Despite this, fancy techniques such as AAD and Reinforcement Learning are discussed publicly. These methods don't generate any alpha however.C1. Determine Factors Economically, the use of factor models can be either motivated using the ICAPM or the APT . Although there are some theoretical differences between the model, for empirical and practical work these differences are irrelevant. In the end, both models stipulate that returns and expected returns are linear functions of the factors: $$ r_{i,t} = \\alpha_i + \\sum_j \\beta_{i,j} F_{j,t} + \\epsilon_{i,t} \\quad (1)$$ $$ \\mathbb{E}[ r_{i,t}] = \\lambda_o + \\sum_j \\beta_{i,j} \\lambda_j \\quad\\quad\\quad(2)$$ where $F_{j,t}$ is the factor surprise of factor $j$ at time $t$ and $\\lambda_j $ is the factor risk premium of factor $j$....DI can only talk about quantitative trading. As a rule of thumb, the lower frequency you work in, the more econometrics is important, whereas for a higher frequency, the more econometrics becomes useless . (I would still recommend a top econometrician for HFT since they have what it takes to succeed, it's just the models aren't out-of-the-box applicable.) But if I was interviewing someone who was educated in econometrics for a quantitative research position, I would hope for (given the relevance to financial time-series): I have tried to put in a legend, ^ is something you should learn later and...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/955/separating-the-wheat-from-the-chaff-what-quant-methods-separate-skillful-manage |
| idfinance_1685domainfinancequestion_titleWhy do high frequency traders use rapidly cancelled limit orders?question_bodyIn reading about the various practices and strategies of high frequency traders, one of the most mysterious to me is \ or orders that are cancelled almost immediately after they are sent (see Hasbrouck and Saar (2011) ). Why do HFTs use these orders? Some of those trying to explain the practice claim it gives HFTs an informational advantage. How? What information do they get and how do they use it? Update I am hoping for someone with actual experience in HFT to answer and verify some of the hypotheses laid out by academics. In particular, one hypothesis is that rapidly cancelled limit orders bring forth market orders on the other side, which are then executed at a less favorable price also placed by the HFT. In other words, HFTs are gaming the system to exploit sub-optimal behavior by slower traders. Is there any evidence of this still occurring, now that the practice of fleeting orders is widespread and well known? This explanation would also imply that it is relatively simple to avoid being taken advantage of, thus weakening the policy implications. Is there some reason that slower traders prefer sending market orders only after seeing a limit order meeting their price target?question_scorequestion_tagshigh-frequencymarket-makingchoicesAThe lead paper in the January 2011 Journal of Finance ( Hendershott, Jones, and Menkveld ) addresses algorithmic trading (AT). In short, they find that AT improves liquidity as measured by bid-offer spreads. Taking the econometrics as correct (it is in the Journal of Finance) the next question is if bid-offer spreads are a sufficient statistic for measuring liquidity (or any other benefits). It is a difficult question to answer because, given current market structure, AT may improve liquidity (as measured by bid-offer spreads), but without data on other market structures, it is hard to say that we wouldn't better...", "B": "Because of: The (extreme) dominance of noise over signal The prevalence of non-repeating patterns (many of which we know are not going to repeat) A pathetic sample size for cross-validation Regime changes due to exogenous events. These are typically in the cross-val window which makes it even worse. (GFC, financial integration, trade law changes, interest rate adjustments by central banks, some idiot in a bank was hiding trades and loses 5 billions dollars, etc). It is well known that non-linear relationships are generally just artefacts of the in sample dataset There is also the following: Much price changes are driven...", "C": "The minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...", "D": "All HFTs are event driven. In the most basic sense, they have some model that is a function of order book events. For every order book event the model calculates some micro price that is the HFTs perceived fair value. This is often a function of the current bid, ask, depth, last n trade prices, inventory, etc. Given the most up to date view of fair value, the HFT will be adjust orders in the market. As you can imagine, the rate of events for order book data is very high. This results in a very high scratch rate (cancel..."}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1685/why-do-high-frequency-traders-use-rapidly-cancelled-limit-orders"} |
| {"id": "finance_7377", "domain": "finance", "question_title": "Applications of Fourier theory in trading", "question_body": "What are fashionable applications of Fourier analysis in trading? I have heard vague ideas of applications in High Frequency Trading but can somebody provide an example, maybe a reference? Just for clarification: The approach to split up a stock price in its cosines and to apply this for forecasts or anything similar seems theoretically not justified as we can not assume the stock price to be periodic (outside of the period of observation). So I don't really mean such applications. Put differently: are there useful, theoretically valid applications of Fourier theory in trading? I am curious for any comments, thank you! EDIT: I am aware of (theoretically $100\\%$ valid) applications in option pricing and calculation of risk measures in the context of Lévy processes (see e.g. here p.11 and following and references therein). This is well established, I guess. What I mean are applications in time series analysis. Sorry for any confusions.question_scorequestion_tagstradinghigh-frequencychoicesAThere are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...BThis isn't really an answer, but it's too long to add as a comment. I've always had a real problem with the correlation/covariance of price . To me, it means nothing. I realize that it gets used (abused) in many contexts, but I just don't get anything out of it (over time, price has to generally go up, go down, or go sideways, so aren't all prices \"correlated\"?). On the flip side, correlation/covariance of returns makes sense. You're dealing with random series, not integrated random series. For example, below is the code required to generate two price series that have...CI can think of an application in options pricing. I came across the following paper a long time ago but think it explains FT very eloquently as applied to pricing options under BS: http://maxmatsuda.com/Papers/2004/Matsuda%20Intro%20FT%20Pricing.pdf The fun starts on page 112 but it relies on the 1998 paper by Madan and Carr. What I like about the paper is that it gives a thorough introduction to FT and only when the groundwork is set it applies it to option pricing. Not a bad approach vs many other papers which make a lot of assumption and assume the reader can jump right...DThe risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \. This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\"Metaphors, Models & Theories\", 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;..."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/7377/applications-of-fourier-theory-in-trading"} |
| {"id": "finance_7402", "domain": "finance", "question_title": "how to derive yield curve from interest rate swap?", "question_body": "According to some textbooks, to derive the yield curve, quote overnight to 1 week: rates from interbank money market deposit, 1 month to 1 year: LIBOR; 1 year to 7 years: Interest Rate Swap; 7 years above: government bond. I'm a bit lost here: how can an IRS rate be used to derive yield curve? Yield rate is the discount rate, if $ yield (5 years) = 4.1 \\% $ , it means the NPV of 1 dollar 5 years later is $ NPV ( 1 dollar, 5 years) = 1/[(1+4.1\\%)^5] = 0.818 $. While interest rate swap is a contract among to legs. Assume a 5 years' IRS contract is leg A pays fixed rate to B @ 8.5%, while A receives floating rate @ LIBOR +1.5% leg B pays floating rate to A @ LIBOR +1.5%, B receives fixed rate@ 8.5%. , how could this swap contract help deriving the 5 years' yield rate?question_scorequestion_tagsinterest-ratesswapsyield-curveinterest-rate-swapirschoicesAThe standard story (also told by @vonjd) is of \. This is based on \ (1994). The story is itself based on the standard illustration for a random walk known as the \. The Dickey-Fuller test is used to check for a unit root . It can be used as part of the general Engle-Granger two-step method (although it isn't the only option). In this case, while the two assets themselves are not stationary, you are able to test if the residuals between a...", "B": "Wavelets are just one form of \"basis decomposition\". Wavelets in particular decompose in both frequency and time and thus are more useful than fourier or other purely-frequency based decompositions. There are other time-freq decompositions (for instance the HHT) which should be explored as well. Decomposition of a price series is useful in understanding the primary movement within a series. In general with a decomposition, the original signal is the sum its basis components (potentially with some scaling multiplier). The components range from the lowest frequency (a straight-line through the sample) to the highest frequency, a curve that oscillates with a...", "C": "I have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very...DYou should take a look at the example from Hull's book. Assume that the 6-month, 12-month, 18-month zero rates are 4%, 4.5%, and 4.8%, respectively. Suppose we know that the 2-year swap rate is 5%, which implies that a 2-year bond with a semiannual coupon of 5% per annum sells for par: $$2.5 e^{-0.04 \\bullet 0.5} + 2.5 e^{-0.045 \\bullet 1.0} + 2.5 e^{-0.048 \\bullet 1.5} + 102.5 e^{-2 \\bullet R} = 100 \\; . $$ Solving for $R$ above gives a 2-year zero rate $R$ of 4.953%. We can keep going to compute the 3-year zero rates, etc."}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/7402/how-to-derive-yield-curve-from-interest-rate-swap"} |
| {"id": "finance_43", "domain": "finance", "question_title": "Is there a standard model for market impact?", "question_body": "Is there a standard model for market impact? I am interested in the case of high-volume equities sold in the US, during market hours, but would be interested in any pointers.", "question_score": 29, "question_tags": ["market-impact", "models"], "choices": {"A": "One starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...", "B": "There is a family of models that is so commonly used among practitioners that it can be almost regarded as standard. For a survey, check out Rob Almgren's entry in the Encyclopedia of Quantitative Finance. Check out also Barra, Axioma and Northfield's handbooks. In general, the impact term per unit traded currency is of the form $$MI \\propto \\sigma_n \\cdot \\text{(participation rate)}^\\beta$$ where the exponent is somewhere between 1/2 and 1, depending on the model being used, and the participation rate is the percentage of total volume of the trade, during the trading interval itself. When including the total MI...", "C": "Consider the standard error , and in particular the distance between the upper and lower limits: \\begin{equation} \\Delta = (\\bar{x} + SE \\cdot \\alpha) - (\\bar{x} - SE \\cdot \\alpha) = 2 \\cdot SE \\cdot \\alpha \\end{equation} Using the formula for standard error, we can solve for sample size: \\begin{equation} n = \\left(\\frac{2 \\cdot s \\cdot \\alpha}{\\Delta}\\right)^{2} \\end{equation} where $s$ is the measured standard deviation, which you already have from your IR calculation. High-frequency Example I was testing a market-making model recently that was expected to return a couple basis points for each trade and I wanted to be confident...", "D": "Wavelets are just one form of \"basis decomposition\". Wavelets in particular decompose in both frequency and time and thus are more useful than fourier or other purely-frequency based decompositions. There are other time-freq decompositions (for instance the HHT) which should be explored as well. Decomposition of a price series is useful in understanding the primary movement within a series. In general with a decomposition, the original signal is the sum its basis components (potentially with some scaling multiplier). The components range from the lowest frequency (a straight-line through the sample) to the highest frequency, a curve that oscillates with a..."}, "answer": "B", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/43/is-there-a-standard-model-for-market-impact"} |
| {"id": "finance_84", "domain": "finance", "question_title": "Transformation from the Black-Scholes differential equation to the diffusion equation - and back", "question_body": "I know the derivation of the Black-Scholes differential equation and I understand (most of) the solution of the diffusion equation. What I am missing is the transformation from the Black-Scholes differential equation to the diffusion equation (with all the conditions) and back to the original problem. All the transformations I have seen so far are not very clear or technically demanding (at least by my standards). My question: Could you provide me references for a very easily understood, step-by-step solution?", "question_score": 29, "question_tags": ["black-scholes", "differential-equations"], "choices": {"A": "One starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...", "B": "Martingales + Markovian Here is the motivation. Conditional expectations are martingales by the tower property of conditional expectations (an easy exercise to show). Suppose $r=0$, by the risk neutral pricing theorem $E^\\star\\left[h(X_T)\\bigg|\\mathscr{F}_t,\\,X_t=x\\right]$ is the price of any derivative security with $X$ as the underlying asset and payoff function $h$ assuming for the moment that the underlying security and the derivative itself pay no intermediate cashflows. In a Markovian setting, it must be the case that the price of the derivative is a measurable function of the current asset price and the time to maturity only, say a function $g(t, x)$....", "C": "The volatiltiy surface is just a representation of European option prices as a function of strike and maturity in a different \"unit\" - namely implied volatility (while the term implied volatility has to be made precise by the model used to convert prices (quotes) into implied volatilities - for example: we may consider log-normal vols and normal vols). Volatility is often preferred over prices, e.g., when considering interpolations of European option prices (although this may introduce difficulties like arbitrage violations, see, e.g., http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1964634 ). A local volatility model can generate a perfect fit to the implied volatility surface via Dupire's...DIt's an interesting question. I particularly agree with the $\\mathbb{Q}-\\mathbb{P}$ dichotomy mentioned by many. I would add to the other answers that, come to think of it, the Black-Scholes postulated Geometric Brownian Motion could be interpreted as an AR(1) process on the logarithm of the stock price as you discretise the SDE from which it is a solution, which is exactly what you do when running Monte-Carlo simulations (same thing for the Ornstein-Uhlenbeck process as explained here and noted by @Richard). Actually, when taking the continuous-time limit, many more econometric models can be shown to correspond to stochastic processes frequently..."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/84/transformation-from-the-black-scholes-differential-equation-to-the-diffusion-equ"} |
| {"id": "finance_1004", "domain": "finance", "question_title": "How are cryptography and speech recognition technology applied to forecasting financial markets?", "question_body": "One of the answers to my previous question regarding the strategy of Renaissance Technologies , there was a reference to The Quants: How a New Breed of Math Whizzes Conquered Wall Street and Nearly Destroyed It . After doing some browsing in the book I found that it states that Renaissance Technologies obviously very successfully employs cryptography and speech recognition technology for forecasting financial time series. Do you know of any good papers (or other references) where the use of either of these technologies in connection with finance is shown?", "question_score": 29, "question_tags": ["quant-trading-strategies", "research", "forecasting", "machine-learning"], "choices": {"A": "By \"cryptography\" you mean information theory. Information theory is useful for portfolio optimization and for optimally allocating capital between trading strategies (a problem which is not well addressed by other theoretical frameworks.) See: --- J. L. Kelly, Jr., \"A New Interpretation of Information Rate,\" Bell System Technical Journal, Vol. 35, July 1956, pp. 917-26 --- E. T. Jaynes, Probability Theory: The Logic of Science http://amzn.to/dtcySD --- http://en.wikipedia.org/wiki/Gambling_and_information_theory http://en.wikipedia.org/wiki/Kelly_criterion In the simple case, you would use \"The Kelly Rule\". More complicated information theory based strategies for allocating capital between trading strategies take into account correlations between the performance of trading strategies...", "B": "Nick Higham's specialty is algorithms to find the nearest correlation matrix. His older work involved increased performance (in order-of-convergence terms) of techniques that successively projected a nearly-positive-semi-definite matrix onto the positive semidefinite space. Perhaps even more interesting, from the practitioner point of view, is his extension to the case of correlation matrices with factor model structures. The best place to look for this work is probably the PhD thesis paper by his doctoral student Ruediger Borsdorf. Higham's blog entry covers his work up to 2013 pretty well.", "C": "Wavelets are just one form of \"basis decomposition\". Wavelets in particular decompose in both frequency and time and thus are more useful than fourier or other purely-frequency based decompositions. There are other time-freq decompositions (for instance the HHT) which should be explored as well. Decomposition of a price series is useful in understanding the primary movement within a series. In general with a decomposition, the original signal is the sum its basis components (potentially with some scaling multiplier). The components range from the lowest frequency (a straight-line through the sample) to the highest frequency, a curve that oscillates with a...", "D": "I think you're overlooking a third explanation: Nobody that found a successful technique to generate alpha has published it. I can think of the following causes: If you're an academic, why share your brilliant idea? These techniques require a lot of data and financial data can be expensive, researches that work at firms that have access to this data don't share their findings with the public. Academics did find a lot of signals already the old fashioned way. Despite this, fancy techniques such as AAD and Reinforcement Learning are discussed publicly. These methods don't generate any alpha however."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1004/how-are-cryptography-and-speech-recognition-technology-applied-to-forecasting-fi"} |
| {"id": "finance_2076", "domain": "finance", "question_title": "How to interpret the eigenmatrix from a Johansen cointegration test?", "question_body": "I ran a Johansen cointegration test on 3 instruments, A B and C. The results that I got are: R 36.7 18.9 21.1 25.8 r=1 --> 8.4 12.29 14.26 18.52 r=2 --> 0.21 2.7 3.8 6.6 EigenValues EigenMatrix 0.03 --> 0.25 | 0.512 |-0.79 0.007 --> -0.96 | -0.618 | 0.14 0.00017 --> 0.05 | 0.59 | 0.59 My question is how I interpret these results? How do I know there is a cointegration for the these instruments. How to build a portfolio using the eigen vector? Which eigen vector should I choose to build my portfolio?", "question_score": 29, "question_tags": ["statistics", "cointegration"], "choices": {"A": "I can only talk about quantitative trading. As a rule of thumb, the lower frequency you work in, the more econometrics is important, whereas for a higher frequency, the more econometrics becomes useless . (I would still recommend a top econometrician for HFT since they have what it takes to succeed, it's just the models aren't out-of-the-box applicable.) But if I was interviewing someone who was educated in econometrics for a quantitative research position, I would hope for (given the relevance to financial time-series): I have tried to put in a legend, ^ is something you should learn later and...", "B": "1. Determine Factors Economically, the use of factor models can be either motivated using the ICAPM or the APT . Although there are some theoretical differences between the model, for empirical and practical work these differences are irrelevant. In the end, both models stipulate that returns and expected returns are linear functions of the factors: $$ r_{i,t} = \\alpha_i + \\sum_j \\beta_{i,j} F_{j,t} + \\epsilon_{i,t} \\quad (1)$$ $$ \\mathbb{E}[ r_{i,t}] = \\lambda_o + \\sum_j \\beta_{i,j} \\lambda_j \\quad\\quad\\quad(2)$$ where $F_{j,t}$ is the factor surprise of factor $j$ at time $t$ and $\\lambda_j $ is the factor risk premium of factor $j$....", "C": "There seems to be a basic fallacy that someone can come along and learn some machine learning or AI algorithms, set them up as a black box, hit go, and sit back while they retire. My advice to you: Learn statistics and machine learning first, then worry about how to apply them to a given problem. There is no free lunch here. Data analysis is hard work . Read \"The Elements of Statistical Learning\" (the pdf is available for free on the website), and don't start trying to build a model until you understand at least the first 8 chapters....DFrom remote memory, The first question is Yes/No question. Is there any stationary, i.e. I(0), time series for different levels of combination r? This question is answered by your first table. For example, if [r=2]'s test stat is say 7 while the critical value of 99% confidence is 6.6 like your example, then I have over 99% confidence to say that all instruments A, B, and C are stationary by themselves. You don't even need to build a co-integrated portfolio/combination. They are ready for mean-reversion strategy already. Obviously, in your example, your [r=2] stat is way much lower than even...answerDdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/2076/how-to-interpret-the-eigenmatrix-from-a-johansen-cointegration-test |
| idfinance_61760domainfinancequestion_titleWhy are there no papers about stock prediction with machine learning in leading financial journals?question_bodyI'm writing my master's thesis about stock price prediction using machine learning methods. During my literature review, I noticed that a lot of research produced on this topic is of poor quality, published in non-finance related journals or unpublished/peer reviewed alltogether. There is no paper to be found in leading journals like journal of finance or journal of financial economics on the topic. I'm curious as to why this is the case. Did the academic world move on, and simply accept that markets are generally efficient a long time ago? Or are the leading journals overlooking a key technique that could effectively forecast stock price?", "question_score": 29, "question_tags": ["machine-learning", "market-efficiency"], "choices": {"A": "I've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.", "B": "There are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...", "C": "The minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...", "D": "I think you're overlooking a third explanation: Nobody that found a successful technique to generate alpha has published it. I can think of the following causes: If you're an academic, why share your brilliant idea? These techniques require a lot of data and financial data can be expensive, researches that work at firms that have access to this data don't share their findings with the public. Academics did find a lot of signals already the old fashioned way. Despite this, fancy techniques such as AAD and Reinforcement Learning are discussed publicly. These methods don't generate any alpha however."}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/61760/why-are-there-no-papers-about-stock-prediction-with-machine-learning-in-leading"} |
| {"id": "finance_352", "domain": "finance", "question_title": "Volatility pumping in practice", "question_body": "The fascinating thing about volatility pumping (or optimal growth portfolio , see e.g. here ) is that here volatility is not the same as risk, rather it represents opportunity. Additionally it is a generic mechanical strategy that is independent of asset classes. My question: Do you know examples where volatility pumping is actually implemented? What are the results? What are the pitfalls?", "question_score": 28, "question_tags": ["volatility", "trading", "kelly-criterion"], "choices": {"A": "The optimal growth portfolio is obtained by applying the Kelly criterion which is one of the pillars of the sound risk management. Ed Thorp's weekend forays to Las Vegas to play blackjack were one of the first historically documented cases of successful practical implementation of the Kelly strategy. Since then this method and its modifications have been systematically used by Thorp himself and other hedge fund managers as an important risk control tool.BI've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.CGreat question! I think the most useful starting point is Stock Return Characteristics, Skew Laws, and the Differential Pricing of Individual Equity Options by Bakshi, Kapadia and Madan (2003) . Their paper proposes a definition of model-free implied skewness (they originally called it risk-neutral skewness, but MFIS is more accurate), which they prove will have a P&L directly proportional to the realized skewness of the underlier. Subsequent papers (there are literally dozens) have thoroughly explored the properties of MFIS. In particular, Does Risk-Neutral Skewness Predict the Cross-Section of Equity Option Portfolio Returns? by Bali and Murray (2011) estimates the empirical...DHere couple pointers that may make it clearer: Drift can be replaced by the risk-free rate through a mathematical construct called risk-neutral probability pricing. Why can we get away with that without introducing errors? The reason lies in the ability to setup a hedge portfolio, thus the market will not compensate us for the drift above and beyond the risk free rate under risk-neutral probability pricing. As long as such hedge exists and couple other conditions are met (please look up Girsanov's Theorem) we can introduce a risk-neutral measure so that when applying it to the differential equation and through..."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/352/volatility-pumping-in-practice"} |
| {"id": "finance_998", "domain": "finance", "question_title": "Strategy of Renaissance Technologies Medallion fund: Holy Grail or next Madoff?", "question_body": "Renaissance Technologies Medallion fund is one of the most successful hedge funds - ever! Yet it is very secretive. Do you have information on the strategy used that is not yet mentioned in the Wikipedia article above? Is there really something fundamental going on (the Holy Grail of investing) - or will this be the next Madoff?", "question_score": 28, "question_tags": ["strategy", "quant-funds"], "choices": {"A": "The risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \"there is no free lunch in financial markets\". This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\, 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;...BBecause of: The (extreme) dominance of noise over signal The prevalence of non-repeating patterns (many of which we know are not going to repeat) A pathetic sample size for cross-validation Regime changes due to exogenous events. These are typically in the cross-val window which makes it even worse. (GFC, financial integration, trade law changes, interest rate adjustments by central banks, some idiot in a bank was hiding trades and loses 5 billions dollars, etc). It is well known that non-linear relationships are generally just artefacts of the in sample dataset There is also the following: Much price changes are driven...CConsider the standard error , and in particular the distance between the upper and lower limits: \\begin{equation} \\Delta = (\\bar{x} + SE \\cdot \\alpha) - (\\bar{x} - SE \\cdot \\alpha) = 2 \\cdot SE \\cdot \\alpha \\end{equation} Using the formula for standard error, we can solve for sample size: \\begin{equation} n = \\left(\\frac{2 \\cdot s \\cdot \\alpha}{\\Delta}\\right)^{2} \\end{equation} where $s$ is the measured standard deviation, which you already have from your IR calculation. High-frequency Example I was testing a market-making model recently that was expected to return a couple basis points for each trade and I wanted to be confident...DThere are a some information about Renaissance Technologies available in The Quants from Patterson. Basically, and it's also what I heard in general, they are using intensively algorithmic trading, and from what I understood there are using Information Theory (they worked with Shannon if I remember well). I'd say it'd be harsh to say it's the next Madoff given the background they have, I can easily see them being simply better than the rest... It's just my opinion of course..."}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/998/strategy-of-renaissance-technologies-medallion-fund-holy-grail-or-next-madoff"} |
| {"id": "finance_1628", "domain": "finance", "question_title": "What are the best sources for equity quantitative research?", "question_body": "What are the best sources of quantitative finance research in equities? I will list a couple and note an asterisk if the research is available by request (i.e. non-clients) or online: BAC-Merrill Lynch - Savita Subramanian Deutsche Bank - Yin Luo* Credit Suisse - Pankaj Patel Barclay's - Matthew Rothman HSBC - Ely Klepfish* Goldman Sachs - Quantitative Strategies Neuberger-Berman - Wai Lee Nomura - Joseph Mezrich Perhaps there are also more un-conventional sources of quant research besides sell-side wall street: Hussman Funds - John Hussman* Emanuel Derman's collection of papers", "question_score": 28, "question_tags": ["quant-trading-strategies", "equities", "research"], "choices": {"A": "The minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...", "B": "Sell Side Macquarie Quant - Venkat Eleswarapu Bernstein Research - Vadim Zlotnikov Nomura - Joe Mezrich JPMorgan Investment Strategies series Societe Generale - Alain Bokobza Independent CXO Advisory Empirical Finance Blog Russell Indexes: Research and Insights MSCI Research Papers Axioma Research Papers", "C": "Garabedian, Typically, the \"swap curve\" refers to an x-y chart of par swap rates plotted against their time to maturity. This is typically called the \"par swap curve.\" Your second question, \"how it relates to the zero curve,\" is very complex in the post-crisis world. I think it's helpful to start the discussion with a government bond yield curve to clarify some concepts and terminologies. Consider the US Treasury market, using the outstanding Treasury notes and bonds (nearly 300 of them...), we can either use bootstrapping or more sophisticated spline models to construct a \ Since this yield curve...DThis question goes to whether the historical returns to factors represent: Spurious results, overfitting, data mining... Mispricing Unexploitable effects Compensation for risk Case 1: Spurious results etc... If someone constructs a \ factor, the highly above average returns would almost certainly reflect a fishing expedition (or conditioning on future information) and would not be reproducible going forward. Under a null of no above average returns, you're going to get portfolios that have above average historical returns with t-stats over 2. Beware. For something like the Fama-French factor $\\mathit{HML}$, this seems far less likely..."}, "answer": "B", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1628/what-are-the-best-sources-for-equity-quantitative-research"} |
| {"id": "finance_1710", "domain": "finance", "question_title": "Proof that you cannot beat a random walk", "question_body": "There is much speculation to what degree financial series are random (and what kind of randomness prevails). I want to turn the question on its head and ask: Is there a mathematical proof that whatever trading strategy you use you cannot beat a random walk (that is the expected value will always be 0 assuming no drift)? (I found this blog post where the author used the so called \"75% rule\" to purportedly beat a random walk but I think he got the distinction between prices and returns wrong. This method would only work if you had a range of allowed prices (e.g. a mean reverting series). See e.g. here for a discussion.)", "question_score": 28, "question_tags": ["quant-trading-strategies", "random-walk"], "choices": {"A": "Because of: The (extreme) dominance of noise over signal The prevalence of non-repeating patterns (many of which we know are not going to repeat) A pathetic sample size for cross-validation Regime changes due to exogenous events. These are typically in the cross-val window which makes it even worse. (GFC, financial integration, trade law changes, interest rate adjustments by central banks, some idiot in a bank was hiding trades and loses 5 billions dollars, etc). It is well known that non-linear relationships are generally just artefacts of the in sample dataset There is also the following: Much price changes are driven...", "B": "I can help you beat random walk 'in the way you want', i.e. the expected value $E[\\$]$ will always be positive even assuming no drift. However, I have to warn people that $E[\\$] > 0$ is NOT really an adequate condition for 'beating' in reality (at least to myself). Let's define some mathematical notations for derivation, and rephrase (simplify) vonjd's question without losing generality. Assume a trader plays a fair game, and his surplus $X(0), X(1), X(2), ... X(t)$ is a martingale. Q: Can the trader find a stopping time $s$ such that $E[X($s$)] > X(0)$? A proof supporting Bootvis'...CSell Side Macquarie Quant - Venkat Eleswarapu Bernstein Research - Vadim Zlotnikov Nomura - Joe Mezrich JPMorgan Investment Strategies series Societe Generale - Alain Bokobza Independent CXO Advisory Empirical Finance Blog Russell Indexes: Research and Insights MSCI Research Papers Axioma Research PapersDI have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very..."}, "answer": "B", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1710/proof-that-you-cannot-beat-a-random-walk"} |
| {"id": "finance_1888", "domain": "finance", "question_title": "Is the stock price process a martingale or a Markov process?", "question_body": "Some people claim that the data-generating process for stocks is a \"martingale\" and that is has the \"Markov property\". Are they unrelated? Is it that the Markov property implies some sort of martingale property, or is it the other way around? How do you statistically test for such properties? How far from reality is it to assume such properties?", "question_score": 28, "question_tags": ["equities", "martingale", "stochastic-processes"], "choices": {"A": "I know that I have seen things like this in the past. Wasn't there something recently that used Twitter? Here are a few recent papers as examples, although I will be brutally honest that I don't know if they speak to your decent quality requirement: \"Trading Strategies to Exploit Blog and News Sentiment\" (Zhang, Skiena 2010) \"The Predictive Power of Financial Blogs\" (Frisbee 2010) \"An analysis of verbs in financial news articles and their impact on stock price\" (Schumaker 2010)", "B": "The volatiltiy surface is just a representation of European option prices as a function of strike and maturity in a different \"unit\" - namely implied volatility (while the term implied volatility has to be made precise by the model used to convert prices (quotes) into implied volatilities - for example: we may consider log-normal vols and normal vols). Volatility is often preferred over prices, e.g., when considering interpolations of European option prices (although this may introduce difficulties like arbitrage violations, see, e.g., http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1964634 ). A local volatility model can generate a perfect fit to the implied volatility surface via Dupire's...CFrom what I remember, there is no real relation between Markov and Martingale, and my intuition was confirmed by this post . Basically, it says that you can say neither of the following: If A is Markov, then A is a martingale. If A is a martingale, then A is Markov. further down the post, you can find two counter examples: $dX_t = a dt + \\sigma dW_t$ is Markov but not a martingale and $dX_t = (\\int_0^t X_s ds) dW_t$ is a Martingale but is not Markov. As for the assumption of these properties being true, I think it...DI recently read \ (Nolan 2005) which gives a survey of this area and might be of interest (I believe it was contained in \ ). Another more recent reference is \ (2008). I'm not aware of anything covering \"risk of fluctuations\" and this is still certainly not at the center of the field (i.e. most theory still includes some version of Gaussian or mixture of Gaussians). Would also be interested in other references."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1888/is-the-stock-price-process-a-martingale-or-a-markov-process"} |
| {"id": "finance_3368", "domain": "finance", "question_title": "Why is an inverted yield curve a problem?", "question_body": "Immediately preceding the worst of the financial crisis, my professors all pointed out to me that the yield curve had inverted -- short-term yields were more risky than 20-year or 30-year Treasury securities. My professors all seemed nervous about this. Aside from such a situation being generally counter-intuitive, why was this viewed so negatively? What kind of effects does this have, in a more macro sense?", "question_score": 28, "question_tags": ["theory", "yield-curve"], "choices": {"A": "There are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...", "B": "Nano answer : declining yield curve is a symptom that the market expects the economy to worsen. Short answer : yield curve is built on expected future interest rates. Yield curve will be downward sloping if you expect interest rates to fall in the future. Interest rates fall because the central bank react to worsening economy. So if the yield curve is downward sloping it means the market expects the economy to worsen to the point that the central bank will have to intervene.", "C": "Garabedian, Typically, the \"swap curve\" refers to an x-y chart of par swap rates plotted against their time to maturity. This is typically called the \"par swap curve.\" Your second question, \"how it relates to the zero curve,\" is very complex in the post-crisis world. I think it's helpful to start the discussion with a government bond yield curve to clarify some concepts and terminologies. Consider the US Treasury market, using the outstanding Treasury notes and bonds (nearly 300 of them...), we can either use bootstrapping or more sophisticated spline models to construct a \ Since this yield curve...DOne starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...answerBdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/3368/why-is-an-inverted-yield-curve-a-problem |
| idfinance_11556domainfinancequestion_titleWhy is the VIX futures market usually in a state of contango?question_bodyI'm a VIX newbie and I'm trying to understand why the VIX futures market is usually in a state of contango. All I can figure is that the sellers of VIX futures contracts demand high \ (because the seller is the holder of the short position and makes money when the price falls), and since there are willing buyers, namely ETNs and ETFs that are trying to track the S&P 500 VIX SHORT-TERM FUTURES INDEX (SPVIXSTR) through the purchase and sale of VIX futures, the contracts get sold. Also, the farther out the futures contract expires, the less certain the seller is about what the value of the VIX and the SPVIXSTR will be at the future's expiration date. The greater uncertainty over a longer term results in the seller demanding higher premiums over a longer term than he would demand over a shorter term. It seems like a prudent buyer of VIX futures wouldn't buy contracts that are priced so high. It seems like the VIX futures market should be in a state of contango about as frequently as it is in a state of backwardation. What causes contango in the VIX futures market, and why is it the usual state of the market?question_scorequestion_tagsvolatilityfuturesvixchoicesAYour questions about contango in VIX futures have close analogies in options too. The Black & Scholes model suggests that all time frames and all strikes should have the same implied volatility, but they don't. I think one of the reasons is that the B&S model assumes that stock returns are distributed in a normal (gaussian) distribution, but the actual returns don't match a gaussian distribution all that well. For example the actual occurrence of big crashes / gains is much more likely than a normal distribution would predict. Since crashes do occur people are willing to pay what the...BI've worked at a hedge fund that allowed GA-derived strategies. For safety, it required that all models be submitted long before production to make sure that they still worked in the backtests. So there could be a delay of up to several months before a model would be allowed to run. It's also helpful to separate the sample universe; use a random half of the possible stocks for GA analysis and the other half for confirmation backtests.CThe term has a different meaning to different people. to econometricians, microstructure noise is a disturbance that makes high frequency estimates of some parameters (e.g. realized volatility) very unstable. Generally this strand of the literature professes agnosticism as to the its origin; to market microstructure researchers, microstructure noise is a deviation from fundamental value that is induced by the characteristics of the market under consideration, e.g. bid-ask bounce, the discreteness of price change, latency, and asymmetric information of traders. The last example is frequently cited but I don't think it is accurate. Asymmetric information does not have to be a...", "D": "The risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \"there is no free lunch in financial markets\". This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\, 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/11556/why-is-the-vix-futures-market-usually-in-a-state-of-contango |
| idfinance_1177domainfinancequestion_titleWhy is volatility mean-reverting?question_bodyWe all know it does mean revert. The question is why. What's making volatility mean-revert? Is it some sort of cyclical behaviour of option traders? The way it's calculated? Why?question_scorequestion_tagsvolatilitychoicesAOne starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...BVolatility is mean reverting if the underlying security doesn't drop to zero. If the security has some underlying \"value\" then its price is co-integrated with that \"value\". The volatility is the uncertainty of that price as it tracks the security's \. Edit 12/03/2011 ================================================= @pteetor, I may have missed something, but the question was \. I realize that the standard answer is that the VIX (I'm assuming he's asking about the VIX) is related to the historical volatility of the S&P. A simple version of that relationship provides a reasonable R^2 (see Fig. 1). It relates...CThis isn't really an answer, but it's too long to add as a comment. I've always had a real problem with the correlation/covariance of price . To me, it means nothing. I realize that it gets used (abused) in many contexts, but I just don't get anything out of it (over time, price has to generally go up, go down, or go sideways, so aren't all prices \"correlated\"?). On the flip side, correlation/covariance of returns makes sense. You're dealing with random series, not integrated random series. For example, below is the code required to generate two price series that have...DIt's an interesting question. I particularly agree with the $\\mathbb{Q}-\\mathbb{P}$ dichotomy mentioned by many. I would add to the other answers that, come to think of it, the Black-Scholes postulated Geometric Brownian Motion could be interpreted as an AR(1) process on the logarithm of the stock price as you discretise the SDE from which it is a solution, which is exactly what you do when running Monte-Carlo simulations (same thing for the Ornstein-Uhlenbeck process as explained here and noted by @Richard). Actually, when taking the continuous-time limit, many more econometric models can be shown to correspond to stochastic processes frequently..."}, "answer": "B", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1177/why-is-volatility-mean-reverting"} |
| {"id": "finance_2303", "domain": "finance", "question_title": "What does the VIX formula measure and how does it work?", "question_body": "I have read the CBOE's white paper on the VIX and a lot of other things, but I need to honestly say, I don't really get it, or I am missing something important. In semi-layman's terms, is the VIX simply the a measurement of the volume of protective options bought? That is, individual contract volatility increases when the option has been bid up by buyers due to desirability. One contract alone only marginally increases the overall market volatility, but if all contracts were bid up, then the entire VIX would be recalculated (on the fly) to reflect the higher value of protective options as a speculative/hedge solution. Do I understand this correctly, or do I really need to put more time into understanding that formula which comprises the VIX?question_scorequestion_tagsoptionsvolatilityimplied-volatilityvixchoicesAVIX is a measure of implied volatility , specifically, model-free implied volatility , a concept originally developed by Demeterfi et. al. at Goldman Sachs in the 1990s . One of my recent questions, How to extrapolate implied volatility for out of the money options? , addressed some aspects of MFIV, and the papers mentioned in the question and answers will give you some more background on the concept. Also check out this JPMorgan research piece . The VIX is the square root of the market-implied variance swap rate, calculated based on the exchange-traded options portfolio typically used to hedge an...BGarabedian, Typically, the \ refers to an x-y chart of par swap rates plotted against their time to maturity. This is typically called the \ Your second question, \ is very complex in the post-crisis world. I think it's helpful to start the discussion with a government bond yield curve to clarify some concepts and terminologies. Consider the US Treasury market, using the outstanding Treasury notes and bonds (nearly 300 of them...), we can either use bootstrapping or more sophisticated spline models to construct a \"fitted curve.\" Since this yield curve...", "C": "Great question! I think the most useful starting point is Stock Return Characteristics, Skew Laws, and the Differential Pricing of Individual Equity Options by Bakshi, Kapadia and Madan (2003) . Their paper proposes a definition of model-free implied skewness (they originally called it risk-neutral skewness, but MFIS is more accurate), which they prove will have a P&L directly proportional to the realized skewness of the underlier. Subsequent papers (there are literally dozens) have thoroughly explored the properties of MFIS. In particular, Does Risk-Neutral Skewness Predict the Cross-Section of Equity Option Portfolio Returns? by Bali and Murray (2011) estimates the empirical...", "D": "Volatility is mean reverting if the underlying security doesn't drop to zero. If the security has some underlying \ then its price is co-integrated with that \. The volatility is the uncertainty of that price as it tracks the security's \"value\". Edit 12/03/2011 ================================================= @pteetor, I may have missed something, but the question was \" Why is volatility mean-reverting?\". I realize that the standard answer is that the VIX (I'm assuming he's asking about the VIX) is related to the historical volatility of the S&P. A simple version of that relationship provides a reasonable R^2 (see Fig. 1). It relates..."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/2303/what-does-the-vix-formula-measure-and-how-does-it-work"} |
| {"id": "finance_1391", "domain": "finance", "question_title": "Papers about backtesting option trading strategies", "question_body": "I am looking for all kinds of research concerning option trading strategies. With that I mean papers that publish results on different option trading strategies properly backtested with real-world data.", "question_score": 26, "question_tags": ["options", "backtesting", "quant-trading-strategies", "research", "option-strategies"], "choices": {"A": "Wavelets are just one form of \"basis decomposition\". Wavelets in particular decompose in both frequency and time and thus are more useful than fourier or other purely-frequency based decompositions. There are other time-freq decompositions (for instance the HHT) which should be explored as well. Decomposition of a price series is useful in understanding the primary movement within a series. In general with a decomposition, the original signal is the sum its basis components (potentially with some scaling multiplier). The components range from the lowest frequency (a straight-line through the sample) to the highest frequency, a curve that oscillates with a...", "B": "The way you do it in the first place is a discretization of the Geometric Brownian Motion (GBM) process. This method is most useful when you want to compute the path between $S_0$ and $S_t$, i.e. you want to know all the intermediary points $S_i$ for $0 \\leq i \\leq t$. The second equation is a closed form solution for the GBM given $S_0$. A simple mathematical proof showed that, if you know the initial point $S_0$ (which is $a$ in your equation), then the value of the process at time $t$ is given by your equation (which contains $W_t$,...", "C": "I did some digging and found the following papers - most of them offering quite a distinct perspective compared to classical option pricing theory! Stock Options as Lotteries by Brian H. Boyer et al. (2011) The Efficiency of the Buy-Write Strategy: Evidence from Australia by Tafadzwa Mugwagwa et al. (2010) The following is my favorite: You could do some backtests on your own with freely available data (using the VXO as volatility information) and with any spreadsheet - easy and elegant: How Students Can Backtest Madoff’s Claims by Michael J. Stutzer (2009) Loosening Your Collar: Alternative Implementations of QQQ Collars...", "D": "Strictly speaking, data snooping is not the same as in-sample vs out-of-sample model selection and testing, but has to deal with sequential or multiple tests of hypothesis based on the same data set. To quote Halbert White: Data snooping occurs when a given set of data is used more than once for purposes of inference or model selection. When such data reuse occurs, there is always the possibility that any satisfactory results obtained may simply be due to chance rather than to any merit inherent in the methody yielding the results. Let me provide an example. Suppose that you have..."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/1391/papers-about-backtesting-option-trading-strategies"} |
| {"id": "finance_2529", "domain": "finance", "question_title": "How do I adjust a correlation matrix whose elements are generated from different market regimes?", "question_body": "Say I want to calculate a correlation matrix for 50 stocks using 3-year historical daily data. And there are some stocks that were recently listed for one year. This is not technically challenging because the correlation function in R can optionally ignore missing data when calculating pair-wise correlation. But honestly it worried me after deep thought: all the correlations for the short listed stock will bias to the regime it live in. For example, a stock that exists only in last few months will inevitably have higher correlation than the stocks that have full 3-year history. And I think it will cause bias and annoying problems in the following applications using this correlation matrix. So, my question is: how do I adjust my correlation matrix whose elements are generated from different market regimes? I feel a dilemma. In order to assure that the whole matrix live in the same regime, it seems that either I need to use least possible samples, or I have to throw that stock away. But either way looks a waste to me. I know the correlations for that stock got to be lower, but how much lower? Is there an approach or formula derived from solid arguments? I did some research and surprisingly found that all public research on correlation matrix assuming adequateness of data. How can it be possible in practice?! A mystery for me to see this seemingly common problem has not been publicly addressed.", "question_score": 26, "question_tags": ["market-regimes", "correlation-matrix"], "choices": {"A": "1. Determine Factors Economically, the use of factor models can be either motivated using the ICAPM or the APT . Although there are some theoretical differences between the model, for empirical and practical work these differences are irrelevant. In the end, both models stipulate that returns and expected returns are linear functions of the factors: $$ r_{i,t} = \\alpha_i + \\sum_j \\beta_{i,j} F_{j,t} + \\epsilon_{i,t} \\quad (1)$$ $$ \\mathbb{E}[ r_{i,t}] = \\lambda_o + \\sum_j \\beta_{i,j} \\lambda_j \\quad\\quad\\quad(2)$$ where $F_{j,t}$ is the factor surprise of factor $j$ at time $t$ and $\\lambda_j $ is the factor risk premium of factor $j$....", "B": "Quant Guy's list is really impressive! However, I am not sure they will readily solve your specific problem? I think there is one missing piece . Please note that imputing missing data is a very broad topic. There are many recipes to impute missings but that's for their specific 'assumptions' and purposes. They do not necessarily intend to well address your specific problem: the regime change. To best address your specific problem, you have to quantitatively define the market regime as a part of your adjusting formula. Otherwise, it wouldn't logically make sense that your model is aware of and...CBecause of: The (extreme) dominance of noise over signal The prevalence of non-repeating patterns (many of which we know are not going to repeat) A pathetic sample size for cross-validation Regime changes due to exogenous events. These are typically in the cross-val window which makes it even worse. (GFC, financial integration, trade law changes, interest rate adjustments by central banks, some idiot in a bank was hiding trades and loses 5 billions dollars, etc). It is well known that non-linear relationships are generally just artefacts of the in sample dataset There is also the following: Much price changes are driven...DThere are some cases where you can blend your portfolios using weights directly. One case involves corner portfolios . In this case a linear combination of weights is also efficient. Another case is where you can treat the two separate weights you have produced each as distinct portfolio under the assumption that the correlation between these portfolios is relatively stable. In this scenario, the problem reduces to a two-asset portfolio optimization problem (each asset is simply the linear combination of weights produced via your two methods). The other class of methods involves blending via the expected returns. If you arrived...answerBdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/2529/how-do-i-adjust-a-correlation-matrix-whose-elements-are-generated-from-different |
| idfinance_4160domainfinancequestion_titleDiscrete returns versus log returns of assetsquestion_bodyThere have been similar posts here already but nevertheless I find the question worth posting: why do some people claim that log returns of assets are more suitable for statistics than discrete returns. E.g. in the ESMA CESR guidliens about SSRI log returns are used. I personally think that discrete returns are as good for means of risk management as continuous returns. Furthermore in portfolio context I can calculate the portfolio return by weighting the discrete returns of the assets which does not work with log returns. The time-aggregation of log returns is easier that's true. But people rather think in discrete returns. If my NAV drops from $100$ to $92$ then I have lost $8\\%$ and that's it. Is there any study on this - any good reference? Anything that I can tell my regulator why I stick to discrete returns.question_scorequestion_tagsasset-returnslog-returnschoicesAArithmetic returns allow for easier cross-sectional aggregation and log returns allow for easier time-aggregation. The reason people use log returns (for equities) is that they are approximately invariant and hence easier to work with in estimating distributions. Meucci does better justice in describing invariance here . The basic idea (again, for equities) is that the distribution of security prices is log-normal, so the arithmetic returns will also be. However, making a log transformation results in approximately normal returns, which are easier to work with. Also, if you do assume them to be normally distributed, then there are convenient results for...BConsider the standard error , and in particular the distance between the upper and lower limits: \\begin{equation} \\Delta = (\\bar{x} + SE \\cdot \\alpha) - (\\bar{x} - SE \\cdot \\alpha) = 2 \\cdot SE \\cdot \\alpha \\end{equation} Using the formula for standard error, we can solve for sample size: \\begin{equation} n = \\left(\\frac{2 \\cdot s \\cdot \\alpha}{\\Delta}\\right)^{2} \\end{equation} where $s$ is the measured standard deviation, which you already have from your IR calculation. High-frequency Example I was testing a market-making model recently that was expected to return a couple basis points for each trade and I wanted to be confident...CThis isn't really an answer, but it's too long to add as a comment. I've always had a real problem with the correlation/covariance of price . To me, it means nothing. I realize that it gets used (abused) in many contexts, but I just don't get anything out of it (over time, price has to generally go up, go down, or go sideways, so aren't all prices \"correlated\"?). On the flip side, correlation/covariance of returns makes sense. You're dealing with random series, not integrated random series. For example, below is the code required to generate two price series that have...DOne starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/4160/discrete-returns-versus-log-returns-of-assets |
| idfinance_8843domainfinancequestion_titleWhat are modern algorithms for trade classification?question_bodyWhen dealing with trade data, for example from TAQ, a common problem is that of determining whether a trade was a buy or a sell . The most commonly used classifier is the Lee-Ready algorithm ( Inferring trade direction from intraday data , 1991). Unfortunately, this method is known to be inaccurate: Lee and Radhakrishna ( Inferring investor behaviour: evidence from TORQ data , 2000) report that Lee-Ready incorrectly classifies 24% of the trades inside the spread. How to improve on Lee-Ready's recipie? What are the best algorithms for trade classification?", "question_score": 26, "question_tags": ["market-microstructure"], "choices": {"A": "The risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \"there is no free lunch in financial markets\". This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\, 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;...BI've not yet read it, but Lehalle's recent book is bound to be a goldmine of good micro-structure bits and pieces. Market Microstructure in Practice EDIT: I'm reading the book now, so far it's quite good.CThere are a few approaches to use trade prices and quotes to classify the aggressor as \ or \ Also, many of these methods have historically had to deal with unsynchronized data streams. Classification of Approaches We can largely break trade classification methods into four types: Tick tests , advocated by Finucane (2000) , compare a trade price to the previous differing trade price with upticks (downticks) being evidence of a buy (sell); Midpoint tests , advocated by Lee and Ready (1991) , compare a trade price to a contemporaneous midpoint (average of bid and ask prices) with trades above...DHere couple pointers that may make it clearer: Drift can be replaced by the risk-free rate through a mathematical construct called risk-neutral probability pricing. Why can we get away with that without introducing errors? The reason lies in the ability to setup a hedge portfolio, thus the market will not compensate us for the drift above and beyond the risk free rate under risk-neutral probability pricing. As long as such hedge exists and couple other conditions are met (please look up Girsanov's Theorem) we can introduce a risk-neutral measure so that when applying it to the differential equation and through..."}, "answer": "C", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/8843/what-are-modern-algorithms-for-trade-classification"} |
| {"id": "finance_11564", "domain": "finance", "question_title": "Why shrink the covariance matrix?", "question_body": "I'm trying to understand why it's useful to shrink the covariance matrix for portfolio construction or in fact general. Think I missing something. I know if you have 5,000 stocks it's a lot of calculations but if we assume that computing power is not a problem.question_scorequestion_tagsstatisticsportfolio-managementcovarianceportfolio-optimizationchoicesAHave a look at this classic paper: Honey, I Shrunk the Sample Covariance Matrix by O. Ledoit and M. Wolf The abstract answers your question already: The central message of this article is that no one should use the sample covariance matrix for portfolio optimization. It is subject to estimation error of the kind most likely to perturb a mean-variance optimizer. Instead, a matrix can be obtained from the sample covariance matrix through a transformation called shrinkage. This tends to pull the most extreme coefficients toward more central values, systematically reducing estimation error when it matters most. Statistically, the challenge...BThe term has a different meaning to different people. to econometricians, microstructure noise is a disturbance that makes high frequency estimates of some parameters (e.g. realized volatility) very unstable. Generally this strand of the literature professes agnosticism as to the its origin; to market microstructure researchers, microstructure noise is a deviation from fundamental value that is induced by the characteristics of the market under consideration, e.g. bid-ask bounce, the discreteness of price change, latency, and asymmetric information of traders. The last example is frequently cited but I don't think it is accurate. Asymmetric information does not have to be a...", "C": "In my experience, a VaR or CVaR portfolio optimization problem is usually best specified as minimizing the VaR or CVaR and then using a constraint for the expected return. As noted by Alexey, it is much better to use CVaR than VaR. The main benefit of a CVaR optimization is that it can be implemented as a linear programming problem. Another option I have tried is the technique in this paper: http://www.math.uwaterloo.ca/~tfcolema/articles/bank_article.pdf Another option is the two-step heuristic where one first finds the mean-variance efficient frontier and then you could calculate whatever are the relevant portfolio statistics on only the...", "D": "Just to be painfully clear, it only seems to make sense to consider the logarithm of returns, i.e. $X=\\log (1+\\frac r{100})$ for a simple return of $r\\%$ in an arbitrary period because this is what sums when returns are temporally aggregated. A basic property of cumulants is that cumulants of all orders are additive under convolution, for which a proof can be found here here . So if $X_1$, $X_2$, ... $X_n$ are i.i.d. , then all the cumulants of $$Y_n = \\sum_{i=1}^nX_i$$ scale linearly with $n$, i.e. $$\\kappa_k(Y_n)=n\\kappa_k(Y_1).$$ However, I suspect that you are normalizing this sum so that..."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/11564/why-shrink-the-covariance-matrix"} |
| {"id": "finance_344", "domain": "finance", "question_title": "What is the implied volatility skew?", "question_body": "I often hear people talking about the skew of the volatility surface, model, etc... but it appears to me that there isn't a clear standard definition unanimously used by practitioners. So here is my question: Does anyone have a clear and unifying definition that can be stated in mathematical terms of what skew is in the context of risk neutral pricing? If not, do you have a set of definitions of the skew with respect to a specific context?question_scorequestion_tagsoptionsoption-pricingimplied-volatilityvolatility-skewchoicesAIntro: Great answer given by Kevin. I would like to contribute an additional perspective. My experience with and my understanding of the Risk Neutral measure is entirely based on \ and \ arguments. The way I would like to explain this view is via the following three-step construction : (i) First, I want to build the intuition with a one-period discrete model: only a single stock and a risk-free account, no derivatives . The aim is to show that even without trying to price derivatives, one can create a mathematical object called a \, just...BI have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very...", "C": "In general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)", "D": "Scott Mixon argues in What Does Implied Volatility Skew Measure that among all measures of implied volatility skew, the (25 delta put volatility - 25 delta call volatility)/50 delta volatility is the most descriptive and least redundant (volatility is Black-Scholes implied volatility). His paper, recently published in the Journal of Derivatives , gives a number of both theoretical and empirical arguments in favor of this measure. He distinguishes between \"skew\", which is a measure of the slope of the implied volatility curve for a given expiration date, and \"skewness\", which is the skewness of an option implied, risk neutral probability..."}, "answer": "D", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/344/what-is-the-implied-volatility-skew"} |
| {"id": "finance_529", "domain": "finance", "question_title": "How to quickly estimate a lower bound on correlation for a large number of stocks?", "question_body": "I would like to find stock pairs that exhibit low correlation. If the correlation between A and B is 0.9 and the correlation between A and C is 0.9 is there a minimum possible correlation for B and C? I'd like to save on search time so if I know that it is mathematically impossible for B and C to have a correlation below some arbitrary level based on A to B and A to C's correlations I obviously wouldn't have to waste time calculating the correlation of B and C. Is there such a \? If not, what are other methods of decreasing the search time?question_scorequestion_tagstime-seriescorrelationnumerical-methodschoicesAThe minimum variance solution loads up on securities that have low variances and co-variances. Theoretically you are correct that this should have a low expected return profile. However, it turns out - in contradiction to modern portfolio theory - that securities that have low-volatility or low-beta experience higher returns than high-volatility or high-beta stocks. This is well-documented in the literature as the low-volatility anomaly . As a result, many funds and ETFs have been launched in recent years to exploit this phenomenon. There are a couple arguments as to why the anomaly exists. The paper I cite above argues that...BYes, there is such a rule and it is not too hard to grasp. Consider the 3-element correlation matrix $$\\left(\\begin{matrix} 1 & r & \\rho \\\\ r & 1 & c \\\\ \\rho & c & 1 \\end{matrix}\\right)$$ which must be positive semidefinite . In simpler terms, that means all its eigenvalues must be nonnegative. Assuming that $\\rho$ and $r$ are known positive values, we find that the eigenvalues of this matrix go negative when \\begin{equation} c Therefore the right hand side of this expression is the lower bound for the AC correlation $c$ that you seek, with $\\rho$ being...CIt is hard to find a stable non-trivial dependence structure in financial data. Usually when such is found it is hard to rationalize. One of my favorite (although I am sure there are others) is the so called \. This is an old finding by Santa-Clara and Valkanov (2003) They find that \, : basis decomposition\}, : , : , : , : , : } |
| {: , : , : , : , : 25, : [, , ], : {: , : , : , : basis decomposition\}, : , : , : , : , : } |
| {: , : , : , : , : 25, : [, ], : {: , : , : , : correlated\}, : , : , : , : , : } |
| {: , : , : , : , : 25, : [, ], : {: , : , : unit\, : The Elements of Statistical Learning\}, : , : , : , : , : } |
| {: , : , : , : , : 24, : [, , ], : {: , : The Elements of Statistical Learning\, : , : }, : , : , : , : , : } |
| {: , : , : , : , : 24, : [, ], : {: , : , : , : }, : , : , : , : , : } |
| {: , : , : , : , : 24, : [, ], : {: swap curve\par swap curve.\how it relates to the zero curve,\fitted curve.\, : skew\skewness\, : , : }, : , : , : , : , : } |
| {: , : , : , : , : 24, : [, ], : {: , : The Elements of Statistical Learning\, : , : }, : , : , : , : , : } |
| {: , : , : , : bad loans made in emerging markets\bad loans to commercial real estate\, : 24, : [], : {: , : , : correlated\, : }, : , : , : , : , : } |
| {: , : , : , : , : 23, : [, ], : {: , : skew\skewness\, : unit\, : }, : , : , : , : , : } |
| {: , : , : , : , : 23, : [, , ], : {: correlated\, : swap curve\par swap curve.\how it relates to the zero curve,\fitted curve.\, : , : bias\}, : , : , : , : , : } |
| {: , : , : , : , : 23, : [, , ], : {: , : , : , : }, : , : , : , : , : } |
| {: , : , : , : , : 23, : [, , , ], : {: , : , : correlated\, : Signal Weighting \Signal Weighting\}, : , : , : , : , : } |
| {: , : , : , : , : 23, : [, , , ], : {: , : , : , : The Elements of Statistical Learning\}, : , : , : , : , : } |
| {: , : , : , : , : 23, : [, , , ], : {: , : swap curve\par swap curve.\how it relates to the zero curve,\fitted curve.\, : , : stock tickers that begin with AAP or GOO\}, : , : , : , : , : } |
| {: , : , : , : , : 23, : [, , ], : {: Presidential Puzzle\ Excess return in the stock market is higher under Democratic than Republican presidencies: 9 percent for the value‐weighted and 16 percent for the equal‐weighted portfolio. At the time the finding was very robust and did not seem to be explained by anything else. What is more...BI would consider a motion chart that plots the eigenvalues of the covariance matrix over time. For a static view you can create a table: rows represent dates, and columns represent eigenvectors. The entries of the table represent changes in the angle of the eigenvector from the previous row. This will show how stable your covariance structure is. You can also create a second table this time with eigenvalues as the columns sorted from high to low (and the corresponding values below for each date). This shows the variance described by each eigenvector so you can see whether correlation as...CIn general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)DI have worked on this topic extensively (pricing and calculating IV in production) and believe can offer an informed opinion. First of all Mathworks - the company that creates Matlab is not a trading firm so you should probably not rely on their advice so much. There are few closed form options pricing models, and all have practical shortcomings. Barone-Adesi and Whaley (please correct my spelling of last names as I'm typing from memory) model is simple approximation for American options but is unfortunately not very accurate, and does not deal with dividends. Roll-Geske-Whaley deals with dividends, but not very..."}, "answer": "A", "distractor_source": "same_domain_answer_pool", "source": "stackexchange", "license": "CC-BY-SA 4.0", "url": "https://quant.stackexchange.com/questions/27674/what-is-the-most-stable-non-trivial-dependence-structure-in-finance"} |
| {"id": "finance_34111", "domain": "finance", "question_title": "What are reasons not to do factor investing in equity markets?", "question_body": "Factor investing in equity markets is one of the hot topics of these days. Many manufacturers of investment products offer exposure to small cap, momentum, minvol, value and other pure factors or factor blends. Many of them beating the cap-weighted index at relatively low cost. I think of various reasons but I woud like to discuss: What are the reasons not everybody just invests in factor portfolios? What could be limitations, regulations, fears or other reasons not to invest in factor portfolios?", "question_score": 23, "question_tags": ["equities", "portfolio-management", "factor-investing"], "choices": {"A": "This question goes to whether the historical returns to factors represent: Spurious results, overfitting, data mining... Mispricing Unexploitable effects Compensation for risk Case 1: Spurious results etc... If someone constructs a \"stock tickers that begin with AAP or GOO\" factor, the highly above average returns would almost certainly reflect a fishing expedition (or conditioning on future information) and would not be reproducible going forward. Under a null of no above average returns, you're going to get portfolios that have above average historical returns with t-stats over 2. Beware. For something like the Fama-French factor $\\mathit{HML}$, this seems far less likely...BHave a look at this classic paper: Honey, I Shrunk the Sample Covariance Matrix by O. Ledoit and M. Wolf The abstract answers your question already: The central message of this article is that no one should use the sample covariance matrix for portfolio optimization. It is subject to estimation error of the kind most likely to perturb a mean-variance optimizer. Instead, a matrix can be obtained from the sample covariance matrix through a transformation called shrinkage. This tends to pull the most extreme coefficients toward more central values, systematically reducing estimation error when it matters most. Statistically, the challenge...CFrom what I remember, there is no real relation between Markov and Martingale, and my intuition was confirmed by this post . Basically, it says that you can say neither of the following: If A is Markov, then A is a martingale. If A is a martingale, then A is Markov. further down the post, you can find two counter examples: $dX_t = a dt + \\sigma dW_t$ is Markov but not a martingale and $dX_t = (\\int_0^t X_s ds) dW_t$ is a Martingale but is not Markov. As for the assumption of these properties being true, I think it...DI know that I have seen things like this in the past. Wasn't there something recently that used Twitter? Here are a few recent papers as examples, although I will be brutally honest that I don't know if they speak to your decent quality requirement: \ (Zhang, Skiena 2010) \ (Frisbee 2010) \ (Schumaker 2010)answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/34111/what-are-reasons-not-to-do-factor-investing-in-equity-markets |
| idfinance_39619domainfinancequestion_titleGamma Pnl vs Vega Pnlquestion_bodyWhy does Gamma Pnl have exposure to realised volatility, but Vega Pnl only has exposure to implied volatility? I am confused as to why gamma pnl is affected (more) by IV and why vega pnl isnt affected (more) by RV? Essentially how do you show what gamma pnl will be mathematically and how do you show what vega pnl will be? I believe that gamma pnl is spot x (vega x IV - RV) Also does gamma pnl usually dominate (in $ terms) the vega pnl of an options, as most literature is on gamma pnl?question_scorequestion_tagsoptionsimplied-volatilityoption-strategiesgammavegachoicesAThe risk-neutral measure $\\mathbb{Q}$ is a mathematical construct which stems from the law of one price , also known as the principle of no riskless arbitrage and which you may already have heard of in the following terms: \. This law is at the heart of securities' relative valuation , see this very nice paper by Emmanuel Derman (\"Metaphors, Models & Theories\", 2011) and some part of this discussion. In what follows, assume for the sake of simplicity existence of a risk-free asset ; deterministic and constant rates, with risk-free rate $r$ ;...", "B": "The volatiltiy surface is just a representation of European option prices as a function of strike and maturity in a different \"unit\" - namely implied volatility (while the term implied volatility has to be made precise by the model used to convert prices (quotes) into implied volatilities - for example: we may consider log-normal vols and normal vols). Volatility is often preferred over prices, e.g., when considering interpolations of European option prices (although this may introduce difficulties like arbitrage violations, see, e.g., http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1964634 ). A local volatility model can generate a perfect fit to the implied volatility surface via Dupire's...CFor an option with price $C$ , the P $\\&$ L, with respect to changes of the underlying asset price $S$ and volatility $\\sigma$ , is given by \\begin{align*} P\\&L = \\delta \\Delta S + \\frac{1}{2}\\gamma (\\Delta S)^2 + \\nu \\Delta \\sigma, \\end{align*} where $\\delta$ , $\\gamma$ , and $\\nu$ are respectively the delta, gamma, and vega hedge ratios. Then it is clear the vega P $\\&$ L has exposure to the change of the implied volatility $\\sigma$ . Note that, for the gamma P $\\&$ L, \\begin{align*} \\frac{1}{2}\\gamma (\\Delta S)^2 = \\frac{1}{2}\\gamma S^2 \\frac{1}{\\Delta t}\\left(\\frac{\\Delta S}{S}\\right)^2\\Delta t, \\end{align*} where...DIn general there are two basic ways to make money out of your option pricing models: Sell side (market maker, risk neutral): You use these models to calculate your greeks to hedge your portfolio, so that you live on the spread. Buy side (market/risk taker): You use your model to find mispriced options in the market and buy/sell accordingly. (A third possibility would be to write fancy books and papers about these models and get rich and/or tenure this way ;-)answerCdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/39619/gamma-pnl-vs-vega-pnl |
| idfinance_180domainfinancequestion_titleHow are distributions for tail risk measures estimated in practice?question_bodyLet's say you want to calculate a VaR for a portfolio of 1000 stocks. You're really only interested in the left tail, so do you use the whole set of returns to estimate mean, variance, skew, and shape (let's also assume a skewed generalized error distribution - SGED)? Or would you just use the left tail (let's say the bottom 10% of returns)? For some reason, using the whole set of returns seems more correct to me (by using only the left 10% or returns you'd really be approaching a non-parametric VaR). But using the whole set of returns would likely cause some distortion in the left tail in order to get a better fit elsewhere. How are the pros doing this? Thanks!", "question_score": 22, "question_tags": ["risk", "probability", "estimation", "value-at-risk", "expected-return"], "choices": {"A": "Perhaps you may want to consider article by D. Levine - Modeling Tail Behavior with Extreme Value Theory who gives practicale example on how EVT can be used to calculate probabilities on returns in tails with use of the Pickands-Balkema-de Haan Theorem and generalized Pareto distribution. It also contains some criterias and points on other methods that can be used to determine threshold value for PBH theorem: Contrary to this notion is the fact that the PBH theorem states a result based on the assumption of threshold values approaching the right endpoint of the distribution F. This implies that better...", "B": "Great question. We would expect 3rd party risk providers to have specialized expertise (robust regression techniques, factor research, data cleansing etc.). We might grant them these advantages but still find weakness in the product design. Let's start off with the different uses of risk models and the procedure or metric which is maximized to solve for that use case. What we will see is that solving for a particular objective diminishes our ability to achieve other objectives. Portfolio construction = If you want to construct a minimum variance portfolio, for example, then the key here is developing a covariance matrix...COne starts with the Black-Scholes equation $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2S^2\\frac{\\partial^2 C}{\\partial S^2}+ rS\\frac{\\partial C}{\\partial S}-rC=0,\\qquad\\qquad\\qquad\\qquad\\qquad(1)$$ supplemented with the terminal and boundary conditions (in the case of a European call) $$C(S,T)=\\max(S-K,0),\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad(2)$$ $$C(0,t)=0,\\qquad C(S,t)\\sim S\\ \\mbox{ as } S\\to\\infty.\\qquad\\qquad\\qquad\\qquad\\qquad\\qquad$$ The option value $C(S,t)$ is defined over the domain $0 Step 1. The equation can be rewritten in the equivalent form $$\\frac{\\partial C}{\\partial t}+\\frac{1}{2}\\sigma^2\\left(S\\frac{\\partial }{\\partial S}\\right)^2C+\\left(r-\\frac{1}{2}\\sigma^2\\right)S\\frac{\\partial C}{\\partial S}-rC=0.$$ The change of independent variables $$S=e^y,\\qquad t=T-\\tau$$ results in $$S\\frac{\\partial }{\\partial S}\\to\\frac{\\partial}{\\partial y},\\qquad \\frac{\\partial}{\\partial t}\\to - \\frac{\\partial}{\\partial \\tau},$$ so one gets the constant coefficient equation $$\\frac{\\partial C}{\\partial \\tau}-\\frac{1}{2}\\sigma^2\\frac{\\partial^2 C}{\\partial y^2}-\\left(r-\\frac{1}{2}\\sigma^2\\right)\\frac{\\partial C}{\\partial y}+rC=0.\\qquad\\qquad\\qquad(3)$$ Step 2. If we...DNick Higham's specialty is algorithms to find the nearest correlation matrix. His older work involved increased performance (in order-of-convergence terms) of techniques that successively projected a nearly-positive-semi-definite matrix onto the positive semidefinite space. Perhaps even more interesting, from the practitioner point of view, is his extension to the case of correlation matrices with factor model structures. The best place to look for this work is probably the PhD thesis paper by his doctoral student Ruediger Borsdorf. Higham's blog entry covers his work up to 2013 pretty well.answerAdistractor_sourcesame_domain_answer_poolsourcestackexchangelicenseCC-BY-SA 4.0urlhttps://quant.stackexchange.com/questions/180/how-are-distributions-for-tail-risk-measures-estimated-in-practice |
| |