mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-14 15:11:44 +00:00
26 lines
866 B
C#
26 lines
866 B
C#
using CryptoExchange.Net.Objects;
|
|
using System;
|
|
using System.Linq;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Options for subscribing to order updates
|
|
/// </summary>
|
|
public class SubscribeSpotOrderOptions : CapabilityOptions<SubscribeSpotOrderRequest, ISubscribeSpotOrdersSocket>
|
|
{
|
|
/// <inheritdoc />
|
|
public override string Description => "Subscribe to spot order updates";
|
|
|
|
private static readonly RequestParameterDescription[] _defaultParameterRules = [];
|
|
|
|
/// <summary>
|
|
/// ctor
|
|
/// </summary>
|
|
public SubscribeSpotOrderOptions(string exchange, bool needsAuthentication)
|
|
: base(exchange, needsAuthentication, nameof(ISubscribeSpotOrdersSocket.SubscribeToSpotOrderUpdatesAsync), _defaultParameterRules, SharedTradingModeSets.Spot)
|
|
{
|
|
}
|
|
}
|
|
}
|