Skip to content

Commit

Permalink
scripts for RsiBollingerBandsStrategy and SimpleMovingAverageStrategy…
Browse files Browse the repository at this point in the history
… added
  • Loading branch information
derejehinsermu committed Jun 22, 2024
1 parent f85fdba commit 97de169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/backtest_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def run_backtest(strategy, symbol, start_date, end_date):

# Plot the results
cerebro.plot(style='candlestick')

return result_dict


Expand All @@ -179,7 +179,7 @@ def run_backtest(strategy, symbol, start_date, end_date):
start_date = '2023-06-20'
end_date = '2024-06-20'

for strategy in [RsiBollingerBandsStrategy,RsiBollingerBandsStrategy]:
for strategy in [RsiBollingerBandsStrategy,SimpleMovingAverageStrategy]:
run_backtest(strategy, symbol, start_date, end_date)

try:
Expand Down

0 comments on commit 97de169

Please sign in to comment.