Skip to content

Commit

Permalink
Refs #1386: Correct goodTillDate timestamp format to milliseconds (#1387
Browse files Browse the repository at this point in the history
)
  • Loading branch information
roman-ivanchuk authored Jun 22, 2024
1 parent 098a1b8 commit 25dfa13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public async Task<WebCallResult<BinanceUsdFuturesOrder>> PlaceOrderAsync(
parameters.AddOptionalParameter("priceProtect", priceProtect?.ToString().ToUpper());
parameters.AddOptionalEnum("priceMatch", priceMatch);
parameters.AddOptionalEnum("selfTradePreventionMode", selfTradePreventionMode);
parameters.AddOptionalSeconds("goodTillDate", goodTillDate);
parameters.AddOptionalMilliseconds("goodTillDate", goodTillDate);

var request = _definitions.GetOrCreate(HttpMethod.Post, "fapi/v1/order", BinanceExchange.RateLimiter.FuturesRest, 0, true);
var result = await _baseClient.SendAsync<BinanceUsdFuturesOrder>(request, parameters, ct).ConfigureAwait(false);
Expand Down

0 comments on commit 25dfa13

Please sign in to comment.