From 649fc1423cc267268ba9c0307bda52599b55bd98 Mon Sep 17 00:00:00 2001 From: GrandSchtroumpf Date: Thu, 15 Feb 2024 18:08:23 +0100 Subject: [PATCH] update active strategy filter --- .../ethereum/carbon-defi.strategy.contract-position-fetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts b/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts index 7ac51f06f..7751277ce 100644 --- a/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts +++ b/src/apps/carbon-defi/ethereum/carbon-defi.strategy.contract-position-fetcher.ts @@ -38,7 +38,7 @@ type StrategyProps = { }; function isActiveStrategy([buy, sell]: readonly [Order, Order]) { - return !!buy.A || !!buy.B || !!sell.A || !!sell.B; + return !!buy.y || !!sell.y; } @PositionTemplate()