instruction stringlengths 35 27.7k |
|---|
There is a paper by Dragulescu and Yakovenko (DY) in 2002 proposing a pdf for the stock returns in the Heston model. However, in a paper by Daniel, Bree and Joseph, they actually perform statistical tests on DY's pdf and show it is not really any better than a log normal pdf.
Is anyone aware of more recent attempts at... |
If I am long a stock $X$ which I purchased at $\$100$ and sold a covered call in the front month with strike $\$105$ for $\$2$ then is it true that the covered call is equivalent to a naked put at strike $\$100 - \$2 = \$98$?
Am I missing something here?
|
You are given a $5\%$ call option worth $\$2.66$. The strike price $k$ is $\$41.00$. $S(0)=40$, $Sd=35$ (i.e the lower price of the stock at $t=1$) find $Su$ (i.e the high price of the stock at $t=1$).
How would this be done? I know $Cu=Su-\$41$, $C(0)=\$2.66$ and I have something written in my notes that $c(0)= B/(1+r... |
I couldn't find a book that explains in details how to use Monte Carlo Simulation to generate a number of interest rate scenarios. And then based on the interest rate scenarios, how to calculate the OAS to account for embedded options in the bond. I understand the basic idea but I expect to master every detail in this ... |
Can someone help explain how differentiating the following with respect to $x$:
$$ \frac{1}{2} \alpha \mathbf{x}^T \Sigma \mathbf{x} + (\mathbf{\mu} - R\mathbf{1})\mathbf{x} $$
Yields the following:
$$ \alpha \Sigma \mathbf{x} + (\mathbf{\mu} - R\mathbf{1}) $$
Where $\Sigma$ is a correlation matrix.
I'm rusty with my l... |
I'm recently reading a research paper on the yield curve by Salomon brothers and in it it states that when the forward curve is above the par yield curve, it is seen as cheaper. If for example, the years 9-12 of the forward rate curve lie above the par yield curve with the forward 12 year rate above the 9 year rate as ... |
I have a portfolio of stocks and all I want to do is to make sure that I'm not trading one big position, so I would like to monitor some type of metric that gives me a rough idea of what the overall correlation in the portfolio is and how it is changing day to day thru movement in prices. I want to get it down to one n... |
I guess the price of a Zero-Coupon Bond with infinite maturity should go to zero, what about its yield?
I am asking this because I was dealing with the yield curve and its asymptotic properties when $t\to\infty$
|
Let us say that there was a stock trading at 100 and the 105 call was trading at 3 $. with 1 month to go
Now stock went up to 104 after 15 days, and the call dropped to 2.80 $, to the call buyer's dismay.
Now, I understand that this 20 cent drop is partly due to theta decay and partly due to fall in IV that corresponds... |
If an option A has higher vega than option B, does that also mean that A has a higher IV than B?
I understand that by definition, a higher vega means that A's price is more sensitive to its IV than B.
But can we conclude that A has higher IV than B also?
|
I have seen this strategy example, which uses garch in a regime switching context:
https://systematicinvestor.wordpress.com/2012/01/06/trading-using-garch-volatility-forecast/
The author classifies volatility by percentile using a 252 day look back period. Volatility is defined as the standard deviation of the past 21 ... |
I am trying to fit an ARMA/GARCH model to a time series. I found that the best candidate is an ARMA(1,0) + GARCH(1,1) with gaussian white noise
It has coefficients with p-values near cero and the residuals are white noise. The problem is that the Jarque Bera Test says the residuals are not normal. The QQ normal plot ... |
Does anyone know where to find an example of implementing Engle-Granger 2-step cointegration?
Python's ideal, but any language will do.
I've skimmed and read many articles, but understand little about the abstract terms.
Seeing an implementation would not only solve my practical problem, but help me understand what the... |
Can I value the equity leg of an equity swap using the projected forward equity returns?
In other words, for a sequence of times $t_{0}<t_{1}<\ldots<t_{n}$, where $t_{0}$ begins a brand new calculation period and $t_{n}$ is the maturity of the contract, do we have (assuming the payment frequency is the same as the calc... |
I have been looking for a good reference where I can find how technical indicators of stock market analysis are calculated. I have a dataset (time series) which I want to extract these indicators to apply into another program but I can't find a good reference of who they are calculated. For sample, I would like to see ... |
Sometimes, I find an option where the total time value of the option may be 5 cents(rest is intrinsic value) and there are about 15 days to expiry and theta is .08 (8 cents).
How is this possible. If it is decaying 8 cents a day, then in 15 days, it will lose 120 cents of time premium( and that is assuming a linear tim... |
Let us say I bough a call calendar spread. Now, at expiry of the short option, the underlying has decreased significantly, and I am approaching my max loss(i.e both the options are close to 0).
In this situation, what should I do to mitigate risk/hedge my position? Except for closing it for a loss and except for rollin... |
Im just about to begin the programming aspect of my education towards being a Quant. I know what languages are currently being used and how popular they are. However, I have several good friends getting their masters in computer science and related engineering degrees who tell me that C++ and similar languages are sure... |
Does anyone how banks determine the spread over LIBOR on a Equity Swap?
Example:
Party A pays the return on SPTR to Party B
Party B pays 1M LIBOR + 40 bps to Party A
Does anyone know how the 40 bps spread would be determined?
Thank you!
|
I am a newbie. Please help me understand how to resolve the exercise 2.2 from the book "The concept and practice of Mathematical Finance". The solution from the book says that our super-replicating portfolio will be $\alpha$ shares and $\beta$ bonds. It must dominate at zero. This implies that $\beta$ >= 0.
First of a... |
Why do back months options have a higher vega than front month options?
If possible , kindly explain on an intuitive level without a lot of math.
|
Is there evidence that automated trading is profitable on the latency-enforced portion of the exchange?
On the one hand, if automated trading was profitable when these limits existed naturally, it should be profitable, but on the other hand, if modern hardware is too expensive and older hardware too obsolete, costs may... |
I do not have a source for this (apologies), but sometimes, I hear about option traders initiating a vertical spread(short) and then converting that call spread to a butterfly spread to mitigate risk.
I understand the different legs of a butterfly, but it is not obvious to me how morphing a vertical call spread to a b... |
If I buy a call calendar spread, and the underlying increases, both options are in the money by the expiry of the short call.
So both options increase in value, but the short one increases less because it has more time decay.
So, if I bought the calendar at the money, and the underlying increases 10$, do I lose my enti... |
Given a wealth process that evolves as
$$d w_t = r w_t dt + \theta_t ( \sigma dW_t + (\mu-r) dt) - c_t dt.$$
where $\theta_t$ is the worth of holding at time $t$ and $c_t$ is the consumption stream.
Also, we define smooth functions $u,F: [0, +\infty) \rightarrow \mathbb{R}$.
How can we optimise the following:
$$V(w) =... |
I'm wondering if there is some standard in the industry about the version of the linux kernel of a computer to run a market data engine on it. (market data engine = connect to brokers, subscribe to assets and forward the data to black box.)
Is it preferable to have:
a soft real time kernel
a hard real time kernel
a g... |
This question is about something observed hands on data that makes me a little confused.
Consider the term structure of futures on VIX of Monday, December 27, 2010. You can find it at the CFE market statistics webpage.
This day is the first day in which the recently issued contract Q (Aug 11) - introduced on Tuesday, D... |
Suppose that we have a portfolio of $n$ assets.
A perfectly diversified portfolio is one in which each asset has equal weights, i.e. each asset has weight $\frac{1}{n}$. Of course this is usually not the case.
What are some of the ways we can measure how well diversified our portfolio is?
We could measure how far our p... |
What is the usual method of dealing with many uncertain mean returns in portfolio optimization?
For example say you have a 3 asset portfolio with assets A, B and C. All the correlations and variances are the same.
You can't reject the null that the assets have the same mean return for (A and B) and (B and C), but you ... |
For a basket, the realized volatility can be calculated using:
$$\sqrt{\sigma_1^2 + \sigma_2^2 + 2 \sigma_1 \sigma_2 \rho}$$
If I have the volatility surface of two underlyings S1,S2 (strike space).
And for each point I calculate the vols using above formula, how accurate is the approximation? I can extend this to mult... |
Suppose I have an amount $T$ to invest and $N$ available assets.
The stochastic return per invested unit of asset $i$ is $R_i$.
The variance and the expectation of $R_i$ are $\sigma^2_i$ and $\mu_i$ for $i=1,...,N$ (different across $i$).
The returns are independent across $i$.
Consider the assets with $\mu_i>s$. L... |
I'm wondering if some of you known how to resolve this requirement:
I have to define the architecture of an algorithmic trading system (but I'm not an architect, so I'm trying to do my best). I have defined an initial architecture, but just now I'm stuck at the data feed handler component.
I mean, the system will recei... |
Intuitively one would think that investing equal amounts in an ETF such as TLT and an short ETF such as TBF (with some factor for the interest rate payout of the long fund) should result in a interest rate neutral strategy.
However, this does not work out in a back test. What am I missing out?
|
Assume that:
- The underlying is at 100
- The implied volatility of ATM call/put is 30%.
Then, is it correct that expected 1-standard-deviation move over the next month is calculated as:
$$100 * 30\% \cdot \sqrt\frac{30}{252} = 10.35 ~ \text{points}$$
I am confused as to whether I should be taking the square root or no... |
I've been reading into how Betterment and Wealthfront have architected their tax loss harvesting algorithms, but they stop short of providing any real examples.
Essentially, they both reduce to:
Benefit – Cost ≥ Threshold
They differ in how they define each term, however. Threshold is proprietary and the result of Mon... |
Does anyone know how to estimate $A$, $\sigma_1$,$\sigma_2$ from the following system?
$$dx = \mu_t x dt + \sigma_1 x dB_x$$
$$d\mu = A(\bar\mu - \mu) dt + \sigma_2 dB_\mu$$
Variation in $x$ could be either attributed to variation in $\mu$, or variation in $dB_x$, right?
Suppose I know $\bar \mu$, but need to estimate ... |
I would like to conduct a study testing the 5 factor CAPM, using UK stocks.
Does anyone have any suggestions of how I can do this?
Could this task be as simple as regressing average returns for a stock with its different factors?
I'd be grateful for any specific pointers/articles or books I can read!
|
Please note: I have already checked your standard "Historical data sources" link, but it does not have the data I need:
I am looking for 5 years of libor/swap data for major currencies. Daily, or even better hourly.
Is this available anywhere?
An example of what I would like is: Bloomberg ADSW2 CMPL Curncy.
Is there ... |
How would you calculate global exposure for FX swaps using the commitment approach? In particular, would you take into account both legs?
CESR guidelines (CESR/10-788) defines that the exposure for currency swaps is calculated based on the "Notional value of currency leg(s)". Is your understanding that both legs (spot... |
I have 2 questions that probably are related.
Suppose there is an IRS that pays a 2% fixed rate every 6 months and receives the Libor 3 months (but paid every 6 months).
The swap starts today (March 5th) so the first payment is on Sept 5th (in 6 months).
But the Libor is a 3 months rate in this case so the fixing sho... |
I see a lot of theorems related to tradable assets in quantitative finance text books.
What is a tradable asset? What does 'tradable' mean exactly? Does it simply mean the asset can be bought and sold in the market? Any example of non-tradable asset?
|
I am interested in strategy simulation at different frequencies (high frequency and daily frequency) and I want to compute the optimal frequency of execution.
To do this, I need to obtain realistic historical transaction costs from 1987 onward.
Does anyone know where one might obtain such a database?
|
When I download historical data from yahoo finance, only the closing price is adjusted for dividends/splits.
Is there a way of figuring out the factor by which lets say the highs/lows have to be multiplied in order to adjust them for splits/dividends?
|
I am analyzing portfolio protection by replication of a put.
Having my portfolio with value $V$ I could buy put giving me the payoff $P$ resulting in a call like pay-off scenario $C=V+P$.
Say, I don't want to buy the put but replicate it by taking positions according to the Delta.
I know there are problems involved:
B... |
I am trying to find references (books, papers, etc.) for calculating $\mathbb E f(X_T)$, where $X_T$ is a diffusion and $f$ is a real function that is not continuous, by means of solving a PDE or Feynman-Kac equation.
Edit adressing the comments: Even if the PDE has a solution it can only be shown to equal the expecta... |
As an amateur trader, I have reasonable success with my current end-of-day trading systems.
All my systems are based on at least ONE year of "in-sample" data for backtesting, followed by 6-months of "out-of-sample" data.
So my question is: Could I take TWO years of "in-sample" data, but ignore any data for periods in ... |
Is there such a thing as an American butterfly spread?
For a European butterfly spread simply buying 1 put with strike price X+a, 1 put with strike price X-a and shorting 2 calls with strike price X, all with the same expiration date, would give you a butterfly spread.
However if we now do the same with american option... |
I am newbie in fix protocol. I would like to know how I can work with bars (candles) in the fix protocol? I mean subscription to bars from client-side and what type of message I can use to send bars from server to the client? I tried to find a suitable message on http://fixwiki.org/fixwiki/Category:Message
but unfortun... |
I am looking for a procedure to compute an exponential weighting of returns given a half life parameter.
I ran accross a wikipedia article, can I take it unchanged an assume N(t) is the return at time t ?
|
In Derman/Kani/Zou paper about local vol they rebuilt a local vol surface from an implied vol surface.
Each implied volatility depicted in the surface of the "implied Vol" is the
Black-Scholes implied volatility. Bascially the volatility you have to enter
into the Black-Scholes formula to have its theoretical option va... |
In this paper Gatheral presents the following parametrization of the implied total variance $w(k,T) = \sigma_{BS}(k,T)^2T$ for each slice $k \mapsto w(k,T)$:
$$ w(k) = a + b\{\rho (k-m) + \sqrt{(k-m)^2 + \sigma^2} \}.$$
As far as I understand it, for each expiry $T$ one will have to calibrate a set of five parameters $... |
I'm interested in papers which consider mathematical models of risks of different portfolios of retail credit. This is not my area of research, so I may be misusing some terms. The idea is simple: I have different sets of credit portfolios with aggregate information known (no personal level detail of each borrower) and... |
I am having trouble understanding the transition from the third line to the fourth line.
I see how it works through cases, but is there a general property that allows this?
|
Konno proposed a LP method for portfolio optimization using the Mean Absolute Deviation (MAD)
|
In this question a paper about mean absolute deviation portfolio optimization is mentioned and in the answer a spreadsheet with an implementation is attached.
What is the use of this procedure? Does it produce sparse portfolios (it says something about the number of zeros)? Does it give better results than mean-varianc... |
I'm trying to understand how important the limit order today for NYSE, NASDAQ, Euronext and LSE.
For example, when we talk about the volume traded during the day, what share of that volume has been traded through the limit order book in those exchanges?
I googled some papers, but the situation seems to change and be di... |
I was reading some slides on high frequency data and i came across these statements:
data discreetness induces high degree of kurtosis
and
Non synchronous trading and risk premium are sources (spurious) of serial correlation
Does anyone have any comments that can enlighten my understanding ?
|
I'm working on a project that will fetch data from Google Finance and Reuters.
In order to avoid keeping two separate lists of stock symbols, I'm looking for some kind of conversion or database or API or anything already built. Something similar to this question
For example, for company "REN - Rede Electrica Nacional",... |
I have come across different ways expected shortfall is defined. e.g.
$$ES_a(X)=\frac{1}{1-a}\int_a^1VaR_b(X)db$$
and
$$ES_a(X)=\frac{1}{a}\int_0^aVaR_b(X)db$$
e.g. on Wikipedia's article.
Are these different?
$VaR$ itself is somewhere defined as simply the quantile and somewhere as negative of quantile.
Could you shed... |
In my project, we have two version of systems. One version is for derivative trades and other version is for bond trades.For derivatives we get the market data from Reuters and for Bonds we are getting the data from Bloomberg.
Currently we are planning to upgrade both version systems and migrate to a single version.
I... |
I am wondering if there is any website that provides relative price strength as is defined in CAN SLIM stock picking methodology.
For the CAN SLIM difinition I am looking at this article:
http://www.investopedia.com/university/stockpicking/stockpicking7.asp
I searched the Internet and found a suggestion to use barchart... |
Probably a naive question. I am quoting this from Greene's econometrics book:
"The occasional statement that the properties of the MLE are only optimal in large samples is not true, however. It can be shown that when sampling is from an exponential family of distributions, there will exist sufficient statistics. If so,... |
Does anyone know where to get historical, daily net asset values for closed end funds from the date of inception to the present? Yahoo finance has daily opening, high, low, closing values, but no NAV that I'm aware of through their YQL service (querying yahoo.finance.historicaldata).
At a minimum, I would like to know... |
I know that the difference between the GARCH and the Heston model is volatility vs variance in the stochastic part of the volatility sde. However,from my solutions, there is only ever a 2 - 10 cent difference at most in most evaluations of the different models. Therefore why is heston more commonly used than GARCH and ... |
Im an undergrad student trying to become more familiar with how HFT works. In specific, I was wondering what kind of hardware they use and how each piece contributes to the system. I've been led to believe FPGAs play a big role in the architecture and was wondering what exactly they are used for in the system.
Thanks!
|
I'd like to build a portfolio based upon modern portfolio theory and I'd like to find a tool I can use to calculate the proper mix of asset classes. Can anyone help with this? I think a good chart/graph showing stocks, bonds, oil, etc. along the efficient frontier would suffice as well.
|
Consider the following theorem from p. 31 of Steven Roman's "Introduction to the Mathematics of Finance Arbitrage and Option Pricing" (Undergraduate Texts in Mathematics, 2012), giving the forward price of a forward contract.
The theorem is a conditional: IF the market is perfect and has no arbitrage AND IF $F$ is a f... |
What is the common criteria used to count a quote or trade in reference to the quote/trade ratio?
Criteria:
If it beats the best bid or offer.
If it adds size to the best bid or offer.
What if the best bid or offer is removed? Does this count or not?
There may be some other criteria I am missing - please do include ... |
When evaluating the performance of an algorithm, what should hold more importance? Sharpe Ratio , Net profit or max drawdown?
For instance, I have two algorithms one performs very good on Stocks with high rate of return like AAPL, FB but the second one that predominantly gives low profit but slightly higher sharpe rati... |
Suppose you have a lease agreement where the functional/domestic currency is RUB and the currency on which the lease is written USD. Let $S$ be the USD/RUB exchange rate (# of rubles per 1 dollar). The lessee pays $NS_{t}$ RUB at each time $t$ the lease payment is due, where $N$ is some fixed amounts in USD. This ex... |
I am looking for a book which teaches mathematical topics which are relevant to master quantitative finance and statistics.
Please note, I do not mean a book which would explain how math is applied to solve problems in quantitative finance and statistics but rather a book which would teach mathematical toolkit (linear... |
I recently appeared in an interview for a quant research post in a trading company. As part of the interview, I was given a home-task to solve in a week. The inerviewer gave me a dataset consisting of high-frequency price, volume data for five stocks over a duration of four months and asked me to forecast volatilities ... |
Can someone provide me with a robust way of calculating the future time value of an option or point in the direction? I have been reading a lot about the factors that affect it and about betas and deltas but i am yet to come upon a reliable way of calculating the future time value of an option.
PS: not asking for a pre... |
Is there a closed form solution of the following price formula? Assuming $dS_t=rSdt+\sigma S_t dW_t$ under the Q dynamics
$e^{-r(T-t)}\mathbb{E}_t^\mathcal{Q}[(\frac{(\int_0^T S_u du)}{T})^2]$
I know that the integral of a geometric brownian motion has no nice distribution, but is it the same with the square of the int... |
When people say "yield curve", do they mean yield/time curve, or yield/price curve?
It seems that most of the time, people refer to yield/time curve, as wikipedia suggests. Though sometimes, people seem to use this term referring to yield/price curve, often when talking about the convexity, like here in investopedia.
... |
I am looking for a (free) list of hedgefunds with their strategies. I have found Barron's top 100 online but am having trouble finding a longer list. Any ideas of where to look?
|
I have been thinking very hard about properly pricing volatility. Outside of naive AR,ARCH,GARCH forecasting model which employs past data to forecast future vol, how does one "fundamentally" value volatility??? The key word here is "fundamentally".
In other worlds of insurance (health insurance, car insurance, etc.) ... |
I am graduating with a BS in math and obviously love math but everything changed when a buddy of mine invited me to an investment society in our school and I love every single experience. The part I love the most is when when we are researching companies to add to our groups portfolio. So what I am saying is, I found ... |
I want to ask a question with reference to a paper from below link
http://www.cmpr.co.kr/asset/research_material/implementing_interest_rate_models.pdf
Minimization specified in Page 14:
Mean reversion rate and diffusion comes out same for all tenors?
In other words, can I state calibration is done to derive one "mean... |
Consider a mean-variance investor in a world with a risk-free asset.
Let $R_f>0$ be the return of the risk-free asset, $\mathbb{E}(R_i)>R_f$ the expected return of the risky asset $i$ and $SD(R_i)$ the standard deviation of the return of the risky asset $i$ for $i=1,...,N$.
Let $V$ be the variance-covariance matrix o... |
I have a trading strategy that uses the Fama and French 3 Factor data. It's provided on French's website up until the previous month or so.
And indeed, this is a great source of data. The only problem is: it is not real time (as previous posts have discussed)
Obviously the market factor is easy to get a real time proxy... |
I am trying to grasp QLNet (C# version of Quantlib, all the functions of Quantlib have the same name and work the same way, so if you just know Quantlib, you can still help me), especially for pricing bonds. So I dug into the official examples, downloaded in the same time than the QLNet dll. The example called "Bonds" ... |
How does the answer to this question Risk minimization by investing in all assets with positive expected return change if assets can be positively correlated (but not perfectly) and short sales are not allowed?
What if instead short sales are allowed and assets are positively correlated?
|
I'm using various matrices to impute a fitted transition matrix for credit ratings by solving for a variable [S]. Essentially the idea is to determine a base matrix and stress matrix to compare to a single point of time [t1] to create a fitted transition matrix [t1 fitted]. With the data below, [t1 fitted] and [t1 vari... |
I'm working on a project, and I have to use the cumulative and conditional expected value of the variations of a stock following a Geometric Brownian Motion.
I know that the cumulative is as follows :
$$ \mathbb{E}\left[ \mathbb{1}_{ \frac{S_{i+1}}{S_{i}} < z}\right] = \mathbb{P} \left[ \frac{S_{i+1}}{S_{i}} < z \right... |
there is any calibration method to calculate FX forward rate? How Bloomberg define FX forward rate
|
I have learnt how to compute par yields in class, but I am not certain when knowing this would be of use and by Professor himself said it's a somewhat useless concept. What is the use of computing the par yield? Where does the concept come from and where is it applied?
|
The CDS market seems to be drying up, funding&liquidity issues are now prevalent over credit, so other sources for default probabilities are needed.
What else is commonly used to obtain a default term structure? ASW spreads/credit OAS? ASW + early termination + repo?
|
Going by intuition, a forward price should already take into account the drift in the underlying price process. Further, assuming interest rates are deterministic, the stochasticity in the forward price process comes solely from the underlying price process. That much I can intuitively accept. But what about the dri... |
I want to algorithmically add a new investment to an existing portfolio. The decision should be based on a low correlation to the existing assets.
E. g. the following situation
The portfolio already contains 5 stocks: A1 ... A5
My trading system generates 3 buy signals for new investments that aren’t in the portfolio ... |
I'm confused on modeling the second pass regression given the beta's from the first pass.
First-pass regression :
$r_{it} - r_{ft} = a_{i}+b_{i}(r_{Mt}-r_{ft})+e_{it}$
For estimating this model (9 diff models), I regressed the annual returns for different stocks on the index variable and obtained 9 different betas.
S... |
From my reading, passive portfoliomanagement means to replicate an index, active portfoliomanagement means to deviate from an index.
Does that mean that e.g. rules-based investing is actually an active investment approach?
I wrote on an exam, that passive means to follow a certain rule, while active trading means to dy... |
I'm working on high frequency trading in the Chinese Futures market and I've been having a bit of trouble with getting orders to go through due to the lack of liquidity and large fluctuations. To tackle this problem, I was thinking about working out a model to somewhat predict the next price tick so that I can send my ... |
I'm reading about Markov pricing kernels in the lecture notes of a course I'm following, but I have a big doubt on an application of Ito's lemma.
The setting is the following:
We define the pricing kernel as
$$ \xi_t = \xi(D_t,y_t,t) = e^{\int_0^t \delta(D_s,y_s)ds} T(D_t,y_t), \qquad \xi_0=1 $$
where $D$ and $y$ are I... |
Assume that the evolution of a stock price is geometric Brownian Motion
$$
dS=\mu Sdt+\sigma SdW(t)
$$
where $S$ is the stock price at time $t$ (current time). It says
in my book that "under the risk-neutral probability measure, the
drift of stock price $\mu$ becomes the risk-free interest rate $r$"
and it writes
$$
dS... |
I am trying to download data from Interactive Broker using the code below and I am able to create the connection with the Trader Work Station (I get a "True" after con.connect()) but there is no output, i.e. the dataDownload variable becomes empty.
Anyone know why this can be?
# Adapted from: http://godelsmarket.blogsp... |
I have seen this post : Central Index Key (CIK) of all traded stocks
But I would like to download the CIKs only for NASDAQ stocks, NYSE stocks etc. I searched online but only managed to find CIKs for Dow Jones and S&P 500.
Any ideas where to get these CIKs ?
Thanks
|
Suppose I'm given two assets, $x_0$, $x_1$ and the stochastic discount factor m. How do I find $m_p$, then use it to compute Sharpe($R_p$)?
Any help is greatly appreciated.
|
I'm building a low frequency US equity stat arb system. On any given day the system is long ~100 stocks and short ~100 stocks. It trades once a day at the open, and on average 4/5 of the portfolio gets replaced each day.
I am using the formula on page 21 of http://www.courant.nyu.edu/~almgren/papers/costestim.pdf as my... |
i'm writing an python application that uses fxcm's xml feed. here is the link
http://rates.fxcm.com/RatesXML
does anyone know if there are limits on how many times you can access this data? right now i update the application every 5 seconds. however i am anticipating about 50 or so users will be using it when its ready... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.