fix invalid tpsl

master
TZGyn 9 months ago
parent b8ff408186
commit 9c6a038963
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -145,7 +145,7 @@ export const POST = async ({ locals, request }) => {
orderType: 'Market',
qty,
takeProfit: side === 'Buy' ? takeProfit : stopLoss,
stopLoss: side === 'Sell' ? stopLoss : takeProfit,
stopLoss: side === 'Buy' ? stopLoss : takeProfit,
isLeverage: isLeverage ? 1 : 0,
})
return new Response()

Loading…
Cancel
Save