You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Promise using await syntaxconstquotes=awaityahooFinance.historical(options);// Traditional promise syntaxyahooFinance.historical(options).then(quotes=>{console.log(quotes);});
Hope this helps :)
Also if you're just starting out you may want to check out https://github.com/gadicc/node-yahoo-finance2 which is the next version of this library, currently in beta but pretty well tested.
I'm just trying to run the historical example provided on the mainpage and I keep getting this output:
Code:
Output:
What am I missing to get the code running? I've checked the dependencies and they're all functioning
Thank you in advance!
The text was updated successfully, but these errors were encountered: