mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-11-14 09:18:09 +00:00
28 lines
758 B
C#
28 lines
758 B
C#
using CryptoExchange.Net.Objects;
|
|
using CryptoExchange.Net.SharedApis.Enums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Options for subscribing to ticker updates
|
|
/// </summary>
|
|
public class SubscribeTickerOptions : EndpointOptions<SubscribeTickerRequest>
|
|
{
|
|
/// <summary>
|
|
/// Type of ticker calculation
|
|
/// </summary>
|
|
public SharedTickerType TickerType { get; set; }
|
|
|
|
/// <summary>
|
|
/// ctor
|
|
/// </summary>
|
|
public SubscribeTickerOptions(SharedTickerType? tickerCalcType = null) : base(false)
|
|
{
|
|
TickerType = tickerCalcType ?? SharedTickerType.Day24H;
|
|
}
|
|
}
|
|
}
|