💹 Stock prices | |
|---|---|
This plugin displays the stock market price of a given company. | |
| Authors | @lowlighter |
| Supported features → Full specification |
📗 Classic template 📘 Repository template |
👤 Users 👥 Organizations 📓 Repositories |
|
🗝️ plugin_stock_token |
|
|
|
|
➡️ Available options
| Type | Description |
|
Enable stock plugin |
type: boolean
default: no |
|
|
Yahoo Finance token |
| 🔐 Token type: token
|
|
|
Company stock symbol |
type: string
|
|
|
Time range (relative to current date)
|
type: string
default: 1d allowed values:
|
|
|
Time interval between points
|
type: string
default: 5m allowed values:
|
🗝️ Obtaining a RapidAPI Yahoo Finance token
Create a RapidAPI account and subscribe to Yahoo Finance API to get a token.
ℹ️ Examples workflows
name: Stock prices from Tesla
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.stock.svg
token: NOT_NEEDED
base: ""
plugin_stock: yes
plugin_stock_token: ${{ secrets.STOCK_TOKEN }}
plugin_stock_symbol: TSLA
