fix: import asyncio in _execute_backtest method

This commit is contained in:
shokollm
2026-04-12 14:07:52 +00:00
parent 283573f5a8
commit 5ae1165ad9

View File

@@ -424,6 +424,7 @@ class ConversationalAgent:
) -> str:
"""Execute a backtest using the bot's current strategy."""
try:
import asyncio
from ...core.database import get_db
from ...db.models import Backtest
from ...services.backtest.engine import BacktestEngine