Added names and ready notice
 
	
	
	
	
	
	
	
	
	
	
	
	
	
 |  |  | 
 |  |  | void mainLoop() | 
 |  |  | { | 
 |  |  |     auto bs = protocol::recoverBook(); | 
 |  |  |     std::cout << "ready" << std::endl; | 
 |  |  |     while (true) { | 
 |  |  |         auto messages = protocol::catchUp(bs); | 
 |  |  |         // bom::updateBom(bs); | 
 |  |  | 
 |  |  |     for (auto& i : m) { | 
 |  |  |         if (i->type == json::ADDED) { | 
 |  |  |             json::AddedMessage* j = (json::AddedMessage*)i; | 
 |  |  |             if (j->owner == "jgrunbau") { | 
 |  |  |             if (j->owner == "nseow" || j->owner == "jgrunbau" || j->owner == "zoar" || j->owner == "aobrien") { | 
 |  |  |                 book::OrderSideEnum s = | 
 |  |  |                     j->side == book::Buy ? book::Sell : book::Buy; | 
 |  |  |                 json::AddMessage a(json::ADD, j->product, j->price, s, |