mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-08 16:36:15 +00:00
29 lines
700 B
C#
29 lines
700 B
C#
namespace CryptoExchange.Net.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Interface for order book entries
|
|
/// </summary>
|
|
public interface ISymbolOrderBookEntry
|
|
{
|
|
/// <summary>
|
|
/// The quantity of the entry
|
|
/// </summary>
|
|
decimal Quantity { get; set; }
|
|
/// <summary>
|
|
/// The price of the entry
|
|
/// </summary>
|
|
decimal Price { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Interface for order book entries
|
|
/// </summary>
|
|
public interface ISymbolOrderSequencedBookEntry: ISymbolOrderBookEntry
|
|
{
|
|
/// <summary>
|
|
/// Sequence of the update
|
|
/// </summary>
|
|
long Sequence { get; set; }
|
|
}
|
|
}
|