Removed incorrect assertions.
This commit is contained in:
1 parent
4f39307b9b
commit
870c69b834
1 file changed
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user