from fxhnt.application.forward_definition import track_definition
from fxhnt.registry import STRATEGY_REGISTRY


def test_multistrat_exec_is_observed_track():
    e = STRATEGY_REGISTRY["multistrat_exec"]
    assert e["venue"] == "ibkr-equity"
    _params, _version, mode = track_definition("multistrat_exec")
    assert mode == "observed"                       # executed fills are observed, not recomputable
    assert e["gate_spec"].get("gate_type") == "reconciliation"
