mirror of
https://github.com/mikejongbloet/obsidian-get-stock-information.git
synced 2026-07-22 07:40:26 +00:00
No description
| src | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Get Stock Information
Return information about a particular stock symbol using the Yahoo Finance API.
How to use
- In Edit mode, run the command "Get Stock Information: Insert stock info".
- Enter the stock symbol (e.g. AAPL)
- Click "Get stock information"
After a brief pause (0.5 - 8 seconds depending on how lively the API is feeling), a new callout block will be added to your page with the following information:
- Bid price
- Ask price
- Spread %
- Name
- Currency
- Volume
- Market cap
- Day range (low - high)
- 52 week range (low - high)
- Time of information
For example"
> [!info]- AAPL (Bid: 164.9, Ask: 164.91, Spread: 0.006%)
> **Name:** Apple Inc.
> **Currency:** USD
> **Volume:** 68,749,792
> **Market cap:** 2.6T
> **Day range:** 162.13 – 165
> **52W range:** 124.17 – 178.49
>
><small>*Sun Apr 02 2023 18:28:05 GMT+0100 (British Summer Time)*</small>
Credit
https://github.com/phamleduy04/yahoo-stock-api - the project I've used to pull in the information from Yahoo Finance