config: add profit fixer to the sample config

This commit is contained in:
c9s 2024-08-26 12:46:45 +08:00
parent 77e185ffa7
commit 321eb23514
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -59,6 +59,9 @@ crossExchangeStrategies:
# 0.1 pip is 0.01, here we use 10, so we will get 18000.00, 18001.00 and # 0.1 pip is 0.01, here we use 10, so we will get 18000.00, 18001.00 and
# 18002.00 # 18002.00
pips: 10 pips: 10
## profitFixer is used for fixing the profit stats and the position
# profitFixer:
# tradesSince: "2024-08-01T15:00:00.000+08:00"
circuitBreaker: circuitBreaker:
maximumConsecutiveTotalLoss: 36.0 maximumConsecutiveTotalLoss: 36.0
maximumConsecutiveLossTimes: 10 maximumConsecutiveLossTimes: 10