mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-20 12:53:02 +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; }
|
|
}
|
|
}
|