# Tongo Core Configuration
# Quark's Holo-Grid Ledger — Simulation Engine
#
# Override any value with TONGO_ prefixed environment variables.
# Example: TONGO_VALKEY_HOST=redis.example.com

daemon:
  tick_interval_ms: 2000
  log_level: "info"

valkey:
  host: "localhost"
  port: 6379
  password: ""
  db: 0

engine:
  target_active_matches: 8
  max_active_matches: 12
  min_active_matches: 4
  pre_match_duration_ticks: 30
  min_match_duration_ticks: 60
  max_match_duration_ticks: 150
  resolving_duration_ticks: 3
  taxonomy_path: "../data-source/taxonomy.yaml"

combat:
  damage_scaling_factor: 0.1
  damage_variance_low: 0.6
  damage_variance_high: 1.4
  critical_hit_chance: 0.05
  critical_hit_multiplier: 3.0

markets:
  primary_margin: 1.06
  secondary_margin: 1.075
  exotic_margin: 1.12
  min_price: 1.01
  max_price: 51.00
  min_probability: 0.02
  max_probability: 0.98
