import sys
from pathlib import Path

sys.path.insert(0, str(Path(__file__).parent.parent.parent))

from scripts.common.env import setup_environment
setup_environment()  # 👈 SIEMPRE LO PRIMERO

from src.paper.loop import PaperTradingLoop

if __name__ == "__main__":
    PaperTradingLoop().run_forever()
