@ -169,7 +169,7 @@ export const POST = async ({ locals, request }) => {
takeProfit: side === 'Buy' ? takeProfit : stopLoss,
stopLoss: side === 'Buy' ? stopLoss : takeProfit,
isLeverage: isLeverage ? 1 : 0,
positionIdx,
positionIdx: hedge !== undefined ? positionIdx : undefined,
})
console.log('Order:', order)