node-yahoo-finance
node-yahoo-finance copied to clipboard
Multi-Symbol not working
ProjectF/node_modules/yahoo-finance/lib/historical.js:28 throw new Error('"options.symbol" must be a non-empty string.'); ^
Error: "options.symbol" must be a non-empty string.
you need to pass in an array. await yahooFinance.historical({ symbols: ['tsla', 'aapl'], from: prevDate.toISOString().slice(0, 10), to: estDateNow.toISOString().slice(0, 10) })