Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/developedbyant/stock-data
https://github.com/developedbyant/stock-data
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/developedbyant/stock-data
- Owner: developedbyant
- Created: 2022-10-20T23:49:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-20T23:49:24.000Z (about 2 years ago)
- Last Synced: 2023-07-19T02:42:59.139Z (over 1 year ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Get stock data from yahoo finance, tradingView and more
``` javascript
import StockData from "@developedbyant/stock-data"const stockData = new StockData()
async function main() {
const symbolData = await stockData.quote("TSLA")
console.log(symbolData)const symbolsData = await stockData.quotes(["TSLA","META"])
console.log(symbolsData)const website = await stockData.website("META");
console.log(website)const logo = await stockData.logo("TSLA");
console.log(logo)
}
main()
```