-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
metadata.yml
88 lines (80 loc) · 1.54 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: 💹 Stock prices
category: community
description: |
This plugin displays the stock market price of a given company.
examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stock.svg
authors:
- lowlighter
supports:
- user
- organization
- repository
scopes: []
inputs:
plugin_stock:
description: |
Enable stock plugin
type: boolean
default: no
extras:
- metrics.npm.optional.d3
- metrics.api.yahoo.finance
plugin_stock_token:
description: |
Yahoo Finance token
type: token
default: ""
plugin_stock_symbol:
description: |
Company stock symbol
type: string
default: ""
example: MSFT
plugin_stock_duration:
description: |
Time range
- `1d`: Today
- `5d`: 5 days
- `1mo`: 1 month
- `3mo`: 3 months
- `6mo`: 6 months
- `1y`: 1 year
- `2y`: 2 years
- `5y`: 5 years
- `10y`: 10 years
- `ytd`: Year to date
- `max`: All time
This is relative to current date
type: string
default: 1d
values:
- 1d
- 5d
- 1mo
- 3mo
- 6mo
- 1y
- 2y
- 5y
- 10y
- ytd
- max
plugin_stock_interval:
description: |
Time interval between points
- `1m`: 1 minute
- `2m`: 2 minutes
- `5m`: 5 minutes
- `15m`: 15 minutes
- `60m`: 60 minutes
- `1d`: 1 day
type: string
default: 5m
values:
- 1m
- 2m
- 5m
- 15m
- 60m
- 1d