mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-20 12:53:02 +00:00
Fixed various info-warnings and spelling issues
This commit is contained in:
@@ -94,7 +94,7 @@ namespace CryptoExchange.Net.Trackers.Klines
|
||||
IEnumerable<SharedKline> GetData(DateTime? fromTimestamp = null, DateTime? toTimestamp = null);
|
||||
|
||||
/// <summary>
|
||||
/// Get statitistics on the klines
|
||||
/// Get statistics on the klines
|
||||
/// </summary>
|
||||
/// <param name="fromTimestamp">Start timestamp to get the data from, defaults to tracked data start time</param>
|
||||
/// <param name="toTimestamp">End timestamp to get the data until, defaults to current time</param>
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace CryptoExchange.Net.Trackers.Trades
|
||||
IEnumerable<SharedTrade> GetData(DateTime? fromTimestamp = null, DateTime? toTimestamp = null);
|
||||
|
||||
/// <summary>
|
||||
/// Get statitistics on the trades
|
||||
/// Get statistics on the trades
|
||||
/// </summary>
|
||||
/// <param name="fromTimestamp">Start timestamp to get the data from, defaults to tracked data start time</param>
|
||||
/// <param name="toTimestamp">End timestamp to get the data until, defaults to current time</param>
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace CryptoExchange.Net.Trackers.Trades
|
||||
Period = period;
|
||||
}
|
||||
|
||||
private TradesStats GetStats(IEnumerable<SharedTrade> trades)
|
||||
private static TradesStats GetStats(IEnumerable<SharedTrade> trades)
|
||||
{
|
||||
if (!trades.Any())
|
||||
return new TradesStats();
|
||||
@@ -350,7 +350,7 @@ namespace CryptoExchange.Net.Trackers.Trades
|
||||
_data.Add(item);
|
||||
}
|
||||
|
||||
if (_data.Any())
|
||||
if (_data.Count != 0)
|
||||
_firstTimestamp = _data.Min(v => v.Timestamp);
|
||||
|
||||
ApplyWindow(false);
|
||||
@@ -431,7 +431,6 @@ namespace CryptoExchange.Net.Trackers.Trades
|
||||
SetSyncStatus();
|
||||
}
|
||||
|
||||
|
||||
private void HandleConnectionLost()
|
||||
{
|
||||
_logger.TradeTrackerConnectionLost(SymbolName);
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CryptoExchange.Net.Trackers.Trades
|
||||
public bool Complete { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Compare 2 stat snapshots to eachother
|
||||
/// Compare 2 stat snapshots to each other
|
||||
/// </summary>
|
||||
public TradesCompare CompareTo(TradesStats otherStats)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user