bbgo_origin/config/autoborrow.yaml

33 lines
744 B
YAML
Raw Normal View History

2022-04-23 07:00:04 +00:00
---
exchangeStrategies:
- on: binance
autoborrow:
interval: 30m
autoRepayWhenDeposit: true
# minMarginRatio for triggering auto borrow
# we trigger auto borrow only when the margin ratio is above the number
minMarginLevel: 3.0
2022-04-23 07:00:04 +00:00
# maxMarginRatio for stop auto-repay
# if the margin ratio is high enough, we don't have the urge to repay
maxMarginLevel: 20.0
marginLevelAlertInterval: 5m
marginLevelAlertMinMargin: 2.0
marginLevelAlertSlackMentions:
- '<@USER_ID>'
- '<!subteam^TEAM_ID>'
2022-04-23 07:00:04 +00:00
assets:
- asset: ETH
low: 3.0
maxQuantityPerBorrow: 1.0
maxTotalBorrow: 10.0
2022-04-23 07:00:04 +00:00
- asset: USDT
low: 1000.0
maxQuantityPerBorrow: 100.0
maxTotalBorrow: 10.0
2023-07-14 05:22:42 +00:00