From 128c6d51ec8c70e230dc86b100cb887ba3f0378d Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 20 Jan 2022 07:00:50 +0000
Subject: [PATCH] Secrets to macros and c string concat at compile time

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

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