diff --git a/packages/market-maker/src/common.ts b/packages/market-maker/src/common.ts index d21f1234..d793c554 100644 --- a/packages/market-maker/src/common.ts +++ b/packages/market-maker/src/common.ts @@ -189,7 +189,6 @@ export const cancelOutofSpreadOrder = async ( queryTicks.ticks.forEach(async (tick: tick) => { let tick_price = parseFloat(tick.price); - console.log({tick_price}); if (tick_price > upperPriceLimit || tick_price < lowerPriceLimit) { const ordersbyPrice = await sender.client.queryContractSmart(orderbookAddress, { orders: { diff --git a/packages/market-maker/src/index.ts b/packages/market-maker/src/index.ts index 520d1e17..945743e2 100644 --- a/packages/market-maker/src/index.ts +++ b/packages/market-maker/src/index.ts @@ -77,8 +77,8 @@ const generateMatchOrders = async (oraiPrice: number, usdtContractAddress: Addr, } mmVolumebyPrice += 1; - console.log("trader price: ", tick.price); console.log({mmVolumebyPrice}, {mmAskVolumebyPrice}); + console.log("trader price: ", tick.price); console.log("mm price:", direction === "buy" ? Number(mmVolumebyPrice/mmAskVolumebyPrice) : Number(mmAskVolumebyPrice/mmVolumebyPrice)); const submitMsg: OraiswapLimitOrderTypes.ExecuteMsg = {