pilwon / node-yahoo-finance

Yahoo Finance historical quotes and snapshot data downloader written in Node.js
491 stars 123 forks source link

Is it possible to get ETFs historical data? #26

Closed lucasprag closed 6 years ago

lucasprag commented 7 years ago

Hi. Nice lib!

I wonder if is it possible to get historical data of ETFs.

This is an example of ETF: ´SMAL11´.

http://finance.yahoo.com/quote/SMAL11.SA/?p=SMAL11.SA

I tried something like that:

yahooFinance.historical({
  symbols: ['SMAL11'],
  from: '2016-01-01',
  to: '2016-12-31',
  period: 'w'
}, function (err, result) {
});

Thank you =)

lucasprag commented 6 years ago

I don't think so, thanks