SPARK-1659 Update producer api to handle implied markets (push early for emumba)

This commit is contained in:
Eric Harding committed 2018-09-07 09:29:41 -04:00
1 parent 7bda1cc1cc
commit dd5b489e8f
8 files changed
+16 -11

No files matched your search

@@ -473,7 +473,7 @@ void ExchangeSimApplication::update_md(std::string const &sec_desc) {
return md::PriceSize::from_double<7>(
bs.first.value() * price_factor, bs.second.value());
});
handle.update_book(utils::TimeStamp::now(), bids_temp, asks_temp);
handle.update_direct(utils::TimeStamp::now(), bids_temp, asks_temp);
auto new_trades = matcher.get_new_trades();
for (auto &t : new_trades)