using System; using System.Collections.Generic; using System.Text; namespace CryptoExchange.Net.SharedApis { /// /// Options for requesting the index price /// public class GetAllIndexPricesOptions : CapabilityOptions { /// public override string Description => "Retrieve the index prices for all futures symbols"; private static readonly RequestParameterDescription[] _defaultParameterRules = new[] { RequestParameterRule.Optional(x => x.TradingMode, "Filter the index prices by trading mode", TradingMode.PerpetualLinear), }; /// /// ctor /// public GetAllIndexPricesOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetAllIndexPricesRest.GetAllIndexPricesAsync), _defaultParameterRules) { } } }