QuandlFinancialData in QuandlLink package allows us to get financial data in Mathematica from Quandl. Please visit https://www.quandl.com to find out more about all open/free data as well as premium data that can be downloaded from them. The website also contains the limitation on how much data you can download.
It is recommended to sign up for a free Quandl API key to download data from Quandl.
Please go to following link to download QuandlLink package and for the installation instructions:
https://github.com/bajracha71/Quandl-Mathematica-QuandlLink
Some of the Free Data source include:
- US Federal Reserve Data Releases
- US Treasury
- Chicago Mercantile Exchange Futures Data
- EUREX Futures Data
- Google Finance
- Yahoo Finance
Please go to following link to find for complete list of databases available in Quandl:
Examples:
Needs["QuandlLink`"]
In[3]:= dowJones = "YAHOO/INDEX_DJI";
dowJonesData =
QuandlFinancialData[dowJones, startDate -> "2015-05-01",
endDate -> "2015-06-01"]
Out[3]= {{{Date}, {Open, High, Low, Close, Volume,
Adjusted Close}}, {{2015, 5, 1}, {17859.3, 18028.9, 17859.3,
18024.1, 9.17*10^7, 18024.1}}, {{2015, 5, 4}, {18026., 18133.8,
18026., 18070.4, 8.601*10^7, 18070.4}}, {{2015, 5, 5}, {18062.5,
18086., 17905.7, 17928.2, 9.534*10^7, 17928.2}}, {{2015, 5,
6}, {17934.8, 18019.8, 17733.1, 17842., 1.0043*10^8,
17842.}}, {{2015, 5, 7}, {17840.3, 17973.1, 17796.9, 17924.1,
8.092*10^7, 17924.1}}, {{2015, 5, 8}, {17933.6, 18205.2, 17933.6,
18191.1, 9.496*10^7, 18191.1}}, {{2015, 5, 11}, {18187.8, 18200.,
18089.1, 18191.1, 8.605*10^7, 18191.1}}, {{2015, 5, 12}, {18096.2,
18119.2, 17924.8, 18068.2, 8.927*10^7, 18068.2}}, {{2015, 5,
13}, {18070.4, 18132.8, 18039.2, 18060.5, 8.518*10^7,
18060.5}}, {{2015, 5, 14}, {18062.5, 18299.3, 18116.5, 18252.2,
9.158*10^7, 18252.2}}, {{2015, 5, 15}, {18252., 18272.7, 18215.1,
18272.6, 1.0822*10^8, 18272.6}}, {{2015, 5, 18}, {18267.3, 18325.5,
18244.3, 18298.9, 7.908*10^7, 18298.9}}, {{2015, 5, 19}, {18300.5,
18351.4, 18261.4, 18312.4, 8.72*10^7, 18312.4}}, {{2015, 5,
20}, {18315.1, 18350.1, 18272.6, 18285.4, 8.019*10^7,
18285.4}}, {{2015, 5, 21}, {18285.9, 18314.9, 18249.9, 18285.7,
8.427*10^7, 18285.7}}, {{2015, 5, 22}, {18286.9, 18286.9, 18217.1,
18232., 7.889*10^7, 18232.}}, {{2015, 5, 26}, {18229.8, 18229.8,
17990., 18041.5, 1.0944*10^8, 18041.5}}, {{2015, 5, 27}, {18045.1,
18190.4, 18045.1, 18163., 9.64*10^7, 18163.}}, {{2015, 5,
28}, {18154.1, 18154.1, 18066.4, 18126.1, 6.751*10^7,
18126.1}}, {{2015, 5, 29}, {18128.1, 18128.1, 17967.7, 18010.7,
1.3981*10^8, 18010.7}}, {{2015, 6, 1}, {18017.8, 18105.8, 17982.1,
18040.4, 8.564*10^7, 18040.4}}}
Documentation on how to use QuandlFinancialData can be found in the package.
<<QuandlLink`
?QuandlFinancialData