|
|
@@ -202,13 +202,13 @@ export async function checkParentPositionsClosed(): Promise<void> {
|
|
|
console.log(`[closePosition] 父仓位已关闭: ${parentAddress},调用接口关闭子仓位`)
|
|
|
try {
|
|
|
const closeRes = await callLpCloseApi(lpCloseApiUrl, lpCloseAuth, childAddress)
|
|
|
- await sendDiscordCloseResultNotification(
|
|
|
- discordWebhookUrl,
|
|
|
- childAddress,
|
|
|
- parentAddress,
|
|
|
- !!closeRes?.success,
|
|
|
- closeRes?.txid
|
|
|
- )
|
|
|
+ // await sendDiscordCloseResultNotification(
|
|
|
+ // discordWebhookUrl,
|
|
|
+ // childAddress,
|
|
|
+ // parentAddress,
|
|
|
+ // !!closeRes?.success,
|
|
|
+ // closeRes?.txid
|
|
|
+ // )
|
|
|
if (closeRes?.success) {
|
|
|
console.log(`[closePosition] 子仓位 ${childAddress} 关闭成功, txid: ${closeRes.txid ?? '-'}`)
|
|
|
} else {
|