8000 Added Quantquote data by jphme · Pull Request #4 · tuckerbalch/QSTK · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added Quantquote data #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added Quantquote data #4

wants to merge 2 commits into from

Conversation

jphme
Copy link
@jphme jphme commented Nov 22, 2012

Added support for free high quality daily S&P500 data from Quantquote to Data.Access.py .

Original Thread at Coursera CI Forums:
https://class.coursera.org/compinvesting1-2012-001/forum/thread?thread_id=4999


copy/paste:

After trying out QSTK and building some indicators etc. i quickly noticed that the Yahoo data is nice to try some features out but not reliable enough to build strategies on it - there are many gaps, unfiltered spikes and simply wrong prices in it.

After some searching on the web I found Quantquote - they provide high quality daily S&P500 data for free! (The only caveat is that it´s only updated quarterly - however for backtesting the data is just fine).

The Quantquote data comes fully adjusted (but with all adjustments fully documented) and additionally includes "earnings days" which is valuable for backtesting reasons, because stocks often behave differently on these days.

How to get the data into QSTK

Get the Quantquote data here ( https://quantquote.com/historical-stock-data - Free Data) and place the .csv files into /QSTK/QUSData/Quantquote .
Change DataAccess.py in /QSTK/qstkutil to the new version (you can just copy+paste the whole file).
Additional remarks

Use via DataAccess('Quantquote')
Available data columns: open, high, low, close, volume, splits, earnings, dividends
Please note: actual_close is available too but identical to close (because the whole data is adjusted already), i kept it in to make switching between Yahoo and Quantquote data easier and consistent.
You can find detailed information on the adjustment and earnings data (and how to deadjust) here ( https://quantquote.com/docs/QuantQuote_Minute.pdf ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0