diff --git a/doc/user/docs/release_notes.md b/doc/user/docs/release_notes.md index 10120db8c..722258b98 100644 --- a/doc/user/docs/release_notes.md +++ b/doc/user/docs/release_notes.md @@ -1,4 +1,25 @@ # Release Notes + +## 1.4.10 +### Bug Fixes + - Removed duplicate entries in performance log + +## 1.4.9 +### SDK + - Added ticker events to the order API +### Performance Improvements + - Significantly improved hedging speed +### Bug Fixes + - Fixed a visual oddity in the order book UI when using High DPI displays + +## 1.4.8 +### Marketdata + - Additional trade details for CME ticker + +## 1.4.7 +### Bug Fixes + - Corrected FIX tag 1028, ManualOrderIndicator, when orders are triggered by algos + ## 1.4.6 ### Ladder Usability Improvements - The ladder can now be zoomed in/out according to a user's preference diff --git a/externals b/externals index 69f863923..5570689de 160000 --- a/externals +++ b/externals @@ -1 +1 @@ -Subproject commit 69f863923502b11c8d7fde491e4b5aec5b705e97 +Subproject commit 5570689de27947a1573aa82e8f0e13000234f639 diff --git a/src/client/spark/Images/Icons.cs b/src/client/spark/Images/Icons.cs index e1ae2cae3..5ac03d359 100644 --- a/src/client/spark/Images/Icons.cs +++ b/src/client/spark/Images/Icons.cs @@ -59,7 +59,9 @@ namespace mbts.ui { } private static ImageSource load_resource_and_freeze(string resource_name) { - return ((DrawingImage)_resources[resource_name]).frozen(); + lock (_resources) { + return ((DrawingImage)_resources[resource_name]).frozen(); + } } #pragma warning disable CS0618 // Type or member is obsolete @@ -193,7 +195,6 @@ namespace mbts.ui { public static Drawing create_drawing(IEnumerable paths, Brush brush, Pen pen = null, Transform transform = null) { var drawing_group = new DrawingGroup(); foreach (string p in paths) { - var gd = new GeometryDrawing(brush, pen, Geometry.Parse(p)); drawing_group.Children.Add(new GeometryDrawing(brush, pen, Geometry.Parse(p))); } if (transform != null) @@ -202,7 +203,10 @@ namespace mbts.ui { } public static IEnumerable get_geometric_path(string geometric_path_key) { - object obj = _resources[geometric_path_key]; + object obj; + lock (_resources) { + obj = _resources[geometric_path_key]; + } if (obj is string path) { if (string.IsNullOrEmpty(path)) { Log.Api.error($"Resource lookup of '{geometric_path_key}' did not return a valid string.", nameof(geometric_path_key)); @@ -213,22 +217,5 @@ namespace mbts.ui { return paths.Where(p => !string.IsNullOrEmpty(p)).ToArray(); } else return null; } - - public static Drawing create_disk_document_icon(IEnumerable paths, Brush brush, Pen pen = null, Transform transform = null) { - var drawing_group = new DrawingGroup(); - var plist = paths.ToList(); - int c = 0; - foreach (string p in paths) { - var gd = new GeometryDrawing(brush, pen, Geometry.Parse(p)); - if (c == plist.Count - 1) { - //gd.Bounds = new Rect(20, 20, 8, 7); - //gd. - } - drawing_group.Children.Add(new GeometryDrawing(brush, pen, Geometry.Parse(p))); - } - if (transform != null) - drawing_group.Transform = transform; - return drawing_group; - } } -} \ No newline at end of file +} diff --git a/src/client/spark/view/Controls/DIYGrid/DIYGridResources.xaml b/src/client/spark/view/Controls/DIYGrid/DIYGridResources.xaml index 0d77a7a05..4cd01bcb9 100644 --- a/src/client/spark/view/Controls/DIYGrid/DIYGridResources.xaml +++ b/src/client/spark/view/Controls/DIYGrid/DIYGridResources.xaml @@ -62,7 +62,8 @@