Skip to content

Commit 86f5f39

Browse files
committed
DOC: Remove TODO item obsoleted in 7eeea52
1 parent 3b74729 commit 86f5f39

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

backtesting/backtesting.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,11 +1404,8 @@ def optimize(self, *,
14041404
code finds and returns the "best" of the 7 admissible (of the
14051405
9 possible) parameter combinations:
14061406
1407-
backtest.optimize(sma1=[5, 10, 15], sma2=[10, 20, 40],
1408-
constraint=lambda p: p.sma1 < p.sma2)
1409-
1410-
.. TODO::
1411-
Improve multiprocessing/parallel execution on Windos with start method 'spawn'.
1407+
best_stats = backtest.optimize(sma1=[5, 10, 15], sma2=[10, 20, 40],
1408+
constraint=lambda p: p.sma1 < p.sma2)
14121409
"""
14131410
if not kwargs:
14141411
raise ValueError('Need some strategy parameters to optimize')

0 commit comments

Comments
 (0)