forked from GaloyMoney/blink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.yaml
96 lines (84 loc) · 2.13 KB
/
default.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
name: "Galoy Banking"
# username of the account that will be used to fund rewards
funder: "FunderWallet"
hedging:
LOW_BOUND_RATIO_SHORTING: 0.95
LOW_SAFEBOUND_RATIO_SHORTING: 0.98
# average: 0.99
HIGH_SAFEBOUND_RATIO_SHORTING: 1
HIGH_BOUND_RATIO_SHORTING: 1.03
# take a target leverage and safe parameter and calculate those bounding values dynamically.
LOW_BOUND_LEVERAGE: 1.2
LOW_SAFEBOUND_LEVERAGE: 1.8
# // average: 2
HIGH_SAFEBOUND_LEVERAGE: 2.25
HIGH_BOUND_LEVERAGE: 3
rebalancing:
lndHoldingBase: 50000000 # 0.5
ratioTargetDeposit: 1
ratioTargetWithdraw: 1
minOnchain: 10000000 # 0.1
# select which bitcoind wallet is used for rebalancing
# string.include() is being used as a filter
#
# specter wallet always
onchainWallet: "specter"
test_accounts:
- phone: "+16505554321" # user0
code: 321321
- phone: "+16505554322" # user1
code: 321321
- phone: "+16505554323" # user2
code: 321321
title: business
- phone: "+16505554324" # user3
code: 321321
- phone: "+16505554325" # user4/ funder
code: 321321
username: "FunderWallet"
- phone: "+16505554326"
code: 321321
currencies: [{id: "USD", ratio: 1}]
- phone: "+16505554327"
code: 321321
role: "dealer"
- phone: "+16505554328"
code: 321321
- phone: "+16505554329" # postman
code: 321321
- phone: "+16505554330"
code: 321321
currencies: [{id: "USD", ratio: .5}, {id: "BTC", ratio: .5},]
- phone: "+16505554331" # login fail attempt
code: 321321
currency: "BTC"
limits:
requestPhoneCode:
points: 4
duration: 10800 # 60 * 60 * 3 s
blockDuration: 3600 # 60 * 60 s
loginAttempt:
points: 8
duration: 1200 # 60 * 20 s
blockDuration: 3600 # 60 * 60 s
failedAttemptPerIp:
points: 30
duration: 21600 # 60 * 60 * 6 s
blockDuration: 86400 # 60 * 60 * 24 s
oldEnoughForWithdrawal: 172800000 # 1000 * 60 * 60 * 24 * 2, in ms # 2 days
withdrawal:
level:
1: 2000000
2: 100000000
onUs:
level:
1: 5000000
2: 100000000
proxyChecking:
enabled: true
fees:
withdraw: 2000 # 2000 sats flat per tx
deposit: 0.003 # 0.3 percent
onchainDustAmount: 5000
# TODO
# carrierRegexFilter: ""