| from pydantic import BaseModel | |
| class Settings(BaseModel): | |
| APP_NAME: str = "Personal Trading System V1" | |
| APP_VERSION: str = "1.0.0" | |
| DEBUG: bool = True | |
| DATABASE_URL: str = "sqlite+aiosqlite:///./futures_trader.db" | |
| WS_HEARTBEAT_INTERVAL: int = 5 | |
| MAX_POSITION_SIZE: int = 100 | |
| DEFAULT_LEVERAGE: int = 10 | |
| RISK_LIMIT_PERCENT: float = 2.0 | |
| DEFAULT_MARKET_MODE: str = "simulated" | |
| settings = Settings() | |