"""Demo configuration for XLTPrivilege.

This mirrors `demo/xlt_privilege_api_demo/xlt_privilege_demo.cpp`.
Edit the IP/port and trading day to match your environment.
"""

from __future__ import annotations

import py_xlt_api as xlt


def default_config() -> xlt.XLTPrivilegeConfig:
    cfg = xlt.XLTPrivilegeConfig()

    # Keep defaults aligned with the C++ demo.
    cfg.set_trading_day(20260310)
    cfg.set_local_addr("172.16.10.155", "172.16.10.155")
    cfg.add_agw_addr("192.168.5.215", 6060)

    return cfg

