Skip to content

Commit

Permalink
Fix bug on run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed May 19, 2024
1 parent a09da67 commit 5249f0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ In finmarketpy/examples you will find several examples, including some simple tr

# finmarketpy log

* 19 May 2024
* Fixed run in parallel bug on

* 01 Apr 2024
* Added Jupyter notebook for new ArcticDB support from findatapy
* 01 Jan 2024
Expand Down
2 changes: 1 addition & 1 deletion finmarketpy/backtest/backtestengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ def load_model(path):
return pkl

####### Generic functions for every backtest
def construct_strategy(self, br: BacktestRequest = None):
def construct_strategy(self, br: BacktestRequest = None, run_in_parallel: bool = False) -> pd.DataFrame:
"""Constructs the returns for all the strategies which have been specified.
It gets backtesting parameters from fill_backtest_request (although
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use API, which has prebuilt templates for you to define backtest."""

setup(name="finmarketpy",
version="0.11.13",
version="0.11.14",
description="finmarketpy is a Python based library for backtesting trading strategies",
author="Saeed Amen",
author_email="[email protected]",
Expand Down

0 comments on commit 5249f0d

Please sign in to comment.