Skip to content

Commit

Permalink
config: add profit fixer to the sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Aug 26, 2024
1 parent 77e185f commit 321eb23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/xmaker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ crossExchangeStrategies:
# 0.1 pip is 0.01, here we use 10, so we will get 18000.00, 18001.00 and
# 18002.00
pips: 10
## profitFixer is used for fixing the profit stats and the position
# profitFixer:
# tradesSince: "2024-08-01T15:00:00.000+08:00"
circuitBreaker:
maximumConsecutiveTotalLoss: 36.0
maximumConsecutiveLossTimes: 10
Expand Down

0 comments on commit 321eb23

Please sign in to comment.