Skip to content

Commit

Permalink
MAX_COINS wasn't set on optimiz run
Browse files Browse the repository at this point in the history
  • Loading branch information
Azulinho committed Mar 5, 2023
1 parent 2c7ca5f commit e660bf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils/prove-backtesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,7 @@ def write_optimized_strategy_config(
"ENABLE_NEW_LISTING_CHECKS_AGE_IN_DAYS": self.enable_new_listing_checks_age_in_days, # pylint: disable=line-too-long
"INITIAL_INVESTMENT": s_balance,
"KLINES_CACHING_SERVICE_URL": self.klines_caching_service_url,
# each coin backtesting run should only use one coin
# MAX_COINS will only be applied to the final optimized run
"MAX_COINS": 1,
"MAX_COINS": self.max_coins,
"PAIRING": self.pairing,
"PAUSE_FOR": self.pause_for,
"PRICE_LOGS": _price_logs,
Expand Down

0 comments on commit e660bf3

Please sign in to comment.