Merged master

This commit is contained in:
Pedro Pinto committed 2018-12-03 09:47:42 -05:00
commit dd2067802f
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -4,6 +4,11 @@
### Bug Fixes
- When creating a synthetic from the Market View window, securities are now added to the Create Synthetic dialog in the same sort order as they appear in grid
## 1.4.2
### Bug Fixes
- Shell no longer crashes when removing a security from the synthetics window
## 1.4.1
### Tabs
@@ -95,7 +95,7 @@ namespace mbts.spark {
/// Warning: <see cref="_security_md_cache"/> must NOT be reassigned with <see cref="securities"/>; the latter is always the same object.
/// This would mean that the <see cref="GlobalExtensions.difference{T}(IEnumerable{T}, IEnumerable{T}, out IEnumerable{T}, out IEnumerable{T})"/>
/// call above would literally be calculating the difference between the keys of the same dictionary!
foreach (var k in removed_keys) {
foreach (var k in removed_keys.ToList()) {
if (_security_orders.try_lookup(k, out ISet<uint> order_keys)) {
SecurityMD old_sec_md = _security_md_cache[k];
removed_securities.Add(k, old_sec_md);
@@ -109,7 +109,7 @@ namespace mbts.spark {
}
_security_md_cache.Remove(k);
}
foreach (var k in added_keys) {
foreach (var k in added_keys.ToList()) {
SecurityMD new_sec_md = securities[k];
if (_security_orders.try_lookup(k, out ISet<uint> order_keys)) {
added_securities.Add(k, new_sec_md);