From 441abf1e6a15a39f1ef7bf5e4ee2a4a43bff327b Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 20 Jan 2022 05:18:00 +0000
Subject: [PATCH] Added names and ready notice

---
 strat.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/strat.cpp b/strat.cpp
index a25ca17..fe26c2e 100644
--- a/strat.cpp
+++ b/strat.cpp
@@ -43,6 +43,7 @@
 void mainLoop()
 {
 	auto bs = protocol::recoverBook();
+    std::cout << "ready" << std::endl;
 	while (true) {
 		auto messages = protocol::catchUp(bs);
 		// bom::updateBom(bs);
@@ -106,7 +107,7 @@
 	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,

--
Gitblit v1.9.3