summaryrefslogtreecommitdiff
path: root/tests/integration/test_backtest_end_to_end.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/test_backtest_end_to_end.py')
-rw-r--r--tests/integration/test_backtest_end_to_end.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/test_backtest_end_to_end.py b/tests/integration/test_backtest_end_to_end.py
index 4a484f5..4cc0b12 100644
--- a/tests/integration/test_backtest_end_to_end.py
+++ b/tests/integration/test_backtest_end_to_end.py
@@ -16,7 +16,7 @@ from shared.models import Candle
from backtester.engine import BacktestEngine
-def _generate_candles(prices: list[float], symbol="BTCUSDT") -> list[Candle]:
+def _generate_candles(prices: list[float], symbol="AAPL") -> list[Candle]:
return [
Candle(
symbol=symbol,
@@ -47,7 +47,7 @@ def test_backtest_rsi_strategy_end_to_end():
result = engine.run(candles)
assert result.strategy_name == "rsi"
- assert result.symbol == "BTCUSDT"
+ assert result.symbol == "AAPL"
assert result.initial_balance == Decimal("10000")
assert result.detailed is not None
assert result.detailed.total_trades >= 0