# trex-core per-instance config (BAT-013 / REQ-048). # Copy to e.g. config/inst-1.toml and pass with: trex-core-daemon --config config/inst-1.toml # Real per-instance files are gitignored (they hold the portfolio-hub token). # Instance identifier. Drives queue names: # default -> trex.intent.req / trex.snapshot.req / trex.control.req (legacy literal) # -> trex.intent.req. etc + trex.direct routing key {instance_key}.{channel} instance_key = "default" # portfolio-hub auth token (kept out of .env). Injected into PortfolioHubConfig.token # when TREX_PORTFOLIO_HUB_BASE_URL is set in the environment. portfolio_hub_token = "" # dcy-014 / REQ-005: trading_date is computed in this timezone (IANA name), # while all timestamps stay UTC. Default Asia/Seoul (KST). trading_timezone = "Asia/Seoul" # Daily slot preallocation trigger (HH:MM, in trading_timezone). The next day's # slots are created at this local time without a daemon restart. Default midnight. daily_preallocation_time = "00:00"