using CryptoExchange.Net.Objects; using System; using System.Linq; namespace CryptoExchange.Net.SharedApis { /// /// Options for subscribing to order updates /// public class SubscribeSpotOrderOptions : CapabilityOptions { /// public override string Description => "Subscribe to spot order updates"; private static readonly RequestParameterDescription[] _defaultParameterRules = []; /// /// ctor /// public SubscribeSpotOrderOptions(string exchange, bool needsAuthentication) : base(exchange, needsAuthentication, nameof(ISubscribeSpotOrdersSocket.SubscribeToSpotOrderUpdatesAsync), _defaultParameterRules, SharedTradingModeSets.Spot) { } } }