Skip to content

Commit

Permalink
chore(dca, evaluateConditions): hide logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed Nov 9, 2024
1 parent 50d5be9 commit 5f353dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tools/src/dca/evaluateConditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export function evaluateConditions(entryConditions: RuleGroupType, indicators: I
continue;
}

console.log(
`Evaluate ${rule.field} ${rule.value.timeframe}: ${indicatorValue} ${rule.operator} ${rule.value.indicatorValue} -> ${evaluate(rule.operator, indicatorValue, Number(rule.value.indicatorValue))}`,
);
// console.log(
// `Evaluate ${rule.field} ${rule.value.timeframe}: ${indicatorValue} ${rule.operator} ${rule.value.indicatorValue} -> ${evaluate(rule.operator, indicatorValue, Number(rule.value.indicatorValue))}`,
// );
expressions.push(evaluate(rule.operator, indicatorValue, Number(rule.value.indicatorValue)));
} else {
// for non-indicator conditions
Expand Down

0 comments on commit 5f353dd

Please sign in to comment.