Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

fix https://github.com/JKorf/FTX.Net/issues/31 #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion FTX.Net/Clients/TradeApi/FTXClientTradeApiTrading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public async Task<WebCallResult<FTXTriggerOrder>> ModifyTriggerOrderAsync(long o
}

/// <inheritdoc />
public async Task<WebCallResult<FTXOrder>> ModifyOrderByClientOrderIdAsync(long clientOrderId, decimal? price = null, decimal? quantity = null, string? newClientOrderId = null, string? subaccountName = null, CancellationToken ct = default)
public async Task<WebCallResult<FTXOrder>> ModifyOrderByClientOrderIdAsync(string clientOrderId, decimal? price = null, decimal? quantity = null, string? newClientOrderId = null, string? subaccountName = null, CancellationToken ct = default)
{
var parameters = new Dictionary<string, object>();
parameters.AddOptionalParameter("price", price?.ToString(CultureInfo.InvariantCulture));
Expand Down
4 changes: 2 additions & 2 deletions FTX.Net/FTX.Net.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Task<WebCallResult<FTXTriggerOrder>> PlaceTriggerOrderAsync(
/// <param name="subaccountName">Subaccount name to execute this request for</param>
/// <param name="ct">Cancellation token</param>
/// <returns></returns>
Task<WebCallResult<FTXOrder>> ModifyOrderByClientOrderIdAsync(long clientOrderId, decimal? price = null, decimal? quantity = null, string? newClientOrderId = null, string? subaccountName = null, CancellationToken ct = default);
Task<WebCallResult<FTXOrder>> ModifyOrderByClientOrderIdAsync(string clientOrderId, decimal? price = null, decimal? quantity = null, string? newClientOrderId = null, string? subaccountName = null, CancellationToken ct = default);

/// <summary>
/// Get the status of an order
Expand Down