kernc / backtesting.py

:mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.
https://kernc.github.io/backtesting.py/
GNU Affero General Public License v3.0
5.06k stars 990 forks source link

How can I maximize two parameters? #988

Closed naheshi closed 1 year ago

naheshi commented 1 year ago

How can I maximize two parameters in optimization ? for example I want to maximize Return and Winrate

naheshi commented 1 year ago

I was able to solve it :)

efeint01 commented 1 year ago

how did you fix that?

kernc commented 1 year ago

See e.g. https://github.com/kernc/backtesting.py/issues/256, https://github.com/kernc/backtesting.py/issues/978, ...