Merged from prod

This commit is contained in:
Pedro Pinto committed 2019-09-17 16:59:03 -04:00
commit b92fed4f47
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -12,7 +12,9 @@ insert_anchor_links = "right"
- Added security state information (pre open, halted, normal, closed, etc)
### Internal Changes
- Fixed an issue that was stopping us from interpreting SOD times as local rather than GMT
## 2.9.2
### Bug Fixes
- Fixed an issue with the exchange simulator that could lead to crossed markets
## 2.9.1
### Bug Fixes
- Fixed an issue with trade sound alerts, where in some cases the use of a "In Between" condition could lead to a UI failure.
@@ -178,7 +178,9 @@ void OrderMatcher::match(std::vector<Order> *out) {
auto iBid = me->bids.begin();
auto iAsk = me->asks.begin();
if (iBid->price() >= iAsk->price()) {
if (iBid->price() > iAsk->price() ||
price_equals(iBid->price(), iAsk->price()))
{
Order bid = *iBid;
Order ask = *iAsk;