Skip to content

Fetches currency and value of a stock in real time provided yahoo finance representation of the stock ticker.

License

Notifications You must be signed in to change notification settings

ksgr5566/stock-price-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage example


const spf = require("stock-price-fetcher")
const data = await spf.data('AAPL'); // param should be a valid yahoo finance ticker
console.log(data) // { currency: 'USD', price: 148.11 }

Note: Node version 18 required.

About

Fetches currency and value of a stock in real time provided yahoo finance representation of the stock ticker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages