protocol.cpp
@@ -170,7 +170,7 @@ void tradeOrder(std::unordered_map<std::string, book::Book>& bs, json::TradeMessage* message) { if (bs.contains(message->passiveOrder)) { if (bs.find(message->passiveOrder) != bs.end()) { if (message->tradeType == json::BUY_AGGRESSOR) { if (message->passiveOrderRemaining > 0) { bs[message->product].askSide.at(message->passiveOrder).volume =