19 lines
541 B
Python
19 lines
541 B
Python
|
|
"""Integration tests for backtesting workflow."""
|
||
|
|
|
||
|
|
import pytest
|
||
|
|
from datetime import datetime, timedelta
|
||
|
|
from src.backtesting.engine import get_backtest_engine
|
||
|
|
|
||
|
|
|
||
|
|
@pytest.mark.integration
|
||
|
|
class TestBacktestingWorkflow:
|
||
|
|
"""Integration tests for backtesting workflow."""
|
||
|
|
|
||
|
|
@pytest.mark.asyncio
|
||
|
|
async def test_backtesting_workflow(self):
|
||
|
|
"""Test complete backtesting workflow."""
|
||
|
|
engine = get_backtest_engine()
|
||
|
|
assert engine is not None
|
||
|
|
# Full workflow test would require strategy and data setup
|
||
|
|
|