|
|
|
@ -77,6 +77,8 @@ export const POST = async ({ locals, request }) => {
|
|
|
|
demoTrading: true,
|
|
|
|
demoTrading: true,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log({ qty, takeProfit, stopLoss })
|
|
|
|
|
|
|
|
|
|
|
|
await client.submitOrder({
|
|
|
|
await client.submitOrder({
|
|
|
|
category: 'linear',
|
|
|
|
category: 'linear',
|
|
|
|
symbol,
|
|
|
|
symbol,
|
|
|
|
|