mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-16 10:53:08 +00:00
9e86a08327
Fix for intermittently failing rate limiting test Added ConnectionId to RequestDefinition to correctly handle connection and path rate limiting configuration Added ValidateMessage method to websocket Query object to filter messages even though it is matched to the query based on the ListenIdentifier Added KlineTracker and TradeTracker implementation
31 lines
759 B
C#
31 lines
759 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CryptoExchange.Net.Trackers.Klines
|
|
{
|
|
/// <summary>
|
|
/// Klines statistics comparison
|
|
/// </summary>
|
|
public record KlinesCompare
|
|
{
|
|
/// <summary>
|
|
/// Number of trades
|
|
/// </summary>
|
|
public CompareValue? LowPriceDif { get; set; }
|
|
/// <summary>
|
|
/// Number of trades
|
|
/// </summary>
|
|
public CompareValue? HighPriceDif { get; set; }
|
|
/// <summary>
|
|
/// Number of trades
|
|
/// </summary>
|
|
public CompareValue? VolumeDif { get; set; }
|
|
/// <summary>
|
|
/// Number of trades
|
|
/// </summary>
|
|
public CompareValue? AverageVolumeDif { get; set; }
|
|
|
|
}
|
|
}
|