1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-10-17 00:20:55 +00:00
Files
CryptoExchange.Net/CryptoExchange.Net/SharedApis/Models/Rest/GetOrderBookRequest.cs
T
2024-09-27 09:17:44 +02:00

25 lines
808 B
C#

namespace CryptoExchange.Net.SharedApis
{
/// <summary>
/// Request to retrieve the current order book
/// </summary>
public record GetOrderBookRequest: SharedSymbolRequest
{
/// <summary>
/// Depth of the order book
/// </summary>
public int? Limit { get; set; }
/// <summary>
/// ctor
/// </summary>
/// <param name="symbol">The symbol the order is on</param>
/// <param name="limit">Depth of the order book</param>
/// <param name="exchangeParameters">Exchange specific parameters</param>
public GetOrderBookRequest(SharedSymbol symbol, int? limit = null, ExchangeParameters? exchangeParameters = null) : base(symbol, exchangeParameters)
{
Limit = limit;
}
}
}