Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandSchtroumpf committed Jan 16, 2024
1 parent bd0410b commit beed751
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ export const CreateOverlappingStrategy: FC<OverlappingStrategyProps> = (
if (!quote || !base || marketPrice <= 0) return;
if (!order0.min && !order1.max) {
const { min, max } = getInitialPrice(new SafeDecimal(marketPrice), quote);
// const _marketPrice = new SafeDecimal(marketPrice);
// const min = _marketPrice.times(0.999).toFixed(quote.decimals);
// const max = _marketPrice.times(1.001).toFixed(quote.decimals);
console.log({ min, max });
if (isValidRange(min, max)) setOverlappingParams(min, max);
} else {
const min = order0.min;
Expand Down

0 comments on commit beed751

Please sign in to comment.