Fixed bug that was preventing import of oil data.
This commit is contained in:
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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user