From e08dc5dfba326db14befbfe171cccd1573a28cc7 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Fri, 20 Jul 2018 12:53:34 -0400 Subject: [PATCH] Add back the option to run sim without replay. --- src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp b/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp index b757e23ba..f2ffe0f0d 100644 --- a/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp +++ b/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp @@ -526,6 +526,9 @@ void ExchangeSimApplication::on_depth( if (sec.has_synthetic()) return ; + + if (!me->do_merge_with_md) + return; auto it = me->md_consumer_recs.find(sec.glbx().security_desc()); bts_assert(it != me->md_consumer_recs.end());