instruction stringlengths 35 27.7k |
|---|
Ever since I work in finance I was wondering what accrued interest (AI) are good for (see the wikipedia article for a short introduction). I think I have a clear picture in mind now and the usual explanations are misleading.
Clean prices (=quoted prices) are needed to show a smooth price evolution and they prevent the ... |
Given an implied volatility surface (on equity indexes) and a calibrated model, what is the range of error on implied volatility a trader would accept ?
This obviously depends on the model used to calibrate. I am interested in classical stochastic volatility models (Heston, SABR, e.g.) to begin with.
|
I am wondering about studies regarding the uncanny options pricing into public company's earnings reports.
The phenomenon being that the price of a straddle before earnings costs near exactly the positive or negative move that the stock makes after the earnings is released to be unprofitable or breakeven
It is curious ... |
Could anyone suggest some literature or have any practical advice for marking a market in thinly traded assets with the following characteristics:
0-10 trades per day.
Open limit-order book with 0-5 resting orders.
Almost no correlation with more liquid assets
Relatively high volatility.
Small number of market partici... |
I'm rather new to the actual practice of this kind of analysis, but it just seems wrong to me to throw Mondays' returns in with the rest without accounting for the passage of time on the weekend when the market was closed, and yet I seem to come across analyses from time to time that do exactly that for daily returns, ... |
Here's an interesting cocktail puzzle related to the term structure of interest rates.
One of the primary competing theories for explaining the term structure of rates is the Rational Exepctations Hypothesis (REH).
Now generally we test a theory by examining the empirical data and seeing which theory explains the data ... |
I've never understood the purpose of patents in the financial industry.
What would be the pros and cons of applying for a patent on some financial model or trading system?
What would be the motivating factors behind this?
What sort of protection does this offer?
|
I am using QuantLib to calculate implied volatilities.
I am trying to understand the calculated figures (especially, when compared to historical volatility). The calculated implied volatility numbers are seldom below 0.5, whilst the historic volatility numbers* is never above 0.5.
Here is an output from my program:
DEB... |
I'm a relatively small investor, and I'm interested in building my own fully-automated quantitative trading strategy. I also read about dark pools, and how difficult it is to get good prices on orders.
My question is, in the context of the other players on the market, how much capital is necessary to create a viable tr... |
I have been looking for a low cost solution to effectively store and query tick and bar data.
Databases like kdb+ and Streambase are too expensive for me.
Building a custom solution with SSAS (Sql Server Analysis Services) is one of the options that can think off. Has anyone attempted this?
If you did attempt this, ho... |
I am looking to convince someone that an annualized Sharpe Ratio of 7 is 'extremely high' for a low frequency (daily rebalancing, say) long-short technical strategy on U.S. equities. I was hoping for a published source (preferably a journal article or conference paper) that either
Provides a scale for interpreting Sha... |
We want start using FpML within our organisation; where message will be sent using FpML.
What are best practices to do this ?
If anyone who have used Tools as well as; i want to use FpML for messaging as well as capturing trade details...
|
Is there any research on the equity return performance of hard-to-borrow securities?
Many shops will simply screen for hard-to-borrow and eliminate these names from their short book.
Anecdotally, it seems that these names have a tendency to rally on account of short-covering effects and future demand. I know there is ... |
I'm trying to derive the valuation equation under a general stochastic volatility model.
What one can read in the literature is the following reasoning:
One considers a replicating self-financing portfolio $V$ with $\delta$ underlying and $\delta_1$ units of another derivative $V_1$. One writes Ito on one hand, and the... |
I am looking for some tips on how to run a simple backtest on a pairtrading strategy intraday using eg. 30minute bars.
I have calculated the spread, beta(=ratio/hedgeweight), and standard deviation.
I tried treating the spread as a simple instrument which I buy and sell, but realised I cannot do it because the returns ... |
Consider a stochastic volatility model. As there are two sources of risk and one asset only, this is an incomplete market. One can complete the market by considering a derivative V1 used to hedge the volatility risk. My question is: Do derivatives prices depends on the derivative V1 one chooses to complete the market? ... |
I am using a trend following strategy in the stock market. If you look at the price chart, you can tell one stock's trend is stronger than the other. Now I want to develop an index to calculate the 'strength' of the trend, is there any good method for this?
|
Say I have access to logs of all trades executed on an ECN with the price maker and taker named.
These traders are only executing some of their flow on this ECN (anywhere from 5%-80% of their volume). I do not have any information about their trades done elsewhere, so I can not say for sure what their positions are and... |
I was recently at a seminar by a top hedge fund manager at a top university for finance students, when one of the finance professors asked him what do you think are important areas of research for my PhD students. The hedge fund manager responded solve the Riemann hypothesis. My question is, what would be the implicat... |
I am creating classes out of 5.1 FPML specification but I get following error.
Group 'Events.model' from targetNamespace='http://www.fpml.org/FpML-5/confirmation'
has invalid definition: Circular group reference.
How can I get rid of this?
|
After the Knight Capital incident, I decided to read into the new Rule 107C that NYSE pushed-out August 1st for a one-year pilot. From what I've read, Knight claims that new code rolled out for this rule was the cause of Knight's system going haywire.
Today two ETF bond funds, SPDR BofA Merrill Lynch Emerging Markets ... |
What is called "high frequency quoting" or "quote spam" in the context of high frequency trading?
Why do some people consider that as a problem for the market?
|
I'm trying to think on a way to normalize stocks to be on the same scale depending on their recent volatility.
Is there some theoretical reference on the subject or and experience you can share?
|
Possible Duplicate:
How much data is needed to validate a short-horizon trading strategy?
How far back do people usually backtest trading systems? months? years?
|
Is there any simple way to simulate cointegrated prices?
|
I've read the FAQ and I know that this question may be considered off-topic by the standards set forth but I think a topic such as this is a valid exception. Questions like this one have been permitted on various StackExchanges before, despite "not a real question." Opinions and "answers" can be useful to both novices ... |
I would like to optimize a portfolio allocation (maximizing the exposure or the expected return), but with VaR or CVaR contraints. (some parts of my portfolio cannot exceed a certain VaR)
How can I achieve that? Is there a way to turn the problem into a linear programming problem? or to approximate the results?
Any lin... |
Damodaran's historical data on 10-year T-note returns (found here) uses the following formula to calculate the 1-period total return on a T-note ($R_1$) given the 10-year constant maturity yield-to-maturity in the prior year ($Y_0$) and the current year ($Y_1$).
$R_1=(Y_0*\frac{1-(1+Y_1)^{-10}}{Y_1}+\frac{1}{(1+Y_1)^{1... |
i am developing a simulation trading in US stocks.
i have 1 transaction a day per stock, assumed for simplicity to be executed at the daily closing price.
in order to determine a reasonable maximal size for the transaction, i need some assumption concerning the liquidity of the stock.
if the stock's daily turnover is ... |
While I spend most of my StackExchange time on MathematicaSE, I'm in the business and follow the questions and answers on this site with great interest.
Recently questions like the following (and some others):
Time-series similarity measures
How are correlation and cointegration related?
Can the concept of entropy ... |
"If at least 10% of an option's value is time value (ie. time value >= 0.1*call price), it has a delta less than 90".
In practice and after doing many tests with an option pricing calculator, this statement seems to hold true. Can anyone mathematically prove or disprove this?
|
I am using FIX4.3 and QuickFIX/n v1.0.0 for its implementation.
I came across a situation where i had subscribed for Market Data and was successfully receiving Snapshot message then suddenly all communication with the Market Session stopped and i didn't receive any more snapshot from the server on the Market Data Sess... |
I'm trying to annualize the four moments based on a string of daily returns (continuously compounded) for 11 years.
The formulas for the annualization of the mean and the standard deviation I did find, but unfortunately the formulas for the skewness and kurtosis and the way to apply them not.
Can anybody help me? I'd w... |
I hope this is the correct site for this question, as it is rather theoretical...
In their famous paper, Delbaen and Schachermayer proved that the No Free Lunch with Vanishing Risk condition is equivalent to the existence of the Equivalent Local Martingale Measure. Are there any stronger no-arbitrage type conditions th... |
When (under what assumptions on the model) does a Stochastic Discount Factor need to be of Class D? What would be the implications if it was not? Is it connected to one of the no-arbitrage notions?
|
I'm trying to price an option with payoff $\max\{a\cdot S_t - K,0\}$ where $a$ is a known constant. Ideally I'm looking for a closed form, continuous-time solution. Where should I begin?
|
I am developing a trading strategy for currencies. I am trying to find an indication for risk, something like Sharpe ratio or Sterling ration; for that, I thought of using the (maximum) drawdown measurement, but have encountered a problem.
The drawdown (at least according to Wikipedia), saves a peak's value, and for ev... |
I have $2000 that I can risk losing.
I'd like to get started with Forex Trading.
Is there some place where I can open an account, get free API access, and write basic programs to play with the data? [I'd prefer a Java interface as I'd like to use Clojure.]
Thanks!
|
I have a cumulative profit/loss time series below for a trading strategy, what is the appropriate way to calculate the returns in percentage for such a series?
My issue is the appropriate calculation for when the strategy becomes negative and going forward. I can't take log of a negative number and I am not sure if th... |
As an aside on his answer on another question Freddy said:
Sharpe ratio is an often cited metric, though I do not like it too
much because you are penalized for out-sized positive returns while I
would only define negative returns as risk.
At first glance this seems like a good point, but a quick hunt around the ... |
In Carr and Madan (2005), the authors give sufficient conditions for a set of call prices to arise as integrals of a risk-neutral probability distribution (See Breeden and Litzenberger (1978)), and therefore be free of static arbitrage (via the Fundamental Theorem of Asset Pricing)
These conditions are:
Call spreads a... |
In the derivation of the Black Scholes equation, the value of the portfolio at time $t$ is given by
$$P_t = -D_t + \frac{{\partial D_t}}{{\partial S_t}}S_t $$
where $P_t$ is the value of the portfolio at time $t$, $D_t$ the price of the derivative and $S_t$ the price of the stock.
I guess $D_t$ means the price of the ... |
I am trying to replicate results from Engle and Manganelli (2004). The following is one of their specifications,
$q_t(\theta)=\gamma_0+\gamma_1q_{t-1}(\theta)+\alpha|r_{t-1}|$,
$q$ is the quantile of return distribution, $r$ is the return.
I do not know how to use quantile regression to estimate this process, since we ... |
If i am considering the 0-5 year irs spread for the USD market, would it be more accurate to use the fed funds rate or the OIS rate? I believe the OIS rate is calculated based on the fed funds rate, but am not sure how the dynamics of the relation work.
|
The subadditivity reads:
$\rho(X_1+X_2) \leq \rho(X_1) + \rho(X_2)$
What is the meaning of this condition? I can vaguely accept that one should diversify the investment portfolio. Or, I can understand that $\rho(X_1+X_2)$ describes the situation of two assets $X_1$ and $X_2$ held together. Then what is the meaning of $... |
For a project, I am interested to model the impact of recently negative interest bonds on the portfolio. The literature on modelling negative interest rates is limited, and the only theory I could find was the "liquidity trap" one and the plasma currency (software money taking place of the regular cash). Here there ar... |
I am a statistician (no solid background in finance). Please forward me to a book \ chapter \ paper to resolve the following general question.
Suppose we have a stock with the following monthly return distribution: P(R=1%)=0.999, P(R=10000%)=0.001. The mean monthly return is about 11%, which is very good. Still, for ty... |
Are the inverted (Japanese style) governmental yield curves being a sign a recession/credit risk or should they be modelled as being due to a lack of liquidity? (...with such curves evolving into a normally/positively-shaped yield curve, having more negative values for shorter horizons)
|
Observing the negative interest bonds in Switzerland, Denmark, GErmany the value of higher presently (credit-free) outgoing cash flows seems less important than the value of lower future (credit-free) incoming cash flows, when the time of the flows is chosen. This is also the case for intertemporal rate marginal substi... |
The physical cash presence in the final transactions is one of the issues in the presently observed negative interest rates bonds. Such a situation has historically been modelled within the "liquidity trap" theory, forecasting the introducing of a unique plasma currency in order to solve inflational problems. But curre... |
The magnitude of the negative interested rate should vary correlated with the increase in fixed assets prices and with cross-currency basis spreads.
Could their volatility / correlation coefficients, as historically fitted for all the previous non-negative observed interest rates be reliable and considered in backtest... |
Retail trading platforms typically offer equity charts but only instantaneous quotes on options. It seems like even a few minutes of historical data would be useful when entering an order. Are charts not offered because traders don't use them, or do options traders typically subscribe to third party data sources for ch... |
After the 1987 crash, the S&P500 index implied volatility changed from nearly flat to negatively sloped. According to Rubinstein the Black-Scholes model was not so wrong when applied to the S&P500 before 1986-87.
I am wondering if there are still indexes or stocks around the world that present almost flat implied volat... |
Suppose most investors have very short investing horizons and use appropriate (for them) strategies, but investor X has a very long horizon. He would like to trade some advantages (early withdrawal option, low draw-downs, etc) for the long-term return. What are theoretical approaches to model and answer this question? ... |
I am interested in hearing about the practitioner state of the art for testing the time independence of a VaR model (i.e. that VaR violations are independent in time). There are a number of tests in the literature. What do people actually use? Which are viewed as the most powerful and useful in the real world? I'm ... |
Benford's law has been applied in various ways for detecting fraud (e.g. elections or accounting). But what are the most useful applications of Benford in quantitative finance? Are there any? I have seen papers trying to apply Benford in this context but it often feels a bit "forced".
|
Summary
For Heston model parameters that render the variance process constant, the solution should revert to plain Black-Scholes. Closed from solutions to the Heston model don't seem to do this, even though the dynamics clearly do. Can anyone see how to resolve this? I care because I'm getting incorrect results for fou... |
I am trying to locate historical volatility data (5+ years) for Brent Crude? Does anyone know where I might be able to source such data?
|
Here is a very interesting question that I found at Nuclear Phynance (original author: Strange); I though it is so interesting that it is worthwhile to ask it here:
I have $N$ strategies, across a variety of assets and time frames (from intra-day to month holding times). Each strategy is sort-of-kind-of market-neutral ... |
Several sources (online and offline) that discuss the delta of a listed vanilla option, state that its delta is a (guesstimate?) of the probability of said option expiring ITM (in the BSM framework).
However, looking at the derivation of delta from the BS model (and its variants), it is not obvious (atleast to me), tha... |
I am running an options book containing listed options across multiple products. I trade mostly equity and index related options - with a preference for European expiration products. I trade products listed across multiple continents - so there is an FX risk component as well.
I have lots of spreadsheets etc which I us... |
ok, so let assume I can predict the daily change in the VIX itself (in points) every day. what would be the best way to play this with OPTIONS? well, obviously VIX options, but if I can look at the VIX as the implied volatility of the S&P (?) can I now project from that on the change in Vega of the SPX options? so if m... |
I would like to find the allocations that would minimize some user-defined metric (Sortino, minimum drawdown, etc) for a portfolio of assets.
How would one go about formulating the objective functions to pass to the optimizer?
I have experience in portfolio optimization for minimum variance and Sharpe, but when the obj... |
Using the ROC function in the R package TTR, there is a choice between continuous (the default) and discrete, but with no guidance on which you choose when. In the code the difference is:
roc <- x/lag(x) - 1
versus:
roc <- diff(log(x))
I admit my maths is weak but aren't they the same thing?
cbind(ROC(x,type='continu... |
Data is normally adjusted for splits/reverse splits, etc. The current shares outstanding is usually available. Is there a data repository that captures the shares outstanding for any point in the past?
|
When computing an FX forward rate for an expiry that is not explicitly quoted, it seems to me that a reasonable way to do it is log-linear interpolation of the two nearest outright forward rates, which would correspond to assuming continuous compounding at a constant rate in both currencies. However, it seems that it ... |
Does the NYSE provide a list of rules for determining when to close at 1:00 for a holiday? I have found a list of upcoming half-days here but I would like to know the rules so that I don't have to hard-code them in my application.
I found a list of all of the dates on which the NYSE closed early in its history here*. ... |
I have a question regarding the strike price that is given on OptionMetrics. My goal is to primarily retrieve options prices of a specific maturity with strike prices that are 20% in-the-money, at-the-money and 20% out-the-money. In order to do so I need to use the direct relationship between the strike price $K$ and t... |
I'm looking for a precise definition of how FX outright delivery dates are computed.
Chapter 1 of the book 'Foreign Exchange Option Pricing: A Practitioners Guide' (this chapter can be found here) outlines quite precisely the rules for calculating expiry and deliver dates for FX options in Section 1.5, but it is not cl... |
The bonds which Greece has paid had been valued by market as junk once, just before their payment. Given that the observed market value is the net present value of the instrument, why were they so low?
Because the value to be received has been discounted by the market via a huge credit spread related to the issuer=Gree... |
I would like to backtest a short-equity strategy. I'm looking for historical data on the availability of shares and cost to short certain stocks. Does anyone know of such data being available anywhere?
Alternatively, has anyone seen an academic paper describing a short equity strategy (or the short leg of a long/short... |
I'm an aspiring computer scientist who want to move into algorithmic trading at some point.
At the moment I'm mostly focusing on courses in machine learning/data analysis etc. but I've noticed that my uni offers modules in stochastic analysis covering the topics mentioned in the question title.
My question is if this w... |
I am confused on how to compute the spread ratio.
For example, this is example I came across with my broker -
Consider 2 contracts Bobl and Euribor.
The DV01 of Bobl i 44.8 and Euribor is 25. To equalize DV01, we need 44.8/25=1.792 contracts of Euribor for every 1 contract of Bobl.
However, tick sizes are different. 1... |
It appears to me that the answer is no, because Hurst exponent measures persistence in terms of autocorrelation, which is a linear measure. So even if a time series of asset returns is driven by nonlinear or chaotic dynamics, the dependence would not be captured by Hurst exponent as long as the ACF isn't significant at... |
I am modelling an option value model of retirement, see for instance Stock and Wise (1990). I am however not sure to which class of problems this model falls into and hence which optimization method I should consider to solve for the issue. To clarify what I mean, I will first describe the model:
The objective is to fi... |
Look at ACCT 340 @ http://www.gsb.stanford.edu/research/courses/acctg.html
I've read some of the research papers written by the Professor, and the material is very interesting. However, I'm looking for more in-depth, deeper examples (i.e. not only the theory, but also practical examples.)
Is there any good textbook / t... |
The weights of the nine S&P equity sector indexes vary over time. One can find measures of them in a number of different formats:
S&P 500 Sector SPDRs - historical sector weights
Here's an interesting way of looking at sector weights, and their
relative performance. It's easy to do - just take the 9 sector SPDR
... |
What are the calculations for calculating greek exposures in a portfolio of equities and equity options? I think I have them but I want to be sure. Are these correct (for vanilla options)?
deltaDollars = delta * quantity * 100
gammaDollars = gamma * quantity * 100
vegaDollars = vega * quantity * 100
thetaDollars =... |
I am trying to develop my own MBS prepayment model. I am confused by the terms SMM and CPR. Are they estimates/models in themselves or are they ACTUAL data for the MBS pool. where can I find actual historical MBS prepayment data?
|
I am trying to evaluate a forecasting algorithm for stock price prediction. However, the performance of the algorithm may be very much tied to the trading strategy.
Is there a systematic way for decoupling these two, and evaluating the forecasting algorithm only? Perhaps, something not related to MSE, as it does not ... |
I would like to model VIX futures. The aim is not pricing but risk management. Thus I want to get risk measures like volatility right and be able to accurately calculate correlations when the VIX futures is analyzed in portfolio context.
I am not sure whether the Heston approach that is sometimes used is suitable for t... |
I am sorry if this is not appropriate here. We are building a wealth management system and I really would like to know whether amortization of bond start accumulating on trade date or settlement date according to common accounting standard.
Thanks!
|
What is the instantaneous P&L of a variance swap.
Is it $(\sigma^{2}_{t}-\sigma^{2}_{implied})dt$?
|
I have a little question and need some help with the notation. So, the question goes as follows:
A bond with a maturity of ten years that pays annual coupons of 8% has a price of \$90. A bond with a maturity of ten years and annual coupons of 4% has a price of \$80. What is the ten year zero rate?
I don't actually kn... |
Aftcast is a way of simulating equity curves for different start years, usually from a large sample data ~100 years. Its kind of like start date sensitivity testing but in my case, I incorporated withdrawals from portfolio. What I am trying to see is how sustainable a portfolio would be if I were to withdrawal at diffe... |
I hear it said a lot that standard MV optimization "maximizes errors". But I can't find a good explanation for what exactly they mean by this "maximization" of estimation error.
I understand that if you simulate $500$ matrices of returns $T-t$ months into the future from $t$ (now) to $T$ (future), and you do MV optimi... |
I have 8 country stock indexes and 1 world stock index. I do not actually have time series data but I'm given the following data:
$\mu$, the vector of expected future returns for all 8 country indexes and world index (9 indexes).
$\Omega$, the variance covariance matrix of all 9 indexes.
I'm forming a MV efficient a... |
I'm hand rolling some visualization algorithms.
Extracting the min/max of a time series is $O(n)$, for n entries.
If I want the 25% and 75% mark, I could use an $O(n \log n)$ time sort, then get the 25% and 75% marks.
However, is there a way to do this in linear time?
|
I'm attempting to model asset performance to Bitcoin revenue, which is a driving force in the Bitcoin community.
Question
Is there any model, or research being done that tracks "hashes per second" (MHz) to BTC earned over time?
If no prior work exists, what is the best way for me to model:
Various non-linear interd... |
I have developed an analytic platform in .NET, but I now have to tackle the problem of data cleaning which first starts by finding holes in time series, before actually looking to find inconsistent data.
In the universe I considered, there is no intraday data. I store the last prices each day and month. So, first step,... |
I'm faced with the formula shown in the image below, which I just don't understand, in part because I've no grounding in stats, and in part because I don't even understand the notation:
What's going on here? Is this showing in the first line how to compute the VaR, and then in the second line how to derive the annuali... |
I recently purchased http://www.amazon.com/Evidence-Based-Technical-Analysis-Scientific-Statistical/dp/0470008741
Is there an open source repository that contains (or contains as close as possible):
the code used
the data used?
The main thing is that -- reading is great, but playing with data is even more fun.
Thanks... |
I am trying to wrap my head around the proper way to do this. I would like to simulate the portfolio value adjusted for inflation with a fixed withdrawal rate.
To simulate withdrawal rate, I will need to adjust my portfolio nominal return series to real return using CPI. After getting real return series, assume that my... |
QuickFIX is a well-known open-source implementation of the FIX protocol. This library has been ported to numerous languages, though for the moment I am concentrating the on C/C++ implementation.
Unfortunately, I do not know C++ at all but my knowledge in C is rather high (professional level). My goal is to develop an o... |
There 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 goo... |
I have a contingent claim and I want to find out what is the best structure to meet the continent claim, how to price it and how to hedge it. I am looking more for a qualitative answer.
Suppose I want to best replicate this claim $H$:
Given a stock $S_t$, $\text{exp} = 1$ (yrs), I need a payoff $H$ in which,
Conditiona... |
I'm trying to get an intuition as to why the adjusted closing price includes a dividend adjustment:
\begin{equation}
1 - \frac{dividend}{close}
\end{equation}
I understand why the adjusted closing price "undoes" the effect of a split on a stock. A stock split hasn't changed the economics of a company so the adjustment ... |
I have 1 year time series data of 300 constituents of the Australian All Ordinaries index (which is composed of 491 firms). The missing firms are mostly smaller firms.
I run the market model $R_{it} = a_i + b_i R_{mt} + e_t$ for $i \in \{1,...,300\}$. Then I take $\textrm{mean}(\hat{b}_i)$ and it's equal to $0.60$.
Is... |
I am looking for a way to take an accumulation/distribution indicator and normalize it
so I can compare a bunch of stocks with stock prices that have no relationship with each other.
EDIT: This would be straightforward on interday data, but the problem is with intraday data: you can't get an intraday normalized volu... |
I am aware of: Encyclopedia of Chart Patterns,
Encyclopedia of Technical Analysis.
Question
I'm wondering if there's something similar, but in the form of:
"Encyclopedia of Statistical Backtesting to see if you're being fooled by randomness" and "Encyclopedia of techniques for generating random forex patterns."
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.