Created
November 8, 2015 04:54
-
-
Save zvineyard/100f9452409f9430f84f to your computer and use it in GitHub Desktop.
A list of methods to use in the yahoo-finance-api php library.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
getHistoricalData($symbol, $startDate, $endDate); // Returns json object of basic historical data | |
getHistoricalData( 'IDA', date('Y-m-d', strtotime('-14 days')), date('Y-m-d',time()) ); | |
getQuotes($symbols); // Returns json object with comprehensive trade info for each stock | |
getQuotes(array('AAPL', 'GOOG')); | |
getQuotesList($symbols); // Returns a summarized view of getQuotes | |
getQuotesList(array('AAPL', 'GOOG')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment