-
-
Notifications
You must be signed in to change notification settings - Fork 301
/
Copy pathxalign.yaml
59 lines (53 loc) · 1.09 KB
/
xalign.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
---
notifications:
slack:
defaultChannel: "dev-bbgo"
errorChannel: "bbgo-error"
switches:
trade: true
orderUpdate: true
submitOrder: true
sessions:
max:
exchange: max
envVarPrefix: max
binance:
exchange: binance
envVarPrefix: binance
persistence:
json:
directory: var/data
redis:
host: 127.0.0.1
port: 6379
db: 0
crossExchangeStrategies:
- xalign:
# interval: 1m
interval: 3s
for: 1m
sessions:
- max
- binance
dryRun: true
## quoteCurrencies config specifies which quote currency should be used for BUY order or SELL order.
## when specifying [USDC,TWD] for "BUY", then it will consider BTCUSDC first then BTCTWD second.
quoteCurrencies:
buy: [USDC, TWD]
sell: [USDT]
expectedBalances:
BTC: 0.0440
useTakerOrder: false
balanceToleranceRange: 1%
maxAmounts:
USDT: 100
USDC: 100
TWD: 3000
largeAmountAlert:
quoteCurrency: USDT
amount: 200
slack:
channel: ""
mentions:
- '<@USER_ID>'
- '<!subteam^TEAM_ID>'