From 870c69b834ca9e64f07186ee9219da5441cc7bcf Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Sun, 13 Dec 2020 18:08:09 -0500 Subject: [PATCH] Removed incorrect assertions. --- src/server/sparkd/cmds/spartan/md/mdp3/back_testing/sim/Sim.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/sparkd/cmds/spartan/md/mdp3/back_testing/sim/Sim.cpp b/src/server/sparkd/cmds/spartan/md/mdp3/back_testing/sim/Sim.cpp index 9741fbdd5..0300de8aa 100644 --- a/src/server/sparkd/cmds/spartan/md/mdp3/back_testing/sim/Sim.cpp +++ b/src/server/sparkd/cmds/spartan/md/mdp3/back_testing/sim/Sim.cpp @@ -277,7 +277,6 @@ void Sim::on_pcap_event_during_simulation() { // The security was not ready for trading but it is now. We // need to boostrap the matcher with its current order book. if (!was_ready && is_ready) { - bts_assert(snap.order_changes().empty()); sim_log("sec_started_trading", snap.symbol()); bootstrap_simulated_order_book(ev.transact_time, this_sid); } @@ -285,7 +284,6 @@ void Sim::on_pcap_event_during_simulation() { // The security was trading but is no longer. We need to // clear it from the matcher. else if (was_ready && !is_ready) { - bts_assert(snap.order_changes().empty()); sim_log("sec_stoped_trading", snap.symbol()); clear_simulated_order_book(ev.transact_time, this_sid); }