Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/ExchangeSharp/API/Exchanges/MEXC/ExchangeMEXCAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ protected override async Task<ExchangeOrderResult> OnPlaceOrderAsync(ExchangeOrd

if (order.OrderType != OrderType.Market)
{
decimal orderPrice = await ClampOrderPrice(order.MarketSymbol, order.Price.Value);
payload["price"] = orderPrice;
payload["price"] = order.Price.Value;
if (order.IsPostOnly != true)
payload["type"] = "LIMIT";
}
Expand Down Expand Up @@ -474,7 +473,7 @@ await _socket.SendMessageAsync(new WebSocketSubscription
}
);
}

protected override Task ProcessRequestAsync(
IHttpWebRequest request,
Dictionary<string, object>? payload
Expand Down
Loading