From 6d35266dd8a2dea88aa39b9d23508ba43d47c0bf Mon Sep 17 00:00:00 2001 From: daniel1302 Date: Mon, 15 Jul 2024 12:48:45 +0200 Subject: [PATCH] feat: improve filtering for active amm submissions --- vega_sim/scenario/common/agents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vega_sim/scenario/common/agents.py b/vega_sim/scenario/common/agents.py index b671f7f16..07050b1b4 100644 --- a/vega_sim/scenario/common/agents.py +++ b/vega_sim/scenario/common/agents.py @@ -3957,7 +3957,7 @@ def _check(self) -> bool: market_id=self.market_id, party_id=self._public_key, status=vega_protos_events.AMM.Status.Value("STATUS_ACTIVE"), - )] + ) if amm.status == vega_protos_events.AMM.Status.Value("STATUS_ACTIVE")] if len(amms) > 0: self.amm_created = True