-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathoracle.service
51 lines (47 loc) · 1.45 KB
/
oracle.service
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
[Unit]
Description=Terra Oracle
After=network.target
[Service]
Type=simple
User=tr-service
WorkingDirectory=/home/ubuntu/terra_oracle_voter
ExecStart=/usr/bin/python3 -u /home/ubuntu/terra_oracle_voter/terra_oracle_vote.py
Restart=always
RestartSec=3
# Required configuration values
Environment=TELEGRAM_TOKEN=
Environment=TELEGRAM_CHAT_ID=
Environment=FCSAPI_KEY=
Environment=BINANCE_KEY=
Environment=BINANCE_SECRET=
Environment=ALPHAVANTAGE_KEY=
#options alphavantage,free_api,band
Environment=FX_API_OPTION=alphavantage,free_api,band
Environment=FEEDER_ADDRESS=
Environment=VALIDATOR_ADDRESS=
Environment=KEY_NAME=
Environment=KEY_PASSWORD=
Environment=HOME_CLI=/path/to/.terracli
Environment=NODE_RPC=tcp://127.0.0.1:26657
Environment=TERRACLI_BIN=/path/to/terracli
Environment=TERRA_LCD=
Environment=CHAIN_ID=columbus-4
Environment=MISS_ALERTS=true
Environment=MISSES=0
Environment=PRICE_ALERTS=true
Environment=STOP_ORACLE_RECENT_DIVERGENCE=999999999999
Environment=STOP_ORACLE_EXCHANGE_DIVERGENCE=0.1
Environment=BID_ASK_SPREAD_MAX=0.05
Environment=FEE_DENOM=ukrw
Environment=FEE_GAS=250000
Environment=FEE_AMOUNT=500000
Environment=VWMA_PERIOD=0
Environment=COINONE_SHARE_DEFAULT=1.0
Environment=GOPAX_SHARE_DEFAULT=0.0
Environment=GDAC_SHARE_DEFAULT=0.0
Environment=BITHUMB_SHARE_DEFAULT=0.0
Environment=DEBUG=true
Environment=BAND_ENDPOINT=https://terra-lcd.bandchain.org
Environment=BAND_LUNA_PRICE_PARAMS=13,1_000_000_000,10,16
[Install]
WantedBy=multi-user.target