Skip to content

Commit

Permalink
Merge pull request #678 from Lumiwealth/dev
Browse files Browse the repository at this point in the history
config helper changes
  • Loading branch information
brettelliot authored Jan 10, 2025
2 parents f84ccda + 4b48452 commit 2c3fb19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions lumibot/strategies/_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,8 @@ def tearsheet(
def run_backtest(
self,
datasource_class,
backtesting_start,
backtesting_end,
backtesting_start: datetime,
backtesting_end: datetime,
minutes_before_closing=5,
minutes_before_opening=60,
sleeptime=1,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_configs_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class TestConfigsHelper:
def test_get_classic_60_40_config(self):
"""Test getting the classic 60/40 configuration"""

configs_helper = ConfigsHelper()
config = configs_helper.load_config("classic_60_40")
configs_helper = ConfigsHelper(configs_folder="example_strategies")
config = configs_helper.load_config("classic_60_40_config")
assert config is not None

assert config["market"] == "NYSE"
Expand Down

0 comments on commit 2c3fb19

Please sign in to comment.