forked from agregkit/watchmarket
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
60 lines (52 loc) · 1.42 KB
/
config.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
markets:
priority: # for each data type: [first in queue, next, ...]
charts: [coinmarketcap, coingecko]
coin_info: [coinmarketcap, coingecko]
tickers: [coinmarketcap, coingecko]
rates: [fixer, coinmarketcap, coingecko]
rates_allow: [BTC, ETH, BNB] # include additional crypto currency to fiat rates
coinmarketcap:
api: https://pro-api.coinmarketcap.com
key: #key
currency: USD
web_api: https://web-api.coinmarketcap.com
widget_api: https://3rdparty-apis.coinmarketcap.com
coingecko:
api: https://api.coingecko.com/api
key: #key
currency: USD
fixer:
api: https://data.fixer.io/api
key: #key
currency: USD
assets: https://raw.githubusercontent.com/trustwallet/assets/master/blockchains # Assets url - details about TW tokens
storage:
redis:
url: redis://localhost:6379
postgres:
url: postgresql://user:pass@localhost/watchmarket?sslmode=disable
logs: false
worker:
tickers: 5m
rates: 5m
allowCryptoCurrency: []
rest_api:
mode: release # Possible values: "debug", "release"
port: 8421 # Possible values: "debug", "release"
tickers:
cache_control: 1m
respectable_market_cap: 0
respectable_volume: 0
respectable_update_time: 72h
charts:
cache_control: 10m
info:
cache_control: 10m
cache: 15m
use_memory_cache: true
update_time:
memory_cache_tickers: 5m
memory_cache_rates: 5m
log:
sentry:
dsn: ""