instruction stringlengths 35 27.7k |
|---|
Can someone shed some light on optimal ways to execute medium sized orders ~2000 shares in the market?
Unfortunately the execution algo I have access to is very dumb. It follows the top-of-book price and hence I can see that the algo I am using is getting gamed by some predatory algo. For example, if the spread is 2 c... |
I have a question regarding the proof of the Musiela parametrization for the dynamics of the forward rate curve. If $T$ is the maturity, $\tau=T-t$ is the time to maturity, and $dF(t,T)$ defines the dynamics of the forward rate curve, then the Musiela parametrization defines the forward rate dynamics $$d\bar{F}(t,\tau... |
It is well known that the standard estimator of the covariance matrix can lose the property of being positive-semidefinite if the number of variables (e.g. number of stocks) exceeds the number of observations (e.g. trading days). I think the matrix can become singular. I have a clear idea why (inspired by the geometry ... |
I am trying to find out what Exotics Trade Capture entails. I can't find anything on Google that isn't a job posting, which is where I saw this term.
Say you did this for a living, how would you explain it to someone that didn't know anything about it?
What references on the internet would you point them to find out mo... |
Assume we have two instruments A and B. Also time is increasing from 1 to n. Let's say that A1 is price of instrument A at time 1. Let's assume that A and B are highly correlated instruments. Then we can try to compute TruePrice of stock B from stock A.
Then if Bn is more enough than TruePrice we sell B, and if Bn is l... |
I'm trying to adapt tools from portfolio theory for another use, and I have a question about how I might do so.
Suppose that instead of having normally distributed returns, the return $R_i$ is either, say, 3 or 0. So, $E(R_i)=3P(R_i=3)$.
On the wiki page for Modern Portfolio, it says
Note that the theory uses stand... |
If I understand right, Itô's lemma tells us that for any process $X$ that can be adapted to an underlying standard normal Wiener measure $\mathrm dB_t$, and any twice continuously differentiable function $f$,
$$\mathrm df(X_t) = f'(X_t)\mathrm dX_t + \frac 1 2 f''(X_t)\mathrm d[X_t] ,$$
where $$[X_t]=\lim_{\|\Pi\|\righ... |
I just saw the question How to calculate the most realistic historical option prices with additional publicly available parameters and I am interested in the step before that.
How can I calculate historical ATM option prices for the SP500 using VIX prices and other publicly available data? Can I just use VIX as implied... |
I am trying to get my hands on Entropy Pooling which was introduced by Meucci in this paper.
As an example, assume I want to construct a portfolio with five stocks and I have my view on CVaR.
How can I use Entropy-Pooling method to manage my portfolio?
|
If Libor is found to be fraudulently fixed, are any of the derivative contracts with a floating libor leg still valid?
|
I'm looking at automating the calculation of margin requirements for a portfolio of Eurex markets.
Eurex describe the margin calculations in this document. However, the only tool I can find is a Windows only, UI driven application.
I can go ahead and implement the algorithm as described, but are there other tools used ... |
I have looked at the Variance Swap Papers published by GS-VarSwap and JPM-VarSWap where they talk about approximation to VarSwap strike using ATMF vol and Skew (slope of the volatility skew for 90-110 strikes).
But, I have also come across another 'skew measure' which is defined as
$$
\mathrm{skew} = \frac{\sqrt{T}(\si... |
I am trying to use fundamental factors such as PE, BV, & CFO in a multivariate linear regression with the response variable being the rolling 1 month returns. But this approach seems flawed as the autocorrelation of the residuals is to high and the Durbin Watson test points also to such flaws. What is the best what to ... |
Pricing an IR swap doesn't require any stochastic model but calculation of the PFE for an IR swap would require the Hull White Model or any other stochastic short rate or forward rate model.
Is this statement correct and if so, why?
|
In this portfolio optimization utility (and others), mean return, standard deviation and correlation among assets are required inputs.
http://finance.wharton.upenn.edu/~stambaugh/portopt.html
At the same time, I've seen other portfolio optimizers that start with historical price data and a covariance matrix is calcula... |
I am looking to get a better understanding of an output from a trading strategy. Basically I have a daily equity curve lets call it $Y_t$. I have defined a bunch of independent variables $X_{it}$ that I think can explain the movement in the daily PnL. The independent variables are not used in trading signal generation ... |
Does anyone know how to connect IQFeeds with Matlab. It seems the datafeed toolbox only accepts Reuters, Bloomberg, Yahoo and one or two more. I've been looking all over the place for a Matlab toobox or some code because I'm using IQFeeds. It's weird because on here I've read many posts of people talking about their IQ... |
After years of mathematical finance I am still not satisfied with the idea of a risk premium in the case of stocks.
I agree that (often) there is a premium for long dated bonds, illiquid bonds or bonds with credit risk (which in fact they all have). I can explain this to my grandmother. My question is very much in th... |
I'm currently working with historical index data from Yahoo Finance and would like to plot the GARCH(1,1) volatility of these indexes. I'm working with the Datafeed and Finance Tollboxes in Matlab right now, and I'm able to get the data and plot the indexes. However I'm having some difficulty understanding the followin... |
I was asked yesterday by a colleague why we are doing asset allocation using optimizers which target, for a minimum expected return:
the portfolio with the minimum variance
or
the portfolio with the minimum expected shortfall
and why nobody uses drawdown optimizations.
I do know that the list above is not exhaustiv... |
I am new to corporate finance and I ask myself why an investor is interested in being short an option? He can only can win a premium but he can lose much more. I understand with being a short, I cap the profits on a stock like this:
I think this is a quite theoretical case, right? I'd like to understand the possible ... |
A common and oft repeated belief regarding options volatility is that implied volatility increases due to people bidding up a contract, usually related to anticipation of the outcome of an expected event. After the event, volatility drops because more people are selling the contracts.
But I have noticed contracts with ... |
I'd like to calculate portfolio allocation beta on a portfolio that has different asset classes. The portfolio may be made up of:
Short term bond fund (with beta tied to Barclays U.S. Aggregate Bond Index)
Sector fund 1 (with beta tied to DOW)
SP500 fund (with beta tied to SP500 index)
I understand how to calculate p... |
Are there any methods/techniques that cover distributing cash into a specific percent of a portfolio asset class while gaining the best average price?
As a simple example, a portfolio starts with 100k cash. It eventually disburses its cash into four asset classes. This means 25k goes to purchase assets in each class.... |
I am developing a market-data engine that receives market-data from different futures exchanges. So I need a general format to deal with sources from different exchanges. Protocols like FIX only specifies the transportation but not the format itself. Like which fields should be included, how many fields are there in a ... |
I often hear that column-oriented databases are the best choice method for storing time series data in finance applications. Especially by people selling expensive column-oriented databases.
Yet, at first glance it seems a poor choice. You want to append new ticks, or new bars, at the end (and you need to do this a lot... |
This may not be the most appropriate SE site to ask this question, but I can't seem to find a better place to ask, so here goes:
Do Puttable Bonds' put dates always fall on Coupon Dates? When they do, are the bonds puttable before or after the coupon?
Coupon Schedule. How are coupon payment dates usually calculated? S... |
Is there any common trading system that is implemented by hedge fund, especially for equity or forex automated trading? I know some big names like Sungard and Bloomberg. Is there any other choices which the including API?
|
how would you estimate your order in the exchange order book? The order of order events and acks is not deterministic or guaranteed. How could you write an algo to estimate accurately your position in the order queue? Note that when we send an order to exchange, we get acknowledgement back from exchange, followed by ma... |
What is an efficient data structure to model order book of prices and quantities to ensure:
constant look up
iteration in order of prices
retrieving best bid and ask in constant time
fast quantity updates
|
I'm working on backtesting a number of stock trading strategies and need to estimate how much the execution price will likely deviate from the historical close price for that asset using daily data; which would be used to calculate an optimal position size and estimate probable slippage. Ideal would be a rough equation... |
This may seem like a strange question, but for my particular application we need to actually add synthetic microstructure noise to real time charts. The signal should still be representative of the aggregate market direction.
I expect that a good technique would be something related to signal processing in electronics ... |
I know what the NBBO is but I've seen mention of ABBO and I'm not sure what it means?
|
Is a risk-neutral probability a special case of an invariant measure?
|
I am curious why a lot of market hours are something like 9 to 3 or 9 to 4 pm when there is such demand and so many prop shops and more out there. I know certain markets are continuous trading but a lot of very large famous ones seem to stick to this incredibly short schedule. Why would they do that?
|
Can one deem an FX float-to-float swap and a FX forward equivalent on dates immediately after repricing? The reason I am asking, I am hedging something that can be modeled via an FX forward, I was given an FX basis swap to hedge it. I want to safe myself some work and claim that they are equivalent on repricing days (o... |
During our daily jobs as quants, we tend to be willing to develop all the quantitative libraries ourselves. While I know that we need to develop specific algorithms which are the foundations of our strategies, I believe there are 2 major disadvantages in implementing quantitative libraries (including statistics such as... |
I have it in mind to build a Multilayer Perceptron for predicting financial time series. I understand the algorithm concepts (linear combiner, activation function, etc). But while trying to build the input, hidden and output layers, I'm running into some questions about the basics.
A) I'm confused about the input vs. ... |
I'm trying to create a risk-parity portfolio in C# using the Extreme Optimization routines.
I'm mostly trying them out to see if I like them or not before I buy them (I'm a student so money is tight).
My idea was to implement this new kind of portfolio optimization called risk-parity. It basically says that in order to... |
Let $X_t$ be an american style financial derivative with random exercise time $T$
where $t$ and $T$ belongs to some finite set $A$.
Buying this derivative requires the buyer to pay $p_t$ up to time $T$.
Let $\Omega$ be the sample space of $X_t$, $p=(p_t)_{t \in A}$ the price process
and $B={\left(C^A \right)}^\Omega$ t... |
An observation in capital markets is that the connection between return and risk (measured as volatility) is not that straightforward (at least not as modern portfolio theory assumes). One interesting instance is the so called low-volatility anomaly:
It turns out empirically that stocks that exhibit low volatility show... |
I have been confused about many things concerning the princing of securities with collateral.
We can prove that today's price of a security( fully collateralized and within the same currency) is the expectation under the risk neutral measure of the discounted(with the collateral rate) payoff. This first application of... |
What is the relationship between the axioms of Artzner et al (1999) for coherent risk measures and the axioms of von Neumann-Morgenstern (1944) for the expected utility theory?
|
I apologise for being brief, but I don't understand how is Euler equation used in the Ramsey growth model. I am reading a textbook "Dynamic General Equilibrium Modeling" and there is mentioned about it.
I am modeling the Ramsey model using the Kuhn-Tucker theorem, and I have a set of first-order conditions. I think thi... |
A new Danish hedge fund has received quite a large amount of attention in the last month or so. They are launching a new investment fund that uses proprietary AI to select stocks to invest in. They claim to on the forefront of this. However, looking a bit on what research exists, it seems as if it is not as cutting-edg... |
I'm doing some work for a company and one of my tasks is to research credit default swaps on banks and to write a page about them explaining what they are and how they're used to evaluate the banks' credit-worthiness.
After doing a bit of research on them I have a few questions:
What are the terms of a standard CDS co... |
Maybe more of a programming question,
Is there a Ruby gem to facilitate conversion of an option symbol notation from one form to another?
For example, one source provides TZA1220J18
but an API for a brokerage strictly goes by TZA^^^121020C00018000
whose description is TZA Oct12 18 Call
If I figure out how to do this i... |
Assuming that I performed a multivariate regression and I found a set of $k$ coefficients $\alpha_1, ..., \alpha_k$ for each of the factors $F_1, ... F_k$. I have then computed the following relationship:
$$y_t = \sum_{i=1}^k \alpha_i F_{i,t} + \epsilon_t$$
So far, I only looked at this equation to understand where the... |
Say I have a limited sample, a month of daily returns, and I want to estimate the 99.5th percentile of the distribution of absolute daily returns.
Because the estimate will require extrapolation, I will need to make a distributional assumption. Is there a standard approach to take here if I want to include the higher k... |
Currently, the federal reserve interest rate is 0-0.25%, and the inflation is 2-3%. Does this contradict the no-arbitrage principle? (The arbitrage being: borrow money at 0.25% and invest it in the "basket of goods" or other non-inflating assets). Essentially, the borrower gets paid to hold assets. Why?
|
I am looking to evaluate the hypothetical advantage one trading system has over another in terms of the possible returns given their latency.
Irene Aldridge wrote a piece (How Profitable Are High-Frequency Trading Strategies?) which describes how to relate holding time to Sharpe ratio, although her approach seems somew... |
I would like to get and idea of how people use GPUs in finance.
I can find some specific papers or books on the subject.
GPUs in binomial model, finite difference, monte carlo,...
But I couldn't find any recent survey papers.
Do you know some recent survey paper?
Or any kind of reference which try to gives a birdview o... |
I am following an article by Mohamed Elsaiid (MFTA) about Volatility-Based Envelopes - a quite new technical indicator he has introduced, that is being used by Bloomberg. My goal is to get a simple and accurate formula to use.
I have encountered a few issues while trying to formalize the ideas presented in the article.... |
Possible Duplicate:
How much data is needed to validate a short-horizon trading strategy?
Suppose I have daily returns for a trading strategy against one month of data. Before starting trading on small quantities or buying further data, I would like to understand the worth of any such action. I am basically looking ... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.