config: update convert strategy sample config

This commit is contained in:
c9s 2023-08-05 02:00:35 +08:00
parent 430b22f5e9
commit 4982a858a0
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

26
config/convert.yaml Normal file
View File

@ -0,0 +1,26 @@
---
exchangeStrategies:
- on: binance
convert:
## the initial asset you want to convert to
from: BNB
## the final asset you want to convert to
to: BTC
## interval is the period of trigger
interval: 1m
## minBalance is the minimal balance line you want to keep
## in this example, it means 1 BNB
minBalance: 1.0
## maxQuantity is the max quantity per order for converting asset
## in this example, it means 2 BNB
maxQuantity: 2.0
## useTakerOrder uses the taker price for the order, so the order will be a taker
## which will be filled immediately
useTakerOrder: true