config: add baseInvestment

This commit is contained in:
c9s 2022-12-06 10:08:34 +08:00
parent 402b625126
commit 82a1009f35

View File

@ -25,7 +25,7 @@ backtest:
accounts: accounts:
binance: binance:
balances: balances:
BTC: 0.0 BTC: 1.0
USDT: 21_000.0 USDT: 21_000.0
exchangeStrategies: exchangeStrategies:
@ -77,7 +77,7 @@ exchangeStrategies:
quoteInvestment: 20_000 quoteInvestment: 20_000
## baseInvestment (optional) can be useful when you have existing inventory, maybe bought at much lower price ## baseInvestment (optional) can be useful when you have existing inventory, maybe bought at much lower price
baseInvestment: 0.0 baseInvestment: 1.0
## closeWhenCancelOrder (optional) ## closeWhenCancelOrder (optional)
## default to false ## default to false