using CryptoExchange.Net.Objects; using System.Threading; using System.Threading.Tasks; namespace CryptoExchange.Net.SharedApis { /// /// Client for placing trigger orders /// public interface IFuturesTriggerOrderRestClient : ISharedClient { /// /// Place spot trigger order options.
/// Use and to check for required and optional parameters for the request.
/// Exchange specific parameters can be added to the request via the `ExchangeParameters` property of the request object. ///
PlaceFuturesTriggerOrderOptions PlaceFuturesTriggerOrderOptions { get; } /// /// Place a new trigger order, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token /// Task> PlaceFuturesTriggerOrderAsync(PlaceFuturesTriggerOrderRequest request, CancellationToken ct = default); /// /// Get trigger order request options.
/// Use and to check for required and optional parameters for the request.
/// Exchange specific parameters can be added to the request via the `ExchangeParameters` property of the request object. ///
GetFuturesTriggerOrderOptions GetFuturesTriggerOrderOptions { get; } /// /// Get info on a specific trigger order, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token Task> GetFuturesTriggerOrderAsync(GetOrderRequest request, CancellationToken ct = default); /// /// Cancel trigger order request options.
/// Use and to check for required and optional parameters for the request.
/// Exchange specific parameters can be added to the request via the `ExchangeParameters` property of the request object. ///
CancelFuturesTriggerOrderOptions CancelFuturesTriggerOrderOptions { get; } /// /// Cancel a trigger order, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token Task> CancelFuturesTriggerOrderAsync(CancelOrderRequest request, CancellationToken ct = default); } }