Sniper 1.0 completed

This commit is contained in:
Taha Afzal committed 2020-11-01 23:13:22 -05:00
1 parent 7914ed4147
commit 9b8ebe32d4
3 files changed
+291 -263

No files matched your search

@@ -182,6 +182,8 @@ void FifoSecurityMatcher::_on_order_not_affecting_books(
auto& opp_book = _book(_opp_side(ord.side));
uint32_t new_ord_rem = total_quantity(ord).value();
for (const FifoPriceLevelMatcher &pl : opp_book) {
if(!pl.populated())
continue;
if (_is_cross(ord, pl)){
uint32_t level_qty =
static_cast<uint32_t>(pl.total_quantity().value());