From 06add653541021d3190966c6831bee8116ae0948 Mon Sep 17 00:00:00 2001 From: JKorf Date: Mon, 2 Dec 2024 21:46:30 +0100 Subject: [PATCH] Fixed KlineTracker update handling --- CryptoExchange.Net/Trackers/Klines/KlineTracker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CryptoExchange.Net/Trackers/Klines/KlineTracker.cs b/CryptoExchange.Net/Trackers/Klines/KlineTracker.cs index cb16c559..a11c60f7 100644 --- a/CryptoExchange.Net/Trackers/Klines/KlineTracker.cs +++ b/CryptoExchange.Net/Trackers/Klines/KlineTracker.cs @@ -23,7 +23,7 @@ public class KlineTracker : IKlineTracker /// /// The internal data structure /// - protected readonly Dictionary _data = new Dictionary(); + protected readonly SortedDictionary _data = new SortedDictionary(); /// /// The pre-snapshot queue buffering updates received before the snapshot is set and which will be applied after the snapshot was set ///