Commented out the IB annotation until we get it sorted out.
This commit is contained in:
1 parent
9787f2ed8e
commit
6df3dce95d
1 file changed
+8
-8
@@ -423,7 +423,7 @@ void Sim::clear_simulated_order_book(MDP3TimeStamp transact_time,
|
||||
match_and_send_effects(transact_time, matcher_input);
|
||||
}
|
||||
|
||||
SmallOrderChange Sim::correct_pcap_order(OrderChange const &o, bool set_exact_ib_state) {
|
||||
SmallOrderChange Sim::correct_pcap_order(OrderChange const &o, bool ) {
|
||||
bts_assert(me->state == State::SIM);
|
||||
bts_assert(me->simulation);
|
||||
auto &key_map = me->simulation->cme_key_map;
|
||||
@@ -452,13 +452,13 @@ SmallOrderChange Sim::correct_pcap_order(OrderChange const &o, bool set_exact_ib
|
||||
result.order.key = our_key;
|
||||
}
|
||||
}
|
||||
if (o.change != OrderChange::ChangeType::removed) {
|
||||
// IcebergMap is keyed by exchange keys
|
||||
auto ib_it = me->ib_map.find(result.original_key);
|
||||
if (ib_it != me->ib_map.end())
|
||||
iceberg_helper::add_iceberg_annotation(
|
||||
result.order, result.change, ib_it->second, me->event_id.first, set_exact_ib_state);
|
||||
}
|
||||
// if (o.change != OrderChange::ChangeType::removed) {
|
||||
// // IcebergMap is keyed by exchange keys
|
||||
// auto ib_it = me->ib_map.find(result.original_key);
|
||||
// if (ib_it != me->ib_map.end())
|
||||
// iceberg_helper::add_iceberg_annotation(
|
||||
// result.order, result.change, ib_it->second, me->event_id.first, set_exact_ib_state);
|
||||
// }
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user