Files
metrics/source/plugins/stock
2021-11-12 00:33:21 -05:00
..
2021-11-12 00:33:21 -05:00
2021-03-21 17:52:05 +01:00
2021-03-21 17:52:05 +01:00

💹 Stock prices

The stock plugin lets you display the stock market price of a given company.

💬 Obtaining a RapidAPI Yahoo Finance token

Create a RapidAPI account and subscribe to Yahoo Finance API to get a token.

RapidAPI token

Examples workflows

➡️ Available options for this plugin

- uses: lowlighter/metrics@latest
  with:
    # ... other options
    plugin_stock: yes
    plugin_stock_token: ${{ secrets.STOCK_TOKEN }} # RapidAPI Yahoo Finance token
    plugin_stock_symbol: TSLA                      # Display Tesla stock price
    plugin_stock_duration: 1d                      # Display last day of market
    plugin_stock_interval: 5m                      # Use precision of 5 minutes for each record