Skip to content

Commit 9532d63

Browse files
authored
[FTX] Fix OnGetOrderDetailsAsync (#676)
1 parent 0fb4da6 commit 9532d63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ExchangeSharp/API/Exchanges/FTX/ExchangeFTXAPI.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ protected async override Task<ExchangeOrderBook> OnGetOrderBookAsync(string mark
288288
/// <inheritdoc />
289289
protected async override Task<ExchangeOrderResult> OnGetOrderDetailsAsync(string orderId, string marketSymbol = null, bool isClientOrderId = false)
290290
{ // https://docs.ftx.com/#get-order-status and https://docs.ftx.com/#get-order-status-by-client-id
291-
if (marketSymbol != null) throw new NotImplementedException("Searching by marketSymbol is either not implemented by or supported by this exchange. Please submit a PR if you are interested in this feature");
291+
if (!string.IsNullOrEmpty(marketSymbol)) throw new NotImplementedException("Searching by marketSymbol is either not implemented by or supported by this exchange. Please submit a PR if you are interested in this feature");
292292

293293
var url = "/orders/";
294294
if (isClientOrderId)
@@ -339,7 +339,6 @@ protected override async Task<ExchangeWithdrawalResponse> OnWithdrawAsync(Exchan
339339
{ "coin", request.Currency },
340340
{ "size", request.Amount },
341341
{ "address", request.Address },
342-
{ "tag", request.AddressTag },
343342
{ "nonce", await GenerateNonceAsync() },
344343
{ "password", request.Password },
345344
{ "code", request.Code }

0 commit comments

Comments
 (0)