Initial commit: Crypto trader application

This commit is contained in:
2025-12-25 20:20:40 -05:00
commit 07a04c1bb8
47895 changed files with 2042266 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
"""Performance benchmarks for backtesting."""
import pytest
import time
from src.backtesting.engine import get_backtest_engine
@pytest.mark.slow
class TestBacktestPerformance:
"""Performance tests for backtesting."""
@pytest.mark.asyncio
async def test_backtest_speed(self):
"""Test backtesting speed."""
engine = get_backtest_engine()
# Create minimal backtest scenario
start_time = time.time()
# Run minimal backtest (would need actual implementation)
# This is a placeholder
elapsed = time.time() - start_time
# Backtest should complete in reasonable time
assert elapsed < 60 # Less than 60 seconds for basic test