using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace CryptoExchange.Net.SharedApis
{
///
/// Client for managing futures orders using a client order id
///
public interface IFuturesOrderClientIdRestClient : ISharedClient
{
///
/// Futures get order by client order id request options
///
EndpointOptions GetFuturesOrderByClientOrderIdOptions { get; }
///
/// Get info on a specific futures order using a client order id
///
/// Request info
/// Cancellation token
Task> GetFuturesOrderByClientOrderIdAsync(GetOrderRequest request, CancellationToken ct = default);
///
/// Futures cancel order by client order id request options
///
EndpointOptions CancelFuturesOrderByClientOrderIdOptions { get; }
///
/// Cancel a futures order using client order id
///
/// Request info
/// Cancellation token
Task> CancelFuturesOrderByClientOrderIdAsync(CancelOrderRequest request, CancellationToken ct = default);
}
}