fix: extend polling budget for slow WorldQuant PnL

This commit is contained in:
yuxuanhui
2026-09-09 19:34:08 +08:00
parent ba0ed9d03f
commit 3d85b073a4
3 changed files with 59 additions and 4 deletions
+1
View File
@@ -24,6 +24,7 @@ class Settings(BaseSettings):
wq_base_url: str = "https://api.worldquantbrain.com"
request_timeout: float = 30
retry_attempts: int = Field(default=4, ge=1, le=8)
pnl_poll_attempts: int = Field(default=120, ge=1, le=1000)
enable_runner: bool = True
mcp_enabled: bool = False
ai_request_limit: int = Field(default=12, ge=1, le=30)