fix: Apply ib qty change in OrderModification::apply

This commit is contained in:
John Colvin committed 2021-02-09 12:11:15 -06:00
1 parent 36ac807635
commit 70d0ed54a4
1 file changed
+2
@@ -31,6 +31,8 @@ void OrderModification::apply(MDP3Order &target) const {
target.price = price.value();
if (quantity.has_value())
target.quantity = quantity.value();
if (target.iceberg_quantity.has_value())
iceberg_quantity.apply(target.iceberg_quantity.value());
}
} // namespace bts::spartan::mdp3