From 9ae8b92ba549ab916c88e9004a95c1ed0cd16059 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 19 Jan 2022 10:48:57 +0000 Subject: [PATCH] Added loop to click trader and hit self for perf testing --- book.hpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/book.hpp b/book.hpp index 04de3a7..61a68d5 100644 --- a/book.hpp +++ b/book.hpp @@ -43,8 +43,8 @@ std::ostream& operator<<(std::ostream& out, const Level& a); struct Book { - std::unordered_map<std::string, Level> bidSide; - std::unordered_map<std::string, Level> askSide; + std::vector<Level> bidSide; + std::vector<Level> askSide; ProductTypeEnum productType; std::string product; int stationId; @@ -53,6 +53,7 @@ double aggFee; double pasFee; double broFee; + double bomPrice; Book(); Book(ProductTypeEnum productType, std::string product, int stationId, -- Gitblit v1.9.3