Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lehieuhust committed Aug 21, 2023
1 parent 0f31e93 commit f5a1009
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/market-maker/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion packages/market-maker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit f5a1009

Please sign in to comment.