-
Notifications
You must be signed in to change notification settings - Fork 1
/
finance-exporter.yaml
125 lines (122 loc) · 2.98 KB
/
finance-exporter.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
port: 8000
address: 0.0.0.0
metric_prefix: finance
min_interval: 15
# If set, each ticker will load labels from each source
# before the first run. Slows down startup time but
# necessary if using multiple sources that do not
# provide all labels
update_cache_on_startup: false
tickers:
- AAPL
- GOOG
sources:
- name: iexcloud
interval: 60
plugin: iexcloud
api_key: demo
metrics:
current_price:
item: iexRealtimePrice
type: Gauge
help: Current Market Price of Asset
change:
item: changePercent
type: Gauge
help: P/C Since Open
change_ytd:
item: ytdChange
type: Gauge
help: P/C Year-to-Date
volume:
item: iexVolume
type: Gauge
help: Current Market Volume
previous_volume:
item: previousVolume
type: Gauge
help: Previous Volume
avg_volume:
item: avgTotalVolume
type: Gauge
help: Average Volume
pe_ratio:
item: peRatio
type: Gauge
help: Price-to-Earnings Ratio
- name: yahoo
interval: 300
plugin: yfinance
metrics:
#current_price:
# item: regularMarketPrice
# type: Gauge
# help: Current Market Price of Asset
open_price:
item: regularMarketOpen
type: Gauge
help: Day Open Price
previous_close:
item: regularMarketPreviousClose
type: Gauge
help: Previous Closing Price
day_high:
item: regularMarketDayHigh
type: Gauge
help: Day High Price
day_low:
item: regularMarketDayLow
type: Gauge
help: Day Low Price
52wk_high:
item: fiftyTwoWeekHigh
type: Gauge
help: Fifty-Two Week High
52wk_low:
item: fiftyTwoWeekLow
type: Gauge
help: Fifty-Two Week Low
target_median_price:
item: targetMedianPrice
type: Gauge
help: Target Price (Median)
#volume:
# item: regularMarketVolume
# type: Gauge
# help: Current Market Volume
#avg_volume:
# item: averageVolume
# type: Gauge
# help: Average Volume
avg_10day_volume:
item: averageDailyVolume10Day
type: Gauge
help: Average Daily Volume (10 Day)
held_insiders_percent:
item: heldPercentInsiders
type: Gauge
help: Percent of Shared Held by Insiders
pe_forward:
item: forwardPE
type: Gauge
help: Forward Price-to-Earnings Ratio
pe_trailing:
item: trailingPE
type: Gauge
help: Trailing Price-to-Earnings Ratio
shorts:
item: sharesShort
type: Gauge
help: Number of shares short
beta:
item: beta
type: Gauge
help: Beta
labels:
ticker: symbol
type: quoteType
name: shortName
exchange: exchange
recommendation: recommendationKey
sector: sector