forked from piebotai/bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config-example.py
More file actions
37 lines (31 loc) · 1.05 KB
/
Copy path_config-example.py
File metadata and controls
37 lines (31 loc) · 1.05 KB
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
environment = "production"
api_key = "xxx"
api_secret = "xxx"
# Set the type of stable coin your will trade with (USDC, USDT, TUSD etc.)
stable_coin = "USDC"
# The list of coin pairs you want to trade with
pair_list = [
("ADA", "ADA_" + stable_coin),
("ALGO", "ALGO_" + stable_coin),
("ATOM", "ATOM_" + stable_coin),
("BTC", "BTC_" + stable_coin),
("CRO", "CRO_" + stable_coin),
("DOT", "DOT_" + stable_coin),
("ETH", "ETH_" + stable_coin),
("LTC", "LTC_" + stable_coin),
("XLM", "XLM_" + stable_coin),
("XRP", "XRP_" + stable_coin)
]
# Sets after how many hours each task should repeat
buy_frequency = 6
rebalance_frequency = 1
# The required value deviation before the coin is rebalanced. This is a percentage
# 0.05 = 5%
# 0.15 = 15%
rebalance_threshold = 0.03
# The USDT value that PieBot will buy for each enabled coin pair in the "Buy" task
buy_order_value = 0.50
# How much USDT do you want to keep as a reserve. This is a percentage of the total portfolio balance
# 0.05 = 5%
# 0.15 = 15%
stable_coin_reserve = 0.02