-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.yaml
88 lines (88 loc) · 2.25 KB
/
dashboard.yaml
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
dashboard:
greeting: |-
Here is what's in focus today:
requirements:
- ecli:
install: pip install btecli
help:
ecli plugins.install -r https://github.com/berttejeda/bert.dashboard.plugins.git
processing:
backoff:
sleep_time: 2
num_retries: 4
throttle: 5
cards:
tsla_market_news:
title: "Latest Stock Market News for TSLA"
type: news.stocks
data:
exec:
command: |-
ecli news.stocks.fetch
args:
- --symbols tsla
- --start 1d
- --limit 10
schema:
validations:
# Object should be a dictionary
# whose keys evaluate to a
# nested list of strings
- '{str: [[str]]}'
jbht_market_news:
title: "Latest Stock Market News for J.B. Hunt"
type: news.stocks
data:
exec:
command: |-
ecli news.stocks.fetch
args:
- --symbols jbht
- --start 1d
- --limit 10
schema:
validations:
# Object should be a dictionary
# whose keys evaluate to a
# nested list of strings
- '{str: [[str]]}'
nvidia_market_news:
title: "Latest Stock Market News for Nvdia"
type: news.stocks
data:
exec:
command: |-
ecli news.stocks.fetch
args:
- --symbols nvda
- --start 1d
- --limit 10
schema:
validations:
# Object should be a dictionary
# whose keys evaluate to a
# nested list of strings
- '{str: [[str]]}'
ibkr_market_news:
title: "Latest Stock Market News for Interactive Brokers"
type: news.stocks
data:
exec:
command: |-
ecli news.stocks.fetch
args:
- --symbols ibkr
- --start 1d
- --limit 10
schema:
validations:
# Object should be a dictionary
# whose keys evaluate to a
# nested list of strings
- '{str: [[str]]}'
types:
- news.stocks
- messages.generic
- chart.bar
- chart.line
- chart.area