Fix collateral price + remove close orders

This commit is contained in:
2025-05-28 12:39:25 +07:00
parent 4e49f03199
commit a31dff3f22
3 changed files with 36 additions and 14 deletions

View File

@@ -53,7 +53,7 @@ public class ClosePositionCommandHandler(
var closeRequestedOrders =
isForPaperTrading || (await exchangeService.CancelOrder(account, request.Position.Ticker));
true; // TODO: For gmx no need to close orders since they are closed automatically
// Close market
var closedPosition =