Files
crypto_trader/tests/e2e/test_backtest_e2e.py

19 lines
508 B
Python
Raw Permalink Normal View History

"""End-to-end tests for backtesting."""
import pytest
from datetime import datetime, timedelta
from src.backtesting.engine import get_backtest_engine
@pytest.mark.e2e
class TestBacktestE2E:
"""End-to-end tests for backtesting."""
@pytest.mark.asyncio
async def test_backtest_scenario(self):
"""Test complete backtesting scenario."""
engine = get_backtest_engine()
assert engine is not None
# Full E2E test would require strategy and historical data setup