Skip to content

Commit

Permalink
update active strategy filter
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandSchtroumpf committed Feb 15, 2024
1 parent 7d477db commit 649fc14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 649fc14

Please sign in to comment.