Download web_development/backend/app/core/config.py from lucky-loster/quant_test: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/lucky-loster/quant_test/resolve/main/web_development/backend/app/core/config.py
- Command line
-
hf download hf://lucky-loster/quant_test/web_development/backend/app/core/config.py
-
curl -L -o config.py https://huggingface.co/lucky-loster/quant_test/resolve/main/web_development/backend/app/core/config.py
434 Bytes
| 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() | |