Fixed bug that was preventing import of oil data.

This commit is contained in:
Pedro Pinto committed 2020-08-18 13:06:58 -04:00
1 parent ec3d642cee
commit 86ca092f18
1 file changed
+3 -1
@@ -178,8 +178,10 @@ void RealTimeHandler::operator()(::mdp3::MDIncrementalRefreshBook46 &m) {
m.noMDEntries().forEach([&ev, this, &cache, &cache_idx](auto &md_entry) {
auto sid = MDP3SecurityID{md_entry.securityID()};
auto iptr = find_instrument(sid);
if (!iptr)
if (!iptr) {
cache_idx++;
return;
}
ev.record_security_change(iptr);
auto side = convert_side(md_entry.mDEntryType());