mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
config: update convert strategy sample config
This commit is contained in:
parent
430b22f5e9
commit
4982a858a0
26
config/convert.yaml
Normal file
26
config/convert.yaml
Normal 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user