nasdaq-earnings
v1.0.0
Published
Check Nasdaq's earnings calendar and report status
Downloads
15
Maintainers
Readme
nasdaq-earnings
Check Nasdaq's earnings calendar on a given date
install
npm install nasdaq-earnings
usage
const nasdaq = require('nasdaq-earnings');
// current date
nasdaq.getCalendar().then(companies => {
console.log(companies);
});
// date as strings
nasdaq.getCalendar('2018-Jun-04').then(companies => {
console.log(companies);
});
// date as Date objects
nasdaq.getCalendar(new Date()).then(companies => {
console.log(companies);
});
data format
[
{
"preMarket": false,
"name": "Ascena Retail Group, Inc.",
"symbol": "ASNA",
"market_cap": "$639.59M",
"eps": -0.09,
"estimates": 2
},
{
"preMarket": true,
"name": "Capital Southwest Corporation",
"symbol": "CSWC",
"market_cap": "$275.18M",
"eps": 0.27,
"estimates": 1
},
//...
]