Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Using DAX as a leading indicator for S&P

Hi,
I work in a fund house where we have always looked at DAX as a leading indicator on how the S&P would open. We dont trade on this but I thought it would be worthwhile to see if someone who knows how to code could look it up. We could use a simple MA crossover on DAX to enter long or short on S&P. In my work exp. I have notice the move is usually persistent for 2-3 days at most,
Would be great if someone would do the coding if possible. I am slowly learning to code so I can contribute in future.
This is my first day here and I have already learnt many new stuff.
John

2 responses

As further evidence, I did a simple excel model where I compared the daily change of DAX with that of S&P (you might argue the opening price of S&P might affect DAX closing price but we will ignore this reasoning - something that can only be explored using time stamped tick data).

I wanted to see how many days S&P500 closed in positive or negative when DAX on that day closed in positive or negative i.e. daily trend.
Remarkably, since 1 Jan 2010 till 5 July 2013, The DAX daily close gain or loss was 75% accurate in predicting whether the S&P 500 close would be gain or loss. That is a pretty close deal. Which is why I am interested to see what the cross asset MA crossover model does in predicting S&P 500 trend. I am not a programmer so I am struggling to implement this simple idea and would appreciate if anyone could help in this regard. I would be sharing more similar hedge fund ideas going forward. Thanks, John

Hello John,

I don't think Quantopian has DAX prices. I suggest having a look at Fetcher (https://www.quantopian.com/help#overview-fetcher), which allows import of data to be used in a trading algorithm.

Regarding programming, here's a list of resources: https://www.quantopian.com/posts/learning-python.

Grant