Skip to content

Commit

Permalink
config: update convert strategy sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Aug 4, 2023
1 parent 430b22f commit 4982a85
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions config/convert.yaml
Original file line number Diff line number Diff line change
@@ -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


0 comments on commit 4982a85

Please sign in to comment.