Skip to content

Commit 5249f0d

Browse files
committed
Fix bug on run in parallel
1 parent a09da67 commit 5249f0d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ In finmarketpy/examples you will find several examples, including some simple tr
187187

188188
# finmarketpy log
189189

190+
* 19 May 2024
191+
* Fixed run in parallel bug on
192+
190193
* 01 Apr 2024
191194
* Added Jupyter notebook for new ArcticDB support from findatapy
192195
* 01 Jan 2024

finmarketpy/backtest/backtestengine.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def load_model(path):
10361036
return pkl
10371037

10381038
####### Generic functions for every backtest
1039-
def construct_strategy(self, br: BacktestRequest = None):
1039+
def construct_strategy(self, br: BacktestRequest = None, run_in_parallel: bool = False) -> pd.DataFrame:
10401040
"""Constructs the returns for all the strategies which have been specified.
10411041
10421042
It gets backtesting parameters from fill_backtest_request (although

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use API, which has prebuilt templates for you to define backtest."""
66

77
setup(name="finmarketpy",
8-
version="0.11.13",
8+
version="0.11.14",
99
description="finmarketpy is a Python based library for backtesting trading strategies",
1010
author="Saeed Amen",
1111
author_email="[email protected]",

0 commit comments

Comments
 (0)