using System; using System.Collections.Generic; namespace CryptoExchange.Net.SharedApis { /// /// Request to subscribe to mark price updates for a symbol /// public record SubscribeMarkPriceRequest : SharedSymbolRequest { /// /// ctor /// /// The symbol to subscribe to /// Exchange specific parameters public SubscribeMarkPriceRequest(SharedSymbol symbol, ExchangeParameters? exchangeParameters = null) : base(symbol, exchangeParameters) { } /// /// ctor /// /// The symbols to subscribe to /// Exchange specific parameters public SubscribeMarkPriceRequest(IEnumerable symbols, ExchangeParameters? exchangeParameters = null) : base(symbols, exchangeParameters) { } /// /// ctor /// /// The symbols to subscribe to [Obsolete("Use SubscribeMarkPriceRequest(IEnumerable symbols, ExchangeParameters? exchangeParameters = null) instead")] public SubscribeMarkPriceRequest(params SharedSymbol[] symbols) : base(symbols, null) { } } }