Fix build
This commit is contained in:
@@ -279,7 +279,7 @@ public class TradingService : ITradingService
|
|||||||
{
|
{
|
||||||
_logger.LogInformation(
|
_logger.LogInformation(
|
||||||
$"[{shortAddress}][{ticker}] Trader previously got a position open but the position was close by trader");
|
$"[{shortAddress}][{ticker}] Trader previously got a position open but the position was close by trader");
|
||||||
await _messengerService.SendClosedPosition(a.Account.Address, oldTrade);
|
// TODO : Send position closed
|
||||||
a.Trades.Remove(oldTrade);
|
a.Trades.Remove(oldTrade);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ async function init () {
|
|||||||
|
|
||||||
app.log.info(`Idempotency: Stored response for request ${requestId}`)
|
app.log.info(`Idempotency: Stored response for request ${requestId}`)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
app.log.error(`Idempotency: Failed to store response for request ${requestId}:`, error)
|
app.log.error(error, `Idempotency: Failed to store response for request ${requestId}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,8 +60,6 @@ test('GMX get position history - Closed positions with actual PnL', async (t) =>
|
|||||||
sdk,
|
sdk,
|
||||||
0,
|
0,
|
||||||
10,
|
10,
|
||||||
fromTimestamp,
|
|
||||||
toTimestamp
|
|
||||||
)
|
)
|
||||||
|
|
||||||
console.log(`\n📅 Closed positions in last 7 days: ${result.length}`)
|
console.log(`\n📅 Closed positions in last 7 days: ${result.length}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user