namespace CryptoExchange.Net.SharedApis { /// /// Options for subscribing to ticker updates /// public class SubscribeTickerOptions : EndpointOptions { /// public override string Description => "Subscribe to price ticker updates for a symbol"; /// /// Type of ticker calculation /// public SharedTickerType TickerType { get; set; } /// /// ctor /// public SubscribeTickerOptions(string exchange, SharedTickerType? tickerCalcType = null) : base(exchange, false, nameof(ITickerSocketClient.SubscribeToTickerUpdatesAsync)) { TickerType = tickerCalcType ?? SharedTickerType.Day24H; } } }