-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
242 lines (205 loc) · 4.11 KB
/
config.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
server:
listen: ":80"
logformat: text # json, text
loglevel: debug
env: prod # dev, prod
sources:
- name: bitstamp
# Avoid BitStamp, it has a tendency to return HTTP 404 if the UserAgent is not a browser.
sleepReal: 60 # seconds
url:
scheme: https
host: www.bitstamp.net
path: /api/v2/ticker/
- name: coinmarketcap
sleepReal: 400 # seconds
auth_key_env_name: "CMC_PRO_API_KEY" # this env variable must be exported
url:
scheme: https
host: pro-api.coinmarketcap.com
path: /v1/cryptocurrency/listings/latest
- name: coingecko
sleepReal: 30 # seconds
url:
scheme: https
host: api.coingecko.com
path: /api/v3/simple/price
rawquery: ids=solana,ethereum,bitcoin,terra-luna-2,uniswap,dai,aave,aapl,litecoin,optimism,monero,cosmos&vs_currencies=usd,eur,btc,eth&include_last_updated_at=true
# - name: exchangeratesapi
# sleepReal: 600 # seconds
# sleepWander: 30 # seconds
# url:
# scheme: https
# host: api.exchangeratesapi.io
# path: /latest
# rawquery: base={base}&symbols={quote}
prices:
# Faked markets not available in our sources
- source: coinmarketcap
base: AAVE
base_override: AAPL
quote: USD
quote_override: USD
factor: 1.2
wander: true
- source: coingecko
base: monero
base_override: TSLA
quote: EUR
quote_override: EURO
factor: 1.4
wander: true
# Real currencies
- source: coinmarketcap
base: BTC
quote: USD
factor: 1.0
wander: true
- source: coingecko
base: monero
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: terra-luna-2
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: aave
quote: dai
factor: 1.0
wander: true
- source: coingecko
base: aave
base_override: AAVE
quote: dai
quote_override: DAI
factor: 1.0
wander: true
- source: coingecko
base: monero
quote: usd
factor: 1.0
wander: true
- source: coingecko
base: bitcoin
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: cosmos
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: terra-luna-2
quote: usd
factor: 1.0
wander: true
- source: coingecko
base: solana
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: cosmos
quote: usd
factor: 1.0
wander: true
- source: coingecko
base: ethereum
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: uniswap
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: optimism
quote: usd
factor: 1.0
wander: true
- source: coingecko
base: litecoin
quote: usd
factor: 1.0
wander: true
- source: coingecko
base: litecoin
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: dai
quote: ETH
factor: 1.0
wander: true
- source: coingecko
base: ethereum
quote: btc
factor: 1.0
wander: true
- source: coinmarketcap
base: LUNC
quote: USD
factor: 1.0
wander: true
- source: coinmarketcap
base: LUNC
base_override: LUNA
quote: USD
factor: 1.0
wander: true
- source: coinmarketcap
base: XMR
quote: USD
factor: 1.0
wander: true
- source: coingecko
base: optimism
quote: ETH
factor: 1.0
wander: true
- source: coinmarketcap
base: UNI
quote: DAI
factor: 1.0
wander: true
- source: coingecko
base: uniswap
quote: dai
factor: 1.0
wander: true
- source: coingecko
base: bitcoin
quote: usd
factor: 1.0
wander: true
- source: coingecko
base: aave
quote: ETH
factor: 1.0
wander: true
- source: coinmarketcap
base: ETH
quote: BTC
factor: 1.0
wander: true
- source: coinmarketcap
base: ETH
quote: DAI
factor: 1.0
wander: true
- source: bitstamp
base: IMX
quote: USD
factor: 1.0
wander: true
- source: bitstamp
base: IMX
quote: ETH
factor: 1.0
wander: true