Audit fixes: LIVE symbols/fills/expiry/pending, security harden, add 更新说明.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,6 +25,10 @@ class Settings(BaseSettings):
|
||||
auth_password: str = "admin123"
|
||||
auth_secret: str = "change-me-eth-hedge-sim-secret"
|
||||
auth_token_ttl_sec: int = 60 * 60 * 24 * 7
|
||||
auth_token_version: int = 1 # 改密时递增,作废旧 token
|
||||
disable_api_docs: bool = True # 生产默认关闭 /docs
|
||||
login_max_attempts: int = 8
|
||||
login_window_sec: int = 300
|
||||
|
||||
okx_api_key: str = ""
|
||||
okx_api_secret: str = ""
|
||||
|
||||
Reference in New Issue
Block a user