-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig_Template.ps1
107 lines (75 loc) · 3.27 KB
/
Config_Template.ps1
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
$config = @{
# Database Location and Filename
database = 'c:\chiaDB\trades.SQLite'
xch_address = 'Your XCH Address'
# Pushover notifications settings
use_pushover = $false
pushover_token = 'Api_secret'
pushover_name = 'api_user_name'
# Traded pairs - To turn off a pair, change it to $false from $true.
trading_pair_xch_usdc = $true
trading_pair_xch_usdcb = $true
trading_pair_usdc_millieth = $true
trading_pair_usdcb_milliethb = $true
trading_pair_hoa_xch = $true
trading_pair_dbx_xch = $true
trade_dacs = $false
# Preperation for large update
traded_pairs = @{
usdc = $true
usdcb = $true
sbx = $false
dbx = $true
hoa = $true
}
trading_targets = @{
DBX = @{
min_hold = 5000
max_hold = 10000
}
HOA = @{
min_hold = 45000
max_hold = 90000
}
}
# Trading Config
# Percent is the maximun percent of funds you wish to trade with at a time.
# Example: If you have 50 xch and 300 USDC.B and put 50 as the percent, you will create offers to sell upto 25xch and to buy upto 150 with of xch.
percent = 50
# The xch_spread is the amount in USDC you wish to add to your sell offers or subtract from your buy offers.
# Example: If the current XCH price from coingecko is $20 and you have a 0.2 xch_spread, you will create a sell offer for $20.20 per xch and a buy offer of $19.80 per xch.
xch_spread = 0.2
xch_extra_sale_adjustment = 0
xch_eth_premium = 0.45
# Same as xch_spread, but for millieth offers.
millieth_spread = 0.05
# This will determine the minimum amount of XCH to buy/sell at a time. It is also the amount of xch to skip for the next offer.
# Example: If the xch_step is 1 and you have a total of 100 XCH and a percent of 50, then the AMM will create 50 offers spaced 1xch apart.
# You'd get a 1XCH sell offer for 20.20 usd, and a 2XCH sell offer for 40.40 usd, a 3XCH sell offer for 60.60 usd, etc.
xch_step = 1
# Same as xch_step but for millieth
millieth_step = 5
# This is used to help dexie register your max offer if your wallet uses the same coins for an offer.
price_change_per_step = 0.001
# This is the minimum in USDC you'll want to sell xch for. This is a fail safe to stop trading below this number.
min_xch_sell_price = 15
# This is the minimum in USDC you'll want to sell millieth for. This is a fail safe to stop trading below this number.
min_millieth_sell_price = 3
# This is the maximum in USDC you'll want to buy XCH for. This is a fail safe to stop trading above this number.
max_xch_buy_price = 30
# This is the maximum in USDC you'll want to sell Millieth for. This is a fail safe to stop trading above this number.
max_millieth_buy_price = 3.60
# Max_blocks your offer is good for. There's about 3 blocks per minute in chia.
max_blocks = 50
# Max amount of DBX to hold.
dbx_max_exposure = 5000
min_dbx_to_xch_buy_price = 1000
max_dbx_to_xch_sell_price = 700
hoa_max_exposure = 45000
min_hoa_to_xch_buy_price = 6325
max_hoa_to_xch_sell_price = 4100
dacs = @(
'nft_id'
)
dac_price = 475
}