I'm currently attempting to implement an algorithm that I optimized in Matlab, using minute pricing data I purchased from QuantQuote. I can't seem to match results, not even close. Both QuantQuote and Quantopian's data is adjusted for splits and dividends, but there is a major difference in price. Regardless, the problem I'm having, if you pull the data from two dates at the same time, my matlab simulation always appears to make a different profit than the Quantopian data.
For example for XOM, (minute based close data)
QuantQuote:
20110210 930 - 68.58
20110211 930 - 69.184
profit/share - .604
Just for reference, give than the first data set in Quantopian starts at 931
20110210 931 - 68.7478
20110211 931 -69.3182
profit/share - .5704
Quantopian
2011-02-10 14:31:00+00:00 - 81.75
2011-02-11 14:31:00+00:00 - 82.47
profit/share - .72
(There appears to be a time zone error, I'm just using the first line)
When implementing my algorithm on each data set, the QuantQuote data yields on average double the profit from a simple 24 hour buy/sell. Given that the profits are small, the errors build up quickly.
(No prices are adjusted for slippage in either algorithm)
Why isn't the raw data matching?